[arch-commits] Commit in (4 files)

Daniel M. Capella polyzen at archlinux.org
Thu Dec 12 06:33:52 UTC 2019


    Date: Thursday, December 12, 2019 @ 06:33:52
  Author: polyzen
Revision: 537333

Initial commit

Added:
  python-aiodns/
  python-aiodns/repos/
  python-aiodns/trunk/
  python-aiodns/trunk/PKGBUILD

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

Added: python-aiodns/trunk/PKGBUILD
===================================================================
--- python-aiodns/trunk/PKGBUILD	                        (rev 0)
+++ python-aiodns/trunk/PKGBUILD	2019-12-12 06:33:52 UTC (rev 537333)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=python-aiodns
+pkgver=2.0.0
+pkgrel=3
+pkgdesc='Simple DNS resolver for asyncio'
+arch=('any')
+url=https://github.com/saghul/aiodns
+license=('MIT')
+depends=('python-pycares')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/a/aiodns/aiodns-$pkgver.tar.gz")
+sha256sums=('815fdef4607474295d68da46978a54481dd1e7be153c7d60f9e72773cd38d77d')
+
+build() {
+  cd aiodns-$pkgver
+  python setup.py build
+}
+
+# test_gethostbyaddr fails
+#check() {
+#  cd aiodns-$pkgver
+#  python tests.py
+#}
+
+package() {
+  cd aiodns-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list