[arch-commits] Commit in python-tldextract/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Oct 22 09:49:56 UTC 2020
Date: Thursday, October 22, 2020 @ 09:49:55
Author: felixonmars
Revision: 728885
archrelease: copy trunk to community-any
Added:
python-tldextract/repos/community-any/PKGBUILD
(from rev 728884, python-tldextract/trunk/PKGBUILD)
Deleted:
python-tldextract/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-22 09:49:46 UTC (rev 728884)
+++ PKGBUILD 2020-10-22 09:49:55 UTC (rev 728885)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-tldextract
-pkgver=3.0.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')
-source=("https://pypi.io/packages/source/t/tldextract/tldextract-$pkgver.tar.gz")
-sha512sums=('8a5663880b7470e7bfa4440c56da4e22992f8326ead207dea21ac2c02f2361b7e1785b4cb6bae25ccbcdc154f491dda58fa4dc2075e4fa15f69ce0e54ff2419a')
-
-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:
Copied: python-tldextract/repos/community-any/PKGBUILD (from rev 728884, python-tldextract/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-22 09:49:55 UTC (rev 728885)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-tldextract
+pkgver=3.0.1
+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')
+source=("https://pypi.io/packages/source/t/tldextract/tldextract-$pkgver.tar.gz")
+sha512sums=('1179a6110c30afbcb6540e24007382821ab18b78a5f2a26d3211838dece9ea2b6fe607ae9a5800974bd1be50babe4c0cec5850066f9b92e166024bd430e41bfb')
+
+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