[arch-commits] Commit in dns-lexicon/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jul 22 06:11:45 UTC 2018
Date: Sunday, July 22, 2018 @ 06:11:45
Author: felixonmars
Revision: 362744
archrelease: copy trunk to community-staging-any
Added:
dns-lexicon/repos/community-staging-any/
dns-lexicon/repos/community-staging-any/PKGBUILD
(from rev 362743, dns-lexicon/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: dns-lexicon/repos/community-staging-any/PKGBUILD (from rev 362743, dns-lexicon/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-07-22 06:11:45 UTC (rev 362744)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dns-lexicon
+pkgver=2.7.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-future' 'python-requests' 'python-setuptools' 'python-tldextract'
+ 'python-cryptography')
+optdepends=('python-softlayer: for SoftLayer support'
+ 'python-boto3: for Route53 support'
+ 'python-pynamecheap: for Namecheap support'
+ 'python-zeep: for Subreg support')
+checkdepends=('python-pytest-runner' 'python-vcrpy' 'python-softlayer' 'python-boto3'
+ 'python-pynamecheap' 'python-zeep')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/AnalogJ/lexicon/archive/v$pkgver.tar.gz")
+sha512sums=('a7d399b09522f0cfc3110160596fed9a7ef0ced18690201feebea1e36b9e8c806a24c4832731c2118253cb12a0ca6eaeb895a0cfd90a5a905118c63ee34b571a')
+
+build() {
+ cd lexicon-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd lexicon-$pkgver
+ python setup.py pytest --addopts '--ignore tests/providers/test_route53.py --ignore 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