[arch-commits] Commit in dns-lexicon/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Oct 27 21:24:45 UTC 2020


    Date: Tuesday, October 27, 2020 @ 21:24:45
  Author: felixonmars
Revision: 735178

archrelease: copy trunk to community-any

Added:
  dns-lexicon/repos/community-any/PKGBUILD
    (from rev 735177, dns-lexicon/trunk/PKGBUILD)
Deleted:
  dns-lexicon/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  106 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 55 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-27 21:24:28 UTC (rev 735177)
+++ PKGBUILD	2020-10-27 21:24:45 UTC (rev 735178)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=dns-lexicon
-pkgver=3.4.3
-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' 'python-setuptools')
-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=('18aabeca204c5aff30807984123a97df81859eff3ff90b376bf6356117daacb0910180c3b1c454993ad090633aeb0a618d68cd6740934c7b9ba4d229d1762378')
-
-prepare() {
-  cd lexicon-$pkgver
-
-  # 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 735177, dns-lexicon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-27 21:24:45 UTC (rev 735178)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dns-lexicon
+pkgver=3.4.4
+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' 'python-setuptools')
+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=('a5459fcf671b8cf6e7c3e189f5c2791dea906ac8d94020347a4f147ef08f0afaef254a93b3ac503a88e9f5edd4da75bb5692e00c51c44a5f68700559614e8eee')
+
+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:



More information about the arch-commits mailing list