[arch-commits] Commit in python-tldextract/trunk (PKGBUILD)

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


    Date: Thursday, August 6, 2020 @ 04:44:01
  Author: felixonmars
Revision: 670463

upgpkg: python-tldextract 2.2.3-1

Modified:
  python-tldextract/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-06 04:40:14 UTC (rev 670462)
+++ PKGBUILD	2020-08-06 04:44:01 UTC (rev 670463)
@@ -1,20 +1,19 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-tldextract
-pkgver=2.2.2
+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' 'python-setuptools')
-checkdepends=('python-pytest-runner' 'python-pytest-mock' 'python-pytest-pylint' 'python-responses')
+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=('21c1098e62056fd5d68c0bf94a151be4224055eabf7973fee85d3632c0b509b454c5f990bd80db3d62fb5ac64b0592a3d3db62445fe5950f3bf9be75aa488ec1')
+sha512sums=('bc8b00723db7a8908f733f317fdf8ea16411262b93e1b3332446be379bfdeec67efcca9b032f22cada7978c9be44890c246730650aeaa786f240f28a2b57233f')
 
-prepare() {
-  export LC_CTYPE=en_US.UTF-8
-}
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 
 build() {
   cd tldextract-$pkgver
@@ -23,7 +22,7 @@
 
 check() {
   cd tldextract-$pkgver
-  python setup.py pytest --addopts '--ignore build'
+  python -m pytest --ignore build
 }
 
 package() {



More information about the arch-commits mailing list