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

Felix Yan felixonmars at archlinux.org
Wed Nov 11 17:09:46 UTC 2020


    Date: Wednesday, November 11, 2020 @ 17:09:45
  Author: felixonmars
Revision: 751138

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 17:09:34 UTC (rev 751137)
+++ PKGBUILD	2020-11-11 17:09:45 UTC (rev 751138)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=dns-lexicon
-pkgver=3.4.5
-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' '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=('d7fb446917a5710e5a304c81640a06e5934db627255aed1643193e1c922abac52d6b01dc82a412bd56f23af7e57b39b356deaf34765da3702e44e7abda586fca')
-
-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-staging-any/PKGBUILD (from rev 751137, dns-lexicon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 17:09:45 UTC (rev 751138)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dns-lexicon
+pkgver=3.5.0
+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=('d8dab2fe145caca6b0df85282804f4c37fd28b490b9057d8cb06f858e5fa31d590198e924775aaf72b63a0d7c8ca615b78b1b72b77430af0ce80f16a03dcbd90')
+
+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