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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:01:49 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:01:48
  Author: felixonmars
Revision: 752182

archrelease: copy trunk to community-staging-any

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

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

Copied: python-aiodns/repos/community-staging-any/PKGBUILD (from rev 752180, python-aiodns/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:01:48 UTC (rev 752182)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=python-aiodns
+pkgver=2.0.0
+pkgrel=4
+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