aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-setuptools-git
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-06 21:27:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-22 08:23:16 +0000
commitb71b21141357a1399d3c23b99cb2e9a4d0ce01ce (patch)
tree7ee9a9b7b89600078950db403b46a04e98348ba2 /testing/py-setuptools-git
parent0702a49d78b56a1be18cb6266753030104b9ba44 (diff)
downloadaports-b71b21141357a1399d3c23b99cb2e9a4d0ce01ce.tar.bz2
aports-b71b21141357a1399d3c23b99cb2e9a4d0ce01ce.tar.xz
testing/py-setuptools-git: new aport
Setuptools plugin for Git https://github.com/wichert/setuptools-git
Diffstat (limited to 'testing/py-setuptools-git')
-rw-r--r--testing/py-setuptools-git/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-setuptools-git/APKBUILD b/testing/py-setuptools-git/APKBUILD
new file mode 100644
index 0000000000..9ca1d09217
--- /dev/null
+++ b/testing/py-setuptools-git/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-setuptools-git
+_pkgname=setuptools-git
+pkgver=1.0
+pkgrel=0
+pkgdesc="Setuptools plugin for Git"
+url="https://github.com/wichert/setuptools-git"
+arch="noarch"
+license="BSD"
+depends="python git"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="de63b541a10c2b83caa478c687458b16 setuptools-git-1.0.tar.gz"
+sha256sums="eb75844bd56bd33f7c461246cdf99e6fa50b6a8dde2c56c967db54cd47b51af4 setuptools-git-1.0.tar.gz"
+sha512sums="be83dcbdff84de808a3760710ea2bcffecae2ef1fcccb67598b29e273a47d56d689dc97bd8f0889df5f4181367314a680e03030ef21d7c05dd3126789e344fa8 setuptools-git-1.0.tar.gz"