aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorPeter Bui <pnutzh4x0r@gmail.com>2014-08-24 01:38:01 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-04 08:53:14 +0000
commitda75ba53c10e2a6b3515a87f9b19c9e44235e1bd (patch)
tree11a6e774fad518c1a3919fe81e6ba3a916b62a2f /testing
parent7ee17b81105859fa8d112cb498092cf159bfe294 (diff)
downloadaports-da75ba53c10e2a6b3515a87f9b19c9e44235e1bd.tar.bz2
aports-da75ba53c10e2a6b3515a87f9b19c9e44235e1bd.tar.xz
testing/py-certifi: new aport
https://pypi.python.org/pypi/certifi Python package for providing Mozilla's CA Bundle (required by Tornadoweb)
Diffstat (limited to 'testing')
-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"