wok-next annotate python-enum34/receipt @ rev 21596
updated dos2unix (7.4.0 -> 7.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:10:06 2020 +0100 (2020-06-24) |
parents | d24f5052ae8c |
children |
rev | line source |
---|---|
al@20921 | 1 # SliTaz package receipt v2. |
al@20921 | 2 |
al@20972 | 3 ORIGIN="enum34" |
al@20921 | 4 PACKAGE="python-enum34" |
al@20972 | 5 VERSION="1.1.6" |
al@20972 | 6 CATEGORY="python" |
al@20921 | 7 SHORT_DESC="Python 3.4 Enum backported to 2.7" |
al@20921 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@20921 | 9 LICENSE="BSD" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20921 | 11 HOST_ARCH="any" |
al@20921 | 12 REPOLOGY="python:enum34" |
al@20921 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python3" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
al@20921 | 16 |
al@20921 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
al@20921 | 19 } |
al@20921 | 20 |
al@20921 | 21 genpkg_rules() { |
al@20921 | 22 copy @std |
al@20972 | 23 py=${PACKAGE%%-*} # python/python3 |
al@20972 | 24 DEPENDS="$py" |
al@20921 | 25 } |