aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-certifi
diff options
context:
space:
mode:
authorPeter Bui <pnutzh4x0r@gmail.com>2015-07-20 11:30:32 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-21 06:10:50 +0000
commitd383d816c8f77056176df6d069afc916bc996739 (patch)
treea310c792e1e56dbf7c24e5ed2dc4a4e1d6b1232e /main/py-certifi
parenta6249e090143fcf10d1927d76105cfc44d5b24ee (diff)
downloadaports-d383d816c8f77056176df6d069afc916bc996739.tar.bz2
aports-d383d816c8f77056176df6d069afc916bc996739.tar.xz
main/py-certifi: move from testing
Diffstat (limited to 'main/py-certifi')
-rw-r--r--main/py-certifi/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-certifi/APKBUILD b/main/py-certifi/APKBUILD
new file mode 100644
index 0000000000..722bbc2a0e
--- /dev/null
+++ b/main/py-certifi/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
+pkgname=py-certifi
+_pkgname=certifi
+pkgver=2015.04.28
+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="12c7c3a063b2ff97a0f8291d8de41e8c certifi-2015.04.28.tar.gz"
+sha256sums="99785e6cf715cdcde59dee05a676e99f04835a71e7ced201ca317401c322ba96 certifi-2015.04.28.tar.gz"
+sha512sums="c63287d9e0814226a1eb6ea0f6d1a53f0fd88995c0c2541e404efd0c70471fae01cb56ecca5425c6754342c28c96948ba912bd860bf2d336bba95a0b751f8f99 certifi-2015.04.28.tar.gz"