Date: Wednesday, December 14, 2022 @ 12:23:38
  Author: felixonmars
Revision: 1359014

archrelease: copy trunk to community-any

Added:
  python-tldextract/repos/community-any/PKGBUILD
    (from rev 1359013, python-tldextract/trunk/PKGBUILD)
Deleted:
  python-tldextract/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-14 12:23:28 UTC (rev 1359013)
+++ PKGBUILD    2022-12-14 12:23:38 UTC (rev 1359014)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-tldextract
-pkgver=3.4.0
-pkgrel=1
-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')
-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";)
-sha512sums=('6cd6b079c35af62e4f8da67c687630471d1a57ebfab7d982abe411b03fb6673dd238a1f676de5624d13bd2eb42b91ae0a97708e33579217916d88bca4db218db')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd tldextract-$pkgver
-  python setup.py build
-}
-
-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
-}
-
-package() {
-  cd tldextract-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set sw=2 et:

Copied: python-tldextract/repos/community-any/PKGBUILD (from rev 1359013, 
python-tldextract/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-14 12:23:38 UTC (rev 1359014)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-tldextract
+pkgver=3.4.0
+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')
+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";)
+sha512sums=('6cd6b079c35af62e4f8da67c687630471d1a57ebfab7d982abe411b03fb6673dd238a1f676de5624d13bd2eb42b91ae0a97708e33579217916d88bca4db218db')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd tldextract-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd tldextract-$pkgver
+  python -m pytest --ignore build
+}
+
+package() {
+  cd tldextract-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set sw=2 et:

Reply via email to