From f1204d5278d3ade7c7ecf43cdfadef46bc67cd5b Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 11 Dec 2014 11:46:13 +0000 Subject: [PATCH] New package: python-txgithub-0.2.0. --- srcpkgs/python-txgithub/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python-txgithub/template diff --git a/srcpkgs/python-txgithub/template b/srcpkgs/python-txgithub/template new file mode 100644 index 00000000000..0c346f6ef1b --- /dev/null +++ b/srcpkgs/python-txgithub/template @@ -0,0 +1,22 @@ +# Template file for 'python-txgithub' +pkgname=python-txgithub +version=0.2.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 " +license="MIT" +homepage="https://github.com/tomprince/txgithub" +distfiles="http://pypi.python.org/packages/source/t/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz" +checksum=482f3d88359115c7bb2080bd49cd45b3cf41843a5d74292b58cb1eeb6d49bfc5 + +post_install() { + # Conflicts with gist pkg: + mv ${DESTDIR}/usr/bin/gist ${DESTDIR}/usr/bin/txgist +}