aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-six/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-31 11:59:22 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-31 11:59:22 +0100
commit385d2008f65994bbe486c4f6b9778c68ff644663 (patch)
tree61322a67306b5d3c4fc46848ddc7d1694e1270d1 /main/py-six/APKBUILD
parent74620c96e881cc849c347c2018c451cf0a1f418f (diff)
downloadaports-385d2008f65994bbe486c4f6b9778c68ff644663.tar.bz2
aports-385d2008f65994bbe486c4f6b9778c68ff644663.tar.xz
main/seafile: more seafile deps move to main
Diffstat (limited to 'main/py-six/APKBUILD')
-rw-r--r--main/py-six/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-six/APKBUILD b/main/py-six/APKBUILD
new file mode 100644
index 0000000000..a50166019c
--- /dev/null
+++ b/main/py-six/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=py-six
+_pkgname=six
+pkgver=1.8.0
+pkgrel=0
+pkgdesc="Python 2 and 3 compatibility library"
+url="http://pypi.python.org/pypi/six"
+arch="noarch"
+license="MIT"
+depends="python"
+depends_dev=""
+makedepends="python-dev"
+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="1626eb24cc889110c38f7e786ec69885 six-1.8.0.tar.gz"
+sha256sums="047bbbba41bac37c444c75ddfdf0573dd6e2f1fbd824e6247bb26fa7d8fa3830 six-1.8.0.tar.gz"
+sha512sums="e705c0213396d1220f02f2c6f724ddb9d95eefc38459b6d9bc547be859303bd404969965416f7d1614d2eab416d647d0b53502414cdc46bcb597675cf509b9ff six-1.8.0.tar.gz"