void-packages/srcpkgs/python-txgithub/template

23 lines
731 B
Bash

# Template file for 'python-txgithub'
pkgname=python-txgithub
version=15.0.0
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="${pkgname#*-}"
hostmakedepends="python-setuptools"
makedepends="${hostmakedepends} Twisted"
depends="Twisted"
short_desc="GitHub API client implemented using Twisted"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="MIT"
homepage="https://github.com/tomprince/txgithub"
distfiles="http://pypi.python.org/packages/source/t/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
checksum=dda229e23bcfd6d7a26646b6feb74d2721ee8db9447e4e7dd7aacf8dfc8feb99
post_install() {
# Conflicts with gist pkg:
mv ${DESTDIR}/usr/bin/gist ${DESTDIR}/usr/bin/txgist
}