aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-certifi
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-certifi')
-rw-r--r--testing/py-certifi/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-certifi/APKBUILD b/testing/py-certifi/APKBUILD
new file mode 100644
index 0000000000..ab09e343dc
--- /dev/null
+++ b/testing/py-certifi/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
+# Maintainer:
+pkgname=py-certifi
+_pkgname=certifi
+pkgver=14.05.14
+pkgrel=0
+pkgdesc="Python package for providing Mozilla's CA Bundle"
+url="https://pypi.python.org/pypi/certifi"
+arch="noarch"
+license="ISC"
+depends="python"
+depends_dev="py-setuptools"
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="https://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" --optimize=1 || return 1
+}
+
+md5sums="315ea4e50673a16ab047099f816fd32a certifi-14.05.14.tar.gz"
+sha256sums="1e1bcbacd6357c151ae37cf0290dcc809721d32ce21fd6b7339568f3ddef1b69 certifi-14.05.14.tar.gz"
+sha512sums="5edba0cc432c27212e31085fb3c2f2ded6fa177d716116111517c25b980d9fc206a9a6d47e2c001762e951ff50203b269d0eb245a039df20188b1136f3b700b2 certifi-14.05.14.tar.gz"