wok-next annotate python-idna/receipt @ rev 21119

libarchive: depends on libzstd
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 14 03:39:08 2019 +0200 (2019-01-14)
parents c9a7a7b42a86
children
rev   line source
al@19763 1 # SliTaz package receipt v2.
al@19763 2
al@20972 3 ORIGIN="idna"
al@19763 4 PACKAGE="python-idna"
al@20972 5 VERSION="2.7"
al@19763 6 CATEGORY="network"
al@19763 7 SHORT_DESC="Internationalized Domain Names in Applications"
al@19763 8 MAINTAINER="al.bobylev@gmail.com"
al@19763 9 LICENSE="BSD"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 HOST_ARCH="any"
al@20885 12 REPOLOGY="python:idna"
al@19763 13
al@20972 14 BUILD_DEPENDS="python python3"
al@20972 15 SPLIT="${PACKAGE/python/python3}:3"
al@19763 16
al@20443 17 compile_rules() {
al@20989 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION || return 1
al@20989 19
al@20989 20 find $install -type f -exec chmod a-x '{}' \;
al@19763 21 }
al@19763 22
al@20443 23 genpkg_rules() {
al@19763 24 copy @std
al@20972 25 py="${PACKAGE%%-*}" # python/python3
al@20972 26 DEPENDS="$py"
al@19763 27 }