aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-04-17 18:28:34 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-05-08 09:19:09 +0000
commitbe52b8d59822107c65c3d0a2f8feca3d14c9271b (patch)
treeca479529e6da86e82007ad5fdecc5c954569951e /main
parent7726d2e1723fda9c7d3ea309fb018442e8e697ca (diff)
downloadaports-be52b8d59822107c65c3d0a2f8feca3d14c9271b.tar.bz2
aports-be52b8d59822107c65c3d0a2f8feca3d14c9271b.tar.xz
main/py-certify: clarify license, improve abuild
Diffstat (limited to 'main')
-rw-r--r--main/py-certifi/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/main/py-certifi/APKBUILD b/main/py-certifi/APKBUILD
index 7abd3eff0f..13d4e63b29 100644
--- a/main/py-certifi/APKBUILD
+++ b/main/py-certifi/APKBUILD
@@ -6,25 +6,23 @@ pkgrel=0
pkgdesc="Python package for providing Mozilla's CA Bundle"
url="https://pypi.python.org/pypi/certifi"
arch="noarch"
-license="ISC"
+license="MPL-2.0"
depends=""
makedepends="python2-dev python3-dev py-setuptools"
-subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
+subpackages="py2-$_pkgname:_py2 py3-$_pkgname:_py3"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
check() {
cd "$builddir"
-
python2 setup.py check
python3 setup.py check
}
build() {
cd "$builddir"
-
- python2 setup.py build || return 1
- python3 setup.py build || return 1
+ python2 setup.py build
+ python3 setup.py build
}
package() {