[arch-commits] Commit in python-dnspython/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 17:13:23 UTC 2019
Date: Thursday, October 31, 2019 @ 17:13:23
Author: felixonmars
Revision: 521295
archrelease: copy trunk to community-staging-any
Added:
python-dnspython/repos/community-staging-any/PKGBUILD
(from rev 521294, python-dnspython/trunk/PKGBUILD)
Deleted:
python-dnspython/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:13:12 UTC (rev 521294)
+++ PKGBUILD 2019-10-31 17:13:23 UTC (rev 521295)
@@ -1,54 +0,0 @@
-# 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.16.0
-pkgrel=2
-pkgdesc="A DNS toolkit for Python"
-arch=('any')
-url="http://www.dnspython.org"
-license=('ISC')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-idna' 'python-pycryptodome' 'python-ecdsa'
- 'python2-idna' 'python2-pycryptodome' 'python2-ecdsa' 'python2-typing')
-source=("http://www.dnspython.org/kits/${pkgver}/dnspython-${pkgver}.tar.gz"{,.asc})
-sha256sums=('4bf5c5c12a4478ee7860ab176659cf64c4899ee76752d826b082f8af723c5cf9'
- 'SKIP')
-validpgpkeys=('A580DEE052FEC78D8ACF383DF24B3AFC8CA2F5C7') # Bob Halley <halley at dnspython.org>
-
-build() {
- cd "${srcdir}"/dnspython-${pkgver}
-
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd "${srcdir}"/dnspython-${pkgver}
-
- python setup.py test
- python2 setup.py test
-}
-
-package_python-dnspython() {
- depends=('python')
- optdepends=('python-ecdsa: DNSSEC support'
- 'python-pycryptodome: DNSSEC support'
- 'python-idna: support for updated IDNA 2008')
- cd "${srcdir}"/dnspython-${pkgver}
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-dnspython() {
- depends=('python2')
- optdepends=('python2-ecdsa: DNSSEC support'
- 'python2-pycryptodome: DNSSEC support'
- 'python2-idna: support for updated IDNA 2008')
- cd "${srcdir}"/dnspython-${pkgver}
-
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: python-dnspython/repos/community-staging-any/PKGBUILD (from rev 521294, python-dnspython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:13:23 UTC (rev 521295)
@@ -0,0 +1,54 @@
+# 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.16.0
+pkgrel=3
+pkgdesc="A DNS toolkit for Python"
+arch=('any')
+url="http://www.dnspython.org"
+license=('ISC')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-idna' 'python-pycryptodome' 'python-ecdsa'
+ 'python2-idna' 'python2-pycryptodome' 'python2-ecdsa' 'python2-typing')
+source=("http://www.dnspython.org/kits/${pkgver}/dnspython-${pkgver}.tar.gz"{,.asc})
+sha256sums=('4bf5c5c12a4478ee7860ab176659cf64c4899ee76752d826b082f8af723c5cf9'
+ 'SKIP')
+validpgpkeys=('A580DEE052FEC78D8ACF383DF24B3AFC8CA2F5C7') # Bob Halley <halley at dnspython.org>
+
+build() {
+ cd "${srcdir}"/dnspython-${pkgver}
+
+ python setup.py build
+ python2 setup.py build
+}
+
+check() {
+ cd "${srcdir}"/dnspython-${pkgver}
+
+ python setup.py test
+ python2 setup.py test
+}
+
+package_python-dnspython() {
+ depends=('python')
+ optdepends=('python-ecdsa: DNSSEC support'
+ 'python-pycryptodome: DNSSEC support'
+ 'python-idna: support for updated IDNA 2008')
+ cd "${srcdir}"/dnspython-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python2-dnspython() {
+ depends=('python2')
+ optdepends=('python2-ecdsa: DNSSEC support'
+ 'python2-pycryptodome: DNSSEC support'
+ 'python2-idna: support for updated IDNA 2008')
+ cd "${srcdir}"/dnspython-${pkgver}
+
+ python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list