[arch-commits] Commit in python-pycares/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Jun 28 10:21:06 UTC 2022
Date: Tuesday, June 28, 2022 @ 10:21:06
Author: polyzen
Revision: 1239820
archrelease: copy trunk to community-x86_64
Added:
python-pycares/repos/community-x86_64/PKGBUILD
(from rev 1239819, python-pycares/trunk/PKGBUILD)
Deleted:
python-pycares/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-28 10:20:38 UTC (rev 1239819)
+++ PKGBUILD 2022-06-28 10:21:06 UTC (rev 1239820)
@@ -1,39 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=python-pycares
-pkgver=4.2.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=('b286649597791cd53072b2f3383cc38fc14a8ab016b78cb04bdcaa6ecce3b8ce')
-b2sums=('6b272c26e2e91706f208262d53d1ad909be47b14a2f5ac912ec8851f98e2d621698194ecc1962a8e921abd7ea09f08d9e766324ecca4628f3ad61b73ff48e2b5')
-
-build() {
- cd pycares-$pkgver
- PYCARES_USE_SYSTEM_LIB=1 python setup.py build
-}
-
-# Test failures: test_custom_resolvconf, test_getaddrinfo{,2..5},
-# gethostbyaddr{,6}, test_getnameinfo
-#check() {
-# cd pycares-$pkgver
-# mkdir -p temp
-# local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-# python setup.py install --root=temp --optimize=1 --skip-build
-# 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 1239819, python-pycares/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-28 10:21:06 UTC (rev 1239820)
@@ -0,0 +1,38 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=python-pycares
+pkgver=4.2.1
+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=('735b4f75fd0f595c4e9184da18cd87737f46bc81a64ea41f4edce2b6b68d46d2')
+b2sums=('62caa1d40c936354aaa519ec5214f31f6ccf69724624d443c76d036e9c5c7a260854d203c66b718ef2c3ba82ad280079f46e969e12443800ce11d8f273e7ba56')
+
+build() {
+ cd pycares-$pkgver
+ PYCARES_USE_SYSTEM_LIB=1 python setup.py build
+}
+
+# Test failures: test_custom_resolvconf, gethostbyaddr{,6}, test_getnameinfo
+#check() {
+# cd pycares-$pkgver
+# mkdir -p temp
+# local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+# python setup.py install --root=temp --optimize=1 --skip-build
+# 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