[arch-commits] Commit in dns-lexicon/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 2 12:34:59 UTC 2021
Date: Sunday, May 2, 2021 @ 12:34:58
Author: felixonmars
Revision: 926126
archrelease: copy trunk to community-any
Added:
dns-lexicon/repos/community-any/PKGBUILD
(from rev 926125, dns-lexicon/trunk/PKGBUILD)
Deleted:
dns-lexicon/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-02 12:34:44 UTC (rev 926125)
+++ PKGBUILD 2021-05-02 12:34:58 UTC (rev 926126)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=dns-lexicon
-pkgver=3.5.6
-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=('9ab557217a3f254b5291f6ecf3eb7a01d2b40a02bfb333bcb39f461608adff539d92d1d4e2ae96172a9579767fdcf4b48828f768e1386c20f6ca43f0a2b552ae')
-
-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 926125, dns-lexicon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-02 12:34:58 UTC (rev 926126)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dns-lexicon
+pkgver=3.6.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')
+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=('a361b3d60d0bf2d171c2fe715cac9daa42aa7fcc86263ad08d5ef05417a44cf2faa11a3f2b57498cbb058ad41ede292418d97651acf6cebbc55e89f216bcbac8')
+
+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