[arch-commits] Commit in dns-lexicon/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Oct 26 06:16:23 UTC 2019
Date: Saturday, October 26, 2019 @ 06:16:23
Author: foutrelis
Revision: 520245
archrelease: copy trunk to community-staging-any
Added:
dns-lexicon/repos/community-staging-any/
dns-lexicon/repos/community-staging-any/PKGBUILD
(from rev 520244, dns-lexicon/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: dns-lexicon/repos/community-staging-any/PKGBUILD (from rev 520244, dns-lexicon/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 06:16:23 UTC (rev 520245)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dns-lexicon
+pkgver=3.3.6
+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-future' 'python-tldextract' 'python-cryptography' 'python-yaml' 'python-setuptools'
+ # requests[security] Expanded:
+ 'python-requests' 'python-pyopenssl' 'python-idna')
+optdepends=('python-softlayer: for SoftLayer support'
+ 'python-boto3: for Route53 support'
+ 'python-pynamecheap: for Namecheap support'
+ 'python-zeep: for Subreg support'
+ 'python-xmltodict: for Plesk support'
+ 'python-beautifulsoup4: for Henet support'
+ 'python-localzone: for localzone support')
+checkdepends=('python-pytest-runner' 'python-vcrpy' 'python-softlayer' 'python-boto3' 'python-mock'
+ 'python-pynamecheap' 'python-zeep' 'python-xmltodict' 'python-beautifulsoup4'
+ 'python-localzone' 'bind-tools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/AnalogJ/lexicon/archive/v$pkgver.tar.gz")
+sha512sums=('7bb49995fb4b775cf6e9c88436487f8705abdcc6bccf60737c266b7f5278c6867d7296b73e2b6ad91855c5a88a171b33dd55400c36c37d323d5e743afc39cb41')
+
+build() {
+ cd lexicon-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd lexicon-$pkgver
+ python setup.py pytest --addopts '--ignore 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