[arch-commits] Commit in python-dnspython/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Dec 24 17:52:08 UTC 2016
Date: Saturday, December 24, 2016 @ 17:52:07
Author: foutrelis
Revision: 201690
archrelease: copy trunk to community-staging-any
Added:
python-dnspython/repos/community-staging-any/
python-dnspython/repos/community-staging-any/PKGBUILD
(from rev 201689, python-dnspython/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-dnspython/repos/community-staging-any/PKGBUILD (from rev 201689, python-dnspython/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2016-12-24 17:52:07 UTC (rev 201690)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Mathijs Kadijk <maccain13 at gmail.com>
+
+pkgname=(python-dnspython python2-dnspython)
+pkgbase=python-dnspython
+pkgver=1.15.0
+pkgrel=2
+pkgdesc="A DNS toolkit for Python"
+arch=('any')
+url="http://www.dnspython.org"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+validpgpkeys=('A580DEE052FEC78D8ACF383DF24B3AFC8CA2F5C7')
+source=(http://www.dnspython.org/kits/$pkgver/dnspython-$pkgver.tar.gz{,.asc})
+sha256sums=('11598ae5735746e63921f8eebdfdee4a2e7d0ba842ebd57ba02682d4aed8244b'
+ 'SKIP')
+
+package_python2-dnspython() {
+depends=('python2')
+
+ cd "$srcdir"/dnspython-$pkgver
+ python2 setup.py install --root="$pkgdir"
+ install -D LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-dnspython() {
+depends=('python')
+
+ cd "$srcdir"/dnspython-$pkgver
+ python setup.py install --root="$pkgdir"
+ install -D LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list