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

Felix Yan felixonmars at archlinux.org
Sat May 26 20:14:22 UTC 2018


    Date: Saturday, May 26, 2018 @ 20:14:21
  Author: felixonmars
Revision: 331111

archrelease: copy trunk to community-testing-any

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

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

Copied: dns-lexicon/repos/community-testing-any/PKGBUILD (from rev 331110, dns-lexicon/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-05-26 20:14:21 UTC (rev 331111)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dns-lexicon
+pkgver=2.3.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')
+optdepends=('python-softlayer: for SoftLayer support'
+            'python-boto3: for Route53 support'
+            'python-pynamecheap: for Namecheap support'
+            'python-pysimplesoap: for Subreg support')
+checkdepends=('python-pytest-runner' 'python-vcrpy' 'python-softlayer' 'python-boto3'
+              'python-pynamecheap' 'python-pysimplesoap')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/AnalogJ/lexicon/archive/v$pkgver.tar.gz")
+sha512sums=('b8d73bd026ac57f69dc43e4a7a7960a94f5032bf008ab90e500f4c3f09bac12bae510df8cbfe9a2108e39d3a93e40efddf643d6193ba174bb6aab63ff3d82f87')
+
+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