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

Felix Yan felixonmars at archlinux.org
Thu Dec 24 11:47:29 UTC 2020


    Date: Thursday, December 24, 2020 @ 11:47:29
  Author: felixonmars
Revision: 787104

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-24 11:47:19 UTC (rev 787103)
+++ PKGBUILD	2020-12-24 11:47:29 UTC (rev 787104)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=dns-lexicon
-pkgver=3.5.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' '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=('1333d627811f25a8c8915cd5b4253771a917bb8e2824af35c6579dadf294248fa7bcb59863c4f53f8d95a0ae49d8de7d22e9042980978ea853d1a222523bbb4b')
-
-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-testing-any/PKGBUILD (from rev 787103, dns-lexicon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-24 11:47:29 UTC (rev 787104)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dns-lexicon
+pkgver=3.5.2
+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=('ba682cb7be854b0623eefa36398cd39c768d3090e23c663008964d9ca9117d85c1958a98dfd87cd09db384a467d3b536f435e59c3ddb50dcc0c63a152f309f03')
+
+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