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

Felix Yan felixonmars at archlinux.org
Thu Aug 6 04:44:15 UTC 2020


    Date: Thursday, August 6, 2020 @ 04:44:14
  Author: felixonmars
Revision: 670464

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-06 04:44:01 UTC (rev 670463)
+++ PKGBUILD	2020-08-06 04:44:14 UTC (rev 670464)
@@ -1,39 +0,0 @@
-# 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:

Copied: python-tldextract/repos/community-any/PKGBUILD (from rev 670463, python-tldextract/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-06 04:44:14 UTC (rev 670464)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-tldextract
+pkgver=2.2.3
+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')
+makedepends=('python-setuptools-scm' 'python-pip')
+checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-pylint' 'python-responses')
+source=("https://pypi.io/packages/source/t/tldextract/tldextract-$pkgver.tar.gz")
+sha512sums=('bc8b00723db7a8908f733f317fdf8ea16411262b93e1b3332446be379bfdeec67efcca9b032f22cada7978c9be44890c246730650aeaa786f240f28a2b57233f')
+
+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 -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