From da75ba53c10e2a6b3515a87f9b19c9e44235e1bd Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Sun, 24 Aug 2014 01:38:01 -0500 Subject: testing/py-certifi: new aport https://pypi.python.org/pypi/certifi Python package for providing Mozilla's CA Bundle (required by Tornadoweb) --- testing/py-certifi/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/py-certifi/APKBUILD (limited to 'testing/py-certifi') 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 +# 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" -- cgit v1.2.3