[arch-commits] Commit in python-tldextract/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Nov 15 09:04:33 UTC 2019


    Date: Friday, November 15, 2019 @ 09:04:32
  Author: felixonmars
Revision: 528980

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-15 09:04:17 UTC (rev 528979)
+++ PKGBUILD	2019-11-15 09:04:32 UTC (rev 528980)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-tldextract
-pkgver=2.2.1
-pkgrel=3
-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-setuptools')
-checkdepends=('python-pytest-runner' 'python-pytest-mock' 'python-responses')
-source=("https://pypi.io/packages/source/t/tldextract/tldextract-$pkgver.tar.gz")
-sha512sums=('db4f14e514c0e68f85f28226343d7ec91ceea2843ee01c9a2950f0972f365bf343640e07cfb118aff52bab975719be71d179fc6b3bd4da7eb62a47b62747cc0b')
-
-prepare() {
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd tldextract-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd tldextract-$pkgver
-  python setup.py pytest
-}
-
-package() {
-  cd tldextract-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  # use the snapshot version, because generating a new one requires Internet access and root permission
-  ln -s .tld_set_snapshot "$pkgdir"/usr/lib/python3.8/site-packages/tldextract/.tld_set
-}
-
-# vim:set sw=2 et:

Copied: python-tldextract/repos/community-any/PKGBUILD (from rev 528979, python-tldextract/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-15 09:04:32 UTC (rev 528980)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-tldextract
+pkgver=2.2.2
+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-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-mock' 'python-pytest-pylint' 'python-responses')
+source=("https://pypi.io/packages/source/t/tldextract/tldextract-$pkgver.tar.gz")
+sha512sums=('21c1098e62056fd5d68c0bf94a151be4224055eabf7973fee85d3632c0b509b454c5f990bd80db3d62fb5ac64b0592a3d3db62445fe5950f3bf9be75aa488ec1')
+
+prepare() {
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd tldextract-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd tldextract-$pkgver
+  python setup.py pytest --addopts '--ignore build'
+}
+
+package() {
+  cd tldextract-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  # use the snapshot version, because generating a new one requires Internet access and root permission
+  ln -s .tld_set_snapshot "$pkgdir"/usr/lib/python3.8/site-packages/tldextract/.tld_set
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list