From be52b8d59822107c65c3d0a2f8feca3d14c9271b Mon Sep 17 00:00:00 2001 From: prspkt Date: Tue, 17 Apr 2018 18:28:34 +0000 Subject: main/py-certify: clarify license, improve abuild --- main/py-certifi/APKBUILD | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'main/py-certifi') 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() { -- cgit v1.2.3