SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "py3k-cryptography"

# SliTaz package receipt.

PACKAGE="py3k-cryptography"
VERSION="3.3.2"
CATEGORY="development"
SHORT_DESC="Python library exposing cryptographic recipes and primitives."
MAINTAINER="maintainer@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://cryptography.io/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/pyca/cryptography/archive/$VERSION.tar.gz"

DEPENDS="py3k py3k-asn1crypto py3k-six"
BUILD_DEPENDS="openssl-dev py3k-cffi py3k-cparser py3k-dev
    py3k-setuptools_scm"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python3    setup.py    \
        install        \
        --prefix=/usr    \
        --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
#    cp -a $install/usr $fs/
    cook_copy_folders    lib
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)