wok-next view python-packaging/receipt @ rev 21286

updated gnuradio (3.7.8 -> 3.8.0.0)
author Hans-G?nter Theisgen
date Sun Dec 08 11:42:09 2019 +0100 (2019-12-08)
parents c9a7a7b42a86
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="packaging"
4 PACKAGE="python-packaging"
5 VERSION="18.0"
6 CATEGORY="python"
7 SHORT_DESC="Core utilities for Python packages"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="BSD"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:packaging"
14 TARBALL="$ORIGIN-$VERSION.tar.gz"
15 WGET_URL="https://pypi.io/packages/source/${ORIGIN:0:1}/$ORIGIN/$TARBALL"
17 BUILD_DEPENDS="python python-pyparsing python-six \
18 python3 python3-pyparsing python3-six"
19 SPLIT="${PACKAGE/python/python3}:3"
21 compile_rules() {
22 python$SET setup.py install --root=$install
24 find $install -type f -name '*.pyc' -delete
25 }
27 genpkg_rules() {
28 copy @std
29 py="${PACKAGE%%-*}" # python/python3
30 DEPENDS="$py $py-pyparsing $py-six"
31 }