aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2016-07-06 10:04:24 +0000
committerJakub Jirutka <jakub@jirutka.cz>2016-07-06 18:37:10 +0200
commite47906aa357ff8aec33f68412def5b6ed37919fb (patch)
treee6a372f32df4a62a2fd32be357d0f0c86856276d /testing
parent45dddefb084f4803cfea061d512fb6013ddf56b6 (diff)
downloadaports-e47906aa357ff8aec33f68412def5b6ed37919fb.tar.bz2
aports-e47906aa357ff8aec33f68412def5b6ed37919fb.tar.xz
testing/py-pymysql: new aport
https://pypi.python.org/pypi/PyMySQL Pure Python MySQL Client
Diffstat (limited to 'testing')
-rw-r--r--testing/py-pymysql/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py-pymysql/APKBUILD b/testing/py-pymysql/APKBUILD
new file mode 100644
index 0000000000..8214efdb23
--- /dev/null
+++ b/testing/py-pymysql/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Thomas Boerger <thomas@webhippie.de>
+# Maintainer: Thomas Boerger <thomas@webhippie.de>
+pkgname=py-pymysql
+_pkgname=PyMySQL
+pkgver=0.7.5
+pkgrel=0
+pkgdesc="Pure Python MySQL Client"
+url="https://pypi.python.org/pypi/PyMySQL"
+arch="noarch"
+license="MIT"
+depends="python"
+makedepends="python-dev py-setuptools"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="a87650294d868d6fc7dc81ac4248f873 py-pymysql-0.7.5.tar.gz"
+sha256sums="5006c7cf25cdf56f0c01ab21b8255ae5753464678c84ea8d00444667cc7a34ef py-pymysql-0.7.5.tar.gz"
+sha512sums="f7eab00c2507542794153337d6b26daa5109ebc5dc171f186d72a48d7c43cbea1fbf8fd8110c40529b521635b9a1272027c0f69ea566d4e7637631f1c172b7d4 py-pymysql-0.7.5.tar.gz"