[arch-commits] Commit in dns-lexicon/repos (2 files)

Felix Yan felixonmars at archlinux.org
Wed Apr 4 14:25:13 UTC 2018


    Date: Wednesday, April 4, 2018 @ 14:25:11
  Author: felixonmars
Revision: 314123

archrelease: copy trunk to community-testing-any

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

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: dns-lexicon/repos/community-testing-any/PKGBUILD (from rev 314122, dns-lexicon/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-04-04 14:25:11 UTC (rev 314123)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dns-lexicon
+pkgver=2.2.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-future' 'python-requests' 'python-setuptools' 'python-tldextract')
+optdepends=('python-softlayer: for SoftLayer support'
+            'python-boto3: for Route53 support'
+            'python-pynamecheap: for Namecheap support')
+checkdepends=('python-pytest-runner' 'python-vcrpy' 'python-softlayer' 'python-boto3'
+              'python-pynamecheap')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/AnalogJ/lexicon/archive/v$pkgver.tar.gz")
+sha512sums=('1d79d799e1f916c31b16a5174858fed3f5d88e2271bec7f143defbf891bd0dbf3fd94c5a0d05381f21d514a2cb21166d72bc14593fecb4754617c2655ed86838')
+
+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