[arch-commits] Commit in dns-lexicon/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Sun Jul 18 15:54:24 UTC 2021
Date: Sunday, July 18, 2021 @ 15:54:24
Author: jelle
Revision: 978508
archrelease: copy trunk to community-any
Added:
dns-lexicon/repos/community-any/PKGBUILD
(from rev 978507, dns-lexicon/trunk/PKGBUILD)
Deleted:
dns-lexicon/repos/community-any/PKGBUILD
----------+
PKGBUILD | 111 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-18 15:54:18 UTC (rev 978507)
+++ PKGBUILD 2021-07-18 15:54:24 UTC (rev 978508)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=dns-lexicon
-pkgver=3.6.1
-pkgrel=1
-pkgdesc="Manipulate DNS records on various DNS providers in a standardized/agnostic way"
-arch=('any')
-url="https://github.com/AnalogJ/lexicon"
-license=('MIT')
-depends=('python-beautifulsoup4' 'python-cryptography' 'python-future' 'python-yaml'
- 'python-requests' 'python-tldextract')
-makedepends=('python-dephell')
-optdepends=('python-pynamecheap: for Namecheap support'
- 'python-boto3: for Route53 support'
- 'python-softlayer: for SoftLayer support'
- 'python-xmltodict: for Plesk support'
- 'python-localzone: for localzone support'
- 'python-zeep: for Gransy support')
-checkdepends=('python-pytest-runner' 'python-vcrpy' 'python-softlayer' 'python-boto3' 'python-mock'
- 'python-pynamecheap' 'python-zeep' 'python-xmltodict' 'python-beautifulsoup4'
- 'python-localzone' 'python-html5lib' 'python-dnspython' 'bind-tools')
-source=("https://github.com/AnalogJ/lexicon/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('6ec7d61857e6da8925fc0c1ec27957bd5d2c53c35f2af3956101854a3c40aec1f25a9b25bffb1ded018ea3006157af4a64b3844edf8baed7a12361e9a9a43a92')
-
-prepare() {
- cd lexicon-$pkgver
-
- # Wait for a proper fix
- sed -i 's/cache_file=TLDEXTRACT_CACHE_FILE, //' lexicon/client.py
- sed -i 's/tldextract = "\^2"/tldextract = ">=2"/' pyproject.toml
-
- # poetry-generated setup.py is badly broken in several ways, including
- # distribution of tests in the built package as well as using distutils for
- # bad metadata. See https://github.com/sdispater/poetry/issues/866
- dephell deps convert --from pyproject.toml --to setup.py
-}
-
-build() {
- cd lexicon-$pkgver
- python setup.py build
-}
-
-check() {
- cd lexicon-$pkgver
- python setup.py pytest --addopts '--deselect lexicon/tests/providers/test_transip.py'
-}
-
-package() {
- cd lexicon-$pkgver
- python setup.py install -O1 --prefix=/usr --root="$pkgdir"
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: dns-lexicon/repos/community-any/PKGBUILD (from rev 978507, dns-lexicon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-18 15:54:24 UTC (rev 978508)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dns-lexicon
+pkgver=3.6.1
+pkgrel=2
+pkgdesc="Manipulate DNS records on various DNS providers in a standardized/agnostic way"
+arch=('any')
+url="https://github.com/AnalogJ/lexicon"
+license=('MIT')
+depends=('python-beautifulsoup4' 'python-cryptography' 'python-future' 'python-yaml'
+ 'python-requests' 'python-tldextract')
+makedepends=('python-dephell')
+optdepends=('python-pynamecheap: for Namecheap support'
+ 'python-boto3: for Route53 support'
+ 'python-softlayer: for SoftLayer support'
+ 'python-xmltodict: for Plesk support'
+ 'python-localzone: for localzone support'
+ 'python-zeep: for Gransy support')
+checkdepends=('python-pytest-runner' 'python-vcrpy' 'python-softlayer' 'python-boto3' 'python-mock'
+ 'python-pynamecheap' 'python-zeep' 'python-xmltodict' 'python-beautifulsoup4'
+ 'python-localzone' 'python-html5lib' 'python-dnspython' 'bind-tools')
+source=("https://github.com/AnalogJ/lexicon/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('6ec7d61857e6da8925fc0c1ec27957bd5d2c53c35f2af3956101854a3c40aec1f25a9b25bffb1ded018ea3006157af4a64b3844edf8baed7a12361e9a9a43a92')
+
+prepare() {
+ cd lexicon-$pkgver
+
+ # Wait for a proper fix
+ sed -i 's/cache_file=TLDEXTRACT_CACHE_FILE, //' lexicon/client.py
+ sed -i 's/tldextract = "\^2"/tldextract = ">=2"/' pyproject.toml
+
+ # poetry-generated setup.py is badly broken in several ways, including
+ # distribution of tests in the built package as well as using distutils for
+ # bad metadata. See https://github.com/sdispater/poetry/issues/866
+ dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+ cd lexicon-$pkgver
+ export PYTHONHASHSEED=0
+ python setup.py build
+}
+
+check() {
+ cd lexicon-$pkgver
+ python setup.py pytest --addopts '--deselect lexicon/tests/providers/test_transip.py'
+}
+
+package() {
+ cd lexicon-$pkgver
+ python setup.py install -O1 --prefix=/usr --root="$pkgdir"
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list