Date: Wednesday, December 14, 2022 @ 12:23:28
  Author: felixonmars
Revision: 1359013

upgpkg: python-tldextract 3.4.0-2: remove pip from makedep

Modified:
  python-tldextract/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-14 12:21:43 UTC (rev 1359012)
+++ PKGBUILD    2022-12-14 12:23:28 UTC (rev 1359013)
@@ -2,13 +2,13 @@
 
 pkgname=python-tldextract
 pkgver=3.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Accurately separate the TLD from the registered domain and subdomains 
of a URL, using the Public Suffix List"
 arch=('any')
 url="https://github.com/john-kurkowski/tldextract";
 license=('BSD')
 depends=('python-idna' 'python-requests' 'python-requests-file' 
'python-filelock')
-makedepends=('python-setuptools-scm' 'python-pip')
+makedepends=('python-setuptools-scm')
 checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-pylint' 
'python-responses'
               'python-isort')
 
source=("https://pypi.io/packages/source/t/tldextract/tldextract-$pkgver.tar.gz";)
@@ -23,8 +23,7 @@
 
 check() {
   cd tldextract-$pkgver
-  # tldextract/_version.py is generated by setuptools-scm, and will fail 
pylint here.
-  python -m pytest --ignore build --ignore tldextract/_version.py
+  python -m pytest --ignore build
 }
 
 package() {
@@ -31,7 +30,7 @@
   cd tldextract-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }
 
 # vim:set sw=2 et:

Reply via email to