summaryrefslogtreecommitdiff
path: root/pcr/python-py3dns
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-02-01 02:19:43 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-02-01 02:28:21 -0500
commitc0909157cb9c2649ebc7fd956093dde5b37dc673 (patch)
tree5d1d6f323046c237758ab5c0289eaea379e786a2 /pcr/python-py3dns
parent15f7c4ab15d58b0c613ea7fe2ee0bb8aa1c660b7 (diff)
downloadabslibre-c0909157cb9c2649ebc7fd956093dde5b37dc673.tar.gz
abslibre-c0909157cb9c2649ebc7fd956093dde5b37dc673.tar.bz2
abslibre-c0909157cb9c2649ebc7fd956093dde5b37dc673.zip
Update pcr/pypolicyd-spf
Diffstat (limited to 'pcr/python-py3dns')
-rw-r--r--pcr/python-py3dns/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/python-py3dns/PKGBUILD b/pcr/python-py3dns/PKGBUILD
new file mode 100644
index 000000000..0d3b88ba5
--- /dev/null
+++ b/pcr/python-py3dns/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
+# Maintainer (AUR): Sebastien Leduc <sebastien@sleduc.fr>
+# Contributor (AUR): Samed Beyribey <ras0ir AT eventualis DOT org>
+
+_pkgname=py3dns
+pkgname=python-$_pkgname
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="A lightweight DNS client library for Python 3"
+arch=('any')
+url="https://launchpad.net/py3dns"
+license=('custom:PSF')
+makedepends=('python-setuptools')
+depends=('python')
+source=("https://launchpad.net/${_pkgname}/trunk/${pkgver}/+download/${_pkgname}-${pkgver}.tar.gz"{,.asc})
+md5sums=('d86f2d7d70ddc187e53c7abc78a3179c'
+ 'SKIP')
+validpgpkeys=(E7729BFFBE85400FEEEE23B178D7DEFB9AD59AF1) # Donald Scott Kitterman
+
+replaces=(python-pydns) # AUR name
+conflicts=(python-pydns) # AUR name
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}