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

OpenSSL 1.0.2t -> 1.0.2u: overflow bug CVE-2019-1551
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 21 08:55:46 2019 +0000 (2019-12-21)
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 }