1
0
forked from ports/contrib

python3-idna: always use python3-flit-core

This commit is contained in:
Tim Biermann 2023-04-02 19:30:53 +02:00
parent f2e9b053ef
commit aa9903f05c
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 14 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF339L8U8Z83izux0NfwRaFJO4GRQZDFhehpLVnpNA3szRTwqJCLSGMfEj4i6PKqEN3YQhxbCGoVAwWFCdLB33zQU= RWSagIOpLGJF314UgVYPy02FLsibKm8sJnK0ixUAfbUi9e8zWdv5n+kTclYWpFTiBcIi0M3j16iydK/U3+ky6Q8p8I0Goa06CwU=
SHA256 (Pkgfile) = 7bf29b078470a56188c8a03b0fb722d2075139b1780d58d0fa307fc6425fb59b SHA256 (Pkgfile) = 06ed26a59a627ae14b01a93d4f757b4cde0c251f9fa6247a62891ce4b6cffea9
SHA256 (.footprint) = 82226d6266218bbaeef5ee8a90c1e04d0643697f89b7d0fc52e2fdd281dfce2c SHA256 (.footprint) = 82226d6266218bbaeef5ee8a90c1e04d0643697f89b7d0fc52e2fdd281dfce2c
SHA256 (idna-3.4.tar.gz) = 814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 SHA256 (idna-3.4.tar.gz) = 814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4

View File

@ -1,8 +1,7 @@
# Description: Internationalized Domain Names in Applications (IDNA). # Description: Internationalized Domain Names in Applications (IDNA).
# URL: https://github.com/kjd/idna # URL: https://github.com/kjd/idna
# Maintainer: Danny Rawlins, crux at romster dot me # Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-pip # Depends on: python3-build python3-flit-core python3-installer
# Optional: python3-flit-core
name=python3-idna name=python3-idna
version=3.4 version=3.4
@ -12,14 +11,6 @@ source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${
build() { build() {
cd ${name#*-}-$version cd ${name#*-}-$version
_pyver=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])') /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
if prt-get isinst python3-flit-core; then
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
else
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --compile --no-deps idna==$version
fi
rm -rf $PKG/usr/lib/python$_pyver/site-packages/idna-$version.dist-info/{INSTALLER,REQUESTED}
} }