wok-current view python3-setuptools/receipt @ rev 25737
Add wireshark and deps, rebuild ntfs-3g with posix acls
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jan 28 15:25:33 2025 +0000 (7 months ago) |
parents | a23978bfa665 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python3-setuptools"
4 VERSION="46.1.3"
5 CATEGORY="development"
6 SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/setuptools/"
10 SOURCE="setuptools"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/pypa/$SOURCE/archive/v$VERSION.tar.gz"
13 HOST_ARCH="i486 x86_64"
15 DEPENDS="python3 expat"
16 BUILD_DEPENDS="python3 python3-dev expat-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python3 bootstrap.py &&
28 python3 setup.py build &&
29 python3 setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }