wok annotate pyopenssl/receipt @ rev 24246

updated perl-net-pcap again (0.18 -> 0.20)
author Hans-G?nter Theisgen
date Sun Jan 02 09:27:07 2022 +0100 (2022-01-02)
parents 907a77dcc2a7
children ac8ca9758df1
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@24055 19 wget -O - ${WGET_URL%/arch*}/releases 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 }