wok-next diff python-service_identity/receipt @ rev 20972
Improve Python packages: update, also provide Python3 packages where available
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 22 16:05:26 2018 +0300 (2018-09-22) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-service_identity/receipt Sat Sep 22 16:05:26 2018 +0300 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +ORIGIN="service_identity" 1.7 +PACKAGE="python-service_identity" 1.8 +VERSION="17.0.0" 1.9 +CATEGORY="python" 1.10 +SHORT_DESC="Service identity verification for pyOpenSSL" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="MIT" 1.13 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.14 +HOST_ARCH="any" 1.15 +REPOLOGY="python:service-identity" 1.16 + 1.17 +BUILD_DEPENDS="python python-attrs python-pyasn1 python-pyasn1-modules \ 1.18 +python-pyopenssl \ 1.19 +python3 python3-attrs python3-pyasn1 python3-pyasn1-modules python3-pyopenssl" 1.20 +SPLIT="${PACKAGE/python/python3}:3" 1.21 + 1.22 +compile_rules() { 1.23 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION 1.24 +} 1.25 + 1.26 +genpkg_rules() { 1.27 + copy @std 1.28 + py=${PACKAGE%%-*} # python/python3 1.29 + DEPENDS="$py $py-attrs $py-pyasn1 $py-pyasn1-modules $py-pyopenssl" 1.30 +}