Date: Tuesday, February 22, 2022 @ 07:18:24 Author: felixonmars Revision: 1135747
archrelease: copy trunk to community-any Added: python-tldextract/repos/community-any/PKGBUILD (from rev 1135746, python-tldextract/trunk/PKGBUILD) Deleted: python-tldextract/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-22 07:18:15 UTC (rev 1135746) +++ PKGBUILD 2022-02-22 07:18:24 UTC (rev 1135747) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-tldextract -pkgver=3.1.2 -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-filelock') -makedepends=('python-setuptools-scm' 'python-pip') -checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-pylint' 'python-responses' - 'python-isort') -source=("https://pypi.io/packages/source/t/tldextract/tldextract-$pkgver.tar.gz") -sha512sums=('2c2340a9142d49aa7c0db71b5a7fb1a63e19354a5da8edd7de923e55c8ec03d8a8551f4710c66d6d1aece1d0d78701229ef5ed2ed49bcce44972b7b96747bd77') - -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - -build() { - cd tldextract-$pkgver - python setup.py build -} - -check() { - cd tldextract-$pkgver - # tldextract/_version.py is generated by setuptools-scm, and will fail pylint here. - python -m pytest --ignore build --ignore tldextract/_version.py -} - -package() { - cd tldextract-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set sw=2 et: Copied: python-tldextract/repos/community-any/PKGBUILD (from rev 1135746, python-tldextract/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-22 07:18:24 UTC (rev 1135747) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-tldextract +pkgver=3.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-filelock') +makedepends=('python-setuptools-scm' 'python-pip') +checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-pylint' 'python-responses' + 'python-isort') +source=("https://pypi.io/packages/source/t/tldextract/tldextract-$pkgver.tar.gz") +sha512sums=('4e0731792793eb0a6d0da8387d15e8b9de17f20108361230703fd9f66f2aaad6260073b611e27135e571b1899844b271f3dae4e77122186cc78fbb05f3b3f237') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd tldextract-$pkgver + python setup.py build +} + +check() { + cd tldextract-$pkgver + # tldextract/_version.py is generated by setuptools-scm, and will fail pylint here. + python -m pytest --ignore build --ignore tldextract/_version.py +} + +package() { + cd tldextract-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set sw=2 et: