[arch-commits] Commit in python-dnspython/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:50:41 UTC 2020


    Date: Monday, November 9, 2020 @ 15:50:41
  Author: felixonmars
Revision: 747189

archrelease: copy trunk to community-staging-any

Added:
  python-dnspython/repos/community-staging-any/
  python-dnspython/repos/community-staging-any/PKGBUILD
    (from rev 747187, python-dnspython/trunk/PKGBUILD)

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

Copied: python-dnspython/repos/community-staging-any/PKGBUILD (from rev 747187, python-dnspython/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:50:41 UTC (rev 747189)
@@ -0,0 +1,41 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Mathijs Kadijk <maccain13 at gmail.com>
+
+_name=dnspython
+pkgname=python-dnspython
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="A DNS toolkit for Python"
+arch=('any')
+url="http://www.dnspython.org"
+license=('ISC')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-idna' 'python-pycryptodome' 'python-ecdsa' 'python-trio')
+optdepends=('python-ecdsa: DNSSEC support'
+            'python-pycryptodome: DNSSEC support'
+            'python-idna: support for updated IDNA 2008'
+            'python-trio: async support'
+            'python-sniffio: async support')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip")
+sha256sums=('044af09374469c3a39eeea1a146e8cac27daec951f1f1f157b1962fc7cb9d1b7')
+validpgpkeys=('A580DEE052FEC78D8ACF383DF24B3AFC8CA2F5C7') # Bob Halley <halley at dnspython.org>
+
+build() {
+    cd dnspython-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd dnspython-${pkgver}
+
+    python setup.py test
+}
+
+package() {
+    cd dnspython-${pkgver}
+
+    python 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