[arch-commits] Commit in python-pycares/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Fri May 14 00:57:46 UTC 2021
Date: Friday, May 14, 2021 @ 00:57:45
Author: polyzen
Revision: 933937
archrelease: copy trunk to community-x86_64
Added:
python-pycares/repos/community-x86_64/PKGBUILD
(from rev 933936, python-pycares/trunk/PKGBUILD)
Deleted:
python-pycares/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 40 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-14 00:57:14 UTC (rev 933936)
+++ PKGBUILD 2021-05-14 00:57:45 UTC (rev 933937)
@@ -1,38 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=python-pycares
-pkgver=3.2.3
-pkgrel=1
-pkgdesc='Python interface for c-ares'
-arch=('x86_64')
-url=https://github.com/saghul/pycares
-license=('MIT')
-depends=('python-cffi') # Modified c-ares is bundled
-makedepends=('python-setuptools')
-#checkdepends=('python-idna')
-optdepends=('python-idna')
-source=("https://files.pythonhosted.org/packages/source/p/pycares/pycares-$pkgver.tar.gz")
-sha256sums=('da1899fde778f9b8736712283eccbf7b654248779b349d139cd28eb30b0fa8cd')
-b2sums=('78cdfa981b586a2ee29c587a0a864e457a794f63a629e9bad0d5010f2be51b7f47a10ba8942a4dfa7ec1ff209d2bae932bb70404b46098b21cbb65363bdc5003')
-
-build() {
- cd pycares-$pkgver
- python setup.py build
-}
-
-# Test failures: gethostbyaddr{,6}, gethostbyname{,_small_timeout}, test_getnameinfo
-#check() {
-# cd pycares-$pkgver
-# mkdir -p temp
-# local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-# python setup.py install --skip-build --root=temp
-# PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" python tests/tests.py
-#}
-
-package() {
- cd pycares-$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:
Copied: python-pycares/repos/community-x86_64/PKGBUILD (from rev 933936, python-pycares/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-14 00:57:45 UTC (rev 933937)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=python-pycares
+pkgver=4.0.0
+pkgrel=1
+pkgdesc='Python interface for c-ares'
+arch=('x86_64')
+url=https://github.com/saghul/pycares
+license=('MIT')
+depends=('c-ares' 'python-cffi')
+makedepends=('python-setuptools')
+#checkdepends=('python-idna')
+optdepends=('python-idna')
+source=("https://files.pythonhosted.org/packages/source/p/pycares/pycares-$pkgver.tar.gz")
+sha256sums=('d0154fc5753b088758fbec9bc137e1b24bb84fc0c6a09725c8bac25a342311cd')
+b2sums=('cf83efcd3b7f0c32dfd013c4211ae0bce2cbc8cfa49f295239f315b3217d17c2cf1f6e491c41b4b3ca4de8762405f560a62d1ef6252b961bc94fed2253b6a632')
+
+build() {
+ cd pycares-$pkgver
+ PYCARES_USE_SYSTEM_LIB=1 python setup.py build
+}
+
+# Test failures: test_custom_resolvconf, test_getaddrinfo{,2..4},
+# gethostbyaddr{,6}, gethostbyname{,_small_timeout},
+# test_getnameinfo
+#check() {
+# cd pycares-$pkgver
+# mkdir -p temp
+# local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+# python setup.py install --skip-build --root=temp
+# PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" python tests/tests.py
+#}
+
+package() {
+ cd pycares-$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