aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-enum34
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-15 14:14:39 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-15 14:14:39 +0200
commite83efe677ab545847a0d8b880ebdf4da5c089b0a (patch)
tree53c3bb4da3e8ff9cc7b4d10b125a973dac32e476 /main/py-enum34
parent0cacdd740303ce9aa600ef2ec3838841d6bee08e (diff)
downloadaports-e83efe677ab545847a0d8b880ebdf4da5c089b0a.tar.bz2
aports-e83efe677ab545847a0d8b880ebdf4da5c089b0a.tar.xz
main/beets: move to main including deps
Diffstat (limited to 'main/py-enum34')
-rw-r--r--main/py-enum34/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-enum34/APKBUILD b/main/py-enum34/APKBUILD
new file mode 100644
index 0000000000..3f9d42f1af
--- /dev/null
+++ b/main/py-enum34/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=py-enum34
+pkgver=1.0
+pkgrel=0
+pkgdesc="Python 3.4 Enum backported"
+url="http://pypi.python.org/pypi/enum34"
+arch="noarch"
+license="BSD"
+depends="python"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="https://pypi.python.org/packages/source/e/enum34/enum34-$pkgver.tar.gz"
+
+_builddir="$srcdir"/enum34-$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="9d57f5454c70c11707998ea26c1b0a7c enum34-1.0.tar.gz"
+sha256sums="384b593703b057e0b19d90ff62844b1c8796da2e6bd9957d6ce9119bdeade635 enum34-1.0.tar.gz"
+sha512sums="8eefcb42449927e419c87016d534b1fb335a85daa49c7ae3cc4549bc92dbb6d1a02158542a8cba1fbff4bbad2c4830c6f465b13e8d5ec6d2aae5752efecdf1d3 enum34-1.0.tar.gz"