wok annotate pyopenssl/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (5 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@2150 | 1 # SliTaz package receipt. |
pascal@2150 | 2 |
pascal@2150 | 3 PACKAGE="pyopenssl" |
Hans-G?nter@23463 | 4 VERSION="19.1.0" |
pascal@2150 | 5 CATEGORY="development" |
pascal@2150 | 6 SHORT_DESC="OpenSSL library subset wrapper for python." |
pascal@2150 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 8 LICENSE="Apache" |
slaxemulator@9463 | 9 WEB_SITE="https://launchpad.net/pyopenssl/" |
pascal@15376 | 10 |
Hans-G?nter@23463 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23463 | 12 WGET_URL="https://github.com/pyca/$PACKAGE/archive/$VERSION.tar.gz" |
Hans-G?nter@23463 | 13 |
Hans-G?nter@23463 | 14 DEPENDS="openssl python" |
Hans-G?nter@23463 | 15 BUILD_DEPENDS="openssl-dev python python-dev python-setuptools" |
pascal@2150 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@2150 | 23 # Rules to configure and make the package. |
pascal@2150 | 24 compile_rules() |
pascal@2150 | 25 { |
slaxemulator@9463 | 26 python setup.py build && python setup.py install --root=$DESTDIR |
pascal@2150 | 27 } |
pascal@2150 | 28 |
pascal@2150 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2150 | 30 genpkg_rules() |
pascal@2150 | 31 { |
Hans-G?nter@23463 | 32 cp -a $install/usr $fs |
pascal@2150 | 33 } |