From 04589c449a87e60d7e1d81f5b74e2b51154132ca Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sun, 6 Aug 2023 22:25:55 +0200 Subject: [PATCH] python3-hyperlink: adopted port --- python3-hyperlink/.signature | 4 ++-- python3-hyperlink/Pkgfile | 15 +++++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/python3-hyperlink/.signature b/python3-hyperlink/.signature index dcacc5b36..f47575863 100644 --- a/python3-hyperlink/.signature +++ b/python3-hyperlink/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3xxucJwCqcb6zXtitbgeVhCfql+eyBdr60DtTyuKAm+pHj7UoMGJECCjfbm/n6he0YCIfsfX3WAjPInuNAKzwwI= -SHA256 (Pkgfile) = 998f88f0513a1cd49432ecd18a78a604a7ec0bae921fe326ff0e1d5298bc39e9 +RWSagIOpLGJF38gErQ3QkOG3SG9b0zKR8mzWN6j5NGafzkpSDTfoTtNWHsknZ9y+dVE4Dm6WHiab3mhL4ZiIZNuof0E+0R0S5Qs= +SHA256 (Pkgfile) = 511d0f13a9e3caa632194b9cae1b805a67f36ef37f1568516c5539de6e458030 SHA256 (.footprint) = 38f555e7da9f196b752242eafa301675bafa0ec37ef8c6903f0c470e9a6b1607 SHA256 (hyperlink-21.0.0.tar.gz) = 427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b diff --git a/python3-hyperlink/Pkgfile b/python3-hyperlink/Pkgfile index 88cb117df..9a88ebc1f 100644 --- a/python3-hyperlink/Pkgfile +++ b/python3-hyperlink/Pkgfile @@ -1,15 +1,18 @@ # Description: A featureful, correct URL for Python. # URL: https://pypi.python.org/pypi/hyperlink -# Maintainer: Danny Rawlins, crux at romster dot me -# Depends on: python3-setuptools +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: python3-setuptools python3-idna name=python3-hyperlink version=21.0.0 release=1 -source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz) +source=(https://pypi.org/packages/source/h/hyperlink/hyperlink-$version.tar.gz) build() { - cd ${name#*-}-$version - /usr/bin/python3 setup.py build - /usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 + cd hyperlink-$version + + /usr/bin/python3 setup.py build + /usr/bin/python3 setup.py install --prefix=/usr \ + --root=$PKG \ + --skip-build }