[arch-commits] Commit in python-pycares/repos/community-x86_64 (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Thu Dec 19 06:10:45 UTC 2019


    Date: Thursday, December 19, 2019 @ 06:10:44
  Author: polyzen
Revision: 538282

archrelease: copy trunk to community-x86_64

Added:
  python-pycares/repos/community-x86_64/PKGBUILD
    (from rev 538281, python-pycares/trunk/PKGBUILD)
Deleted:
  python-pycares/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-19 06:10:23 UTC (rev 538281)
+++ PKGBUILD	2019-12-19 06:10:44 UTC (rev 538282)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=python-pycares
-pkgver=3.0.0
-pkgrel=2
-pkgdesc='Python interface for c-ares'
-arch=('x86_64')
-url=https://github.com/saghul/pycares
-license=('MIT')
-depends=('python-cffi') # c-ares is bundled
-makedepends=('python-setuptools')
-optdepends=('python-idna')
-source=("https://files.pythonhosted.org/packages/source/p/pycares/pycares-$pkgver.tar.gz")
-sha256sums=('b253f5dcaa0ac7076b79388a3ac80dd8f3bd979108f813baade40d3a9b8bf0bd')
-
-build() {
-  cd pycares-$pkgver
-  python setup.py build
-}
-
-# 11 tests fail
-#check() {
-#  cd pycares-$pkgver
-#  mkdir -p temp
-#  local sitepackages=$(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/$sitepackages" 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 538281, python-pycares/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-19 06:10:44 UTC (rev 538282)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=python-pycares
+pkgver=3.1.0
+pkgrel=1
+pkgdesc='Python interface for c-ares'
+arch=('x86_64')
+url=https://github.com/saghul/pycares
+license=('MIT')
+depends=('python-cffi') # c-ares is bundled
+makedepends=('python-setuptools')
+optdepends=('python-idna')
+source=("https://files.pythonhosted.org/packages/source/p/pycares/pycares-$pkgver.tar.gz")
+sha256sums=('663c000625725d3a63466a674df4ee7f62bf8ca1ae8a0b87a6411eb811e0e794')
+
+build() {
+  cd pycares-$pkgver
+  python setup.py build
+}
+
+# 10 tests fail
+#check() {
+#  cd pycares-$pkgver
+#  mkdir -p temp
+#  local sitepackages=$(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/$sitepackages" 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