[arch-commits] Commit in python-tldextract/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Oct 27 17:21:23 UTC 2017
Date: Friday, October 27, 2017 @ 17:21:22
Author: felixonmars
Revision: 264600
archrelease: copy trunk to community-any
Added:
python-tldextract/repos/community-any/PKGBUILD
(from rev 264599, python-tldextract/trunk/PKGBUILD)
Deleted:
python-tldextract/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-27 17:20:59 UTC (rev 264599)
+++ PKGBUILD 2017-10-27 17:21:22 UTC (rev 264600)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-tldextract
-pkgver=2.1.0
-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')
-source=("https://pypi.io/packages/source/t/tldextract/tldextract-$pkgver.tar.gz")
-sha512sums=('484141e8af67f5a5df608d5d3da972f25d73a5a28a88ca4ba75dac5dc63614efe2b259629893d316617126d230b6c7acdf618b2c73e561454965e6fb748c3b9d')
-
-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.6/site-packages/tldextract/.tld_set
-}
-
-# vim:set sw=2 et:
Copied: python-tldextract/repos/community-any/PKGBUILD (from rev 264599, python-tldextract/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-10-27 17:21:22 UTC (rev 264600)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-tldextract
+pkgver=2.2.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-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-mock' 'python-responses')
+source=("https://pypi.io/packages/source/t/tldextract/tldextract-$pkgver.tar.gz")
+sha512sums=('25a8c3d2ce27bd54dea211fb3999caeb487840172a8b707b43e6c27729f247306cc0596f156e70f3039771f84f92112921c17873128d4597dbc8785e2d4de8d3')
+
+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.6/site-packages/tldextract/.tld_set
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list