[arch-commits] Commit in python-eventlet/repos/community-any (4 files)

Antonio Rojas arojas at gemini.archlinux.org
Tue Jul 19 21:29:56 UTC 2022


    Date: Tuesday, July 19, 2022 @ 21:29:56
  Author: arojas
Revision: 1254755

archrelease: copy trunk to community-any

Added:
  python-eventlet/repos/community-any/PKGBUILD
    (from rev 1254754, python-eventlet/trunk/PKGBUILD)
  python-eventlet/repos/community-any/python310.patch
    (from rev 1254754, python-eventlet/trunk/python310.patch)
Deleted:
  python-eventlet/repos/community-any/PKGBUILD
  python-eventlet/repos/community-any/python310.patch

-----------------+
 PKGBUILD        |  114 +++++++++++++++++++++++++++---------------------------
 python310.patch |   52 ++++++++++++------------
 2 files changed, 83 insertions(+), 83 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-19 21:29:45 UTC (rev 1254754)
+++ PKGBUILD	2022-07-19 21:29:56 UTC (rev 1254755)
@@ -1,57 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=python-eventlet
-_pyname=eventlet
-pkgver=0.33.0
-pkgrel=2
-pkgdesc='Highly concurrent networking library'
-url='https://eventlet.net'
-arch=('any')
-license=('MIT')
-depends=('python' 'python-greenlet' 'python-monotonic' 'python-dnspython')
-makedepends=('python-setuptools' 'python-sphinx')
-checkdepends=('python-psycopg2' 'python-nose' 'python-pyopenssl' 'python-httplib2' 'python-mock' 'python-pyzmq')
-optdepends=(
-  'python-psycopg2: non-blocking PostgreSQL support'
-  'python-pyopenssl: non-blocking SSL support'
-  'python-httplib2: non-blocking HTTP support'
-  'python-pyzmq: non-blocking ZeroMQ support'
-  'python-dnspython: non-blocking DNS support'
-)
-options=('!makeflags')
-source=(https://github.com/eventlet/eventlet/archive/v${pkgver}/${_pyname}-${pkgver}.tar.gz
-        python310.patch)
-sha512sums=('455234ff08bd79e5a6b66f31f7ae87d93fde9a335f70244806cec80a4141316cd42aff91f6b8cff16f0bbe6fb673f19d6a76dc604281789e166bc41df853d8e5'
-            '07739075628ff9d140064e04189332b479f184e4647753f987b0818fa55aaca907d4880afb5cf31f980426f315e1014027dcd848551149000a12145f982cd883')
-b2sums=('6e740507307f4be34bc76d07aefb438e8562efe02220015bc0f029ada739058d9e5a5486e74e2786d44895fdea2e31ab57f0188e6bac081ea8705d08a6016b4e'
-        '783445f708c12586e026f7feac982a7b6c21f86468609c375568b51ad6055977df3d0bc740f3127b9f8bc95c1c50e81aae02ca0e0be674ed4627910d39b1ef47')
-
-prepare() {
-  cd ${_pyname}-${pkgver}
-  # https://github.com/eventlet/eventlet/issues/730
-  # https://github.com/eventlet/eventlet/issues/739
-  patch -Np1 -i ../python310.patch
-  sed -r 's|(check_idle_cpu_usage\(.*,) .*\)|\1 0.8\)|g' -i tests/*_test.py
-}
-
-build() {
-  cd ${_pyname}-${pkgver}
-  python setup.py build
-  make -C doc text
-}
-
-check() {
-  cd ${_pyname}-${pkgver}
-  nosetests -sv tests
-}
-
-package() {
-  cd ${_pyname}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" -O1
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -d "${pkgdir}/usr/share/doc/${pkgname}"
-  cp -r doc/_build/text "${pkgdir}/usr/share/doc/${pkgname}"
-  cp -r examples "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-eventlet/repos/community-any/PKGBUILD (from rev 1254754, python-eventlet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-19 21:29:56 UTC (rev 1254755)
@@ -0,0 +1,57 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-eventlet
+_pyname=eventlet
+pkgver=0.33.1
+pkgrel=1
+pkgdesc='Highly concurrent networking library'
+url='https://eventlet.net'
+arch=('any')
+license=('MIT')
+depends=('python' 'python-greenlet' 'python-monotonic' 'python-dnspython')
+makedepends=('python-setuptools' 'python-sphinx')
+checkdepends=('python-psycopg2' 'python-nose' 'python-pyopenssl' 'python-httplib2' 'python-mock' 'python-pyzmq')
+optdepends=(
+  'python-psycopg2: non-blocking PostgreSQL support'
+  'python-pyopenssl: non-blocking SSL support'
+  'python-httplib2: non-blocking HTTP support'
+  'python-pyzmq: non-blocking ZeroMQ support'
+  'python-dnspython: non-blocking DNS support'
+)
+options=('!makeflags')
+source=(https://github.com/eventlet/eventlet/archive/v${pkgver}/${_pyname}-${pkgver}.tar.gz
+        python310.patch)
+sha512sums=('437deffb2e24a3361585a5861d35bc19131d80ffd54fb8172e232683286fc0f28e68fd1a89f7ebe5067a5b9699b6c3382c9be5868adc2ebb11c2d205b644093c'
+            '07739075628ff9d140064e04189332b479f184e4647753f987b0818fa55aaca907d4880afb5cf31f980426f315e1014027dcd848551149000a12145f982cd883')
+b2sums=('d8581d41783cd31996b9c842da47d94d8bde5939dcbfabf9b1c70b58670fcbcf499a7e5408b0842df951202a63be5eaed27afeeccfc9e4237548330bfc49f4bd'
+        '783445f708c12586e026f7feac982a7b6c21f86468609c375568b51ad6055977df3d0bc740f3127b9f8bc95c1c50e81aae02ca0e0be674ed4627910d39b1ef47')
+
+prepare() {
+  cd ${_pyname}-${pkgver}
+  # https://github.com/eventlet/eventlet/issues/730
+  # https://github.com/eventlet/eventlet/issues/739
+  patch -Np1 -i ../python310.patch
+  sed -r 's|(check_idle_cpu_usage\(.*,) .*\)|\1 0.8\)|g' -i tests/*_test.py
+}
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python setup.py build
+  make -C doc text
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  nosetests -sv tests
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" -O1
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -d "${pkgdir}/usr/share/doc/${pkgname}"
+  cp -r doc/_build/text "${pkgdir}/usr/share/doc/${pkgname}"
+  cp -r examples "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: python310.patch
===================================================================
--- python310.patch	2022-07-19 21:29:45 UTC (rev 1254754)
+++ python310.patch	2022-07-19 21:29:56 UTC (rev 1254755)
@@ -1,26 +0,0 @@
-diff --git a/tests/patcher_test.py b/tests/patcher_test.py
-index dbf6e1c..1af4ac3 100644
---- a/tests/patcher_test.py
-+++ b/tests/patcher_test.py
-@@ -476,6 +476,8 @@ def test_patcher_existing_locks_late():
-     tests.run_isolated('patcher_existing_locks_late.py')
- 
- 
-+# https://github.com/eventlet/eventlet/issues/730
-+ at tests.skip_if(sys.version_info >= (3, 10))
- def test_patcher_existing_locks_locked():
-     tests.run_isolated('patcher_existing_locks_locked.py')
- 
-diff --git a/tests/wsgi_test.py b/tests/wsgi_test.py
-index 999d6f0..5c5bd92 100644
---- a/tests/wsgi_test.py
-+++ b/tests/wsgi_test.py
-@@ -556,6 +556,8 @@ class TestHttpd(_TestBase):
-         self.assertEqual(1, len(
-             [l for l in header_lines if l.lower().startswith(b'content-length')]))
- 
-+    # https://github.com/eventlet/eventlet/issues/739
-+    @tests.skip_if(sys.version_info >= (3, 10))
-     @tests.skip_if_no_ssl
-     def test_017_ssl_zeroreturnerror(self):
- 

Copied: python-eventlet/repos/community-any/python310.patch (from rev 1254754, python-eventlet/trunk/python310.patch)
===================================================================
--- python310.patch	                        (rev 0)
+++ python310.patch	2022-07-19 21:29:56 UTC (rev 1254755)
@@ -0,0 +1,26 @@
+diff --git a/tests/patcher_test.py b/tests/patcher_test.py
+index dbf6e1c..1af4ac3 100644
+--- a/tests/patcher_test.py
++++ b/tests/patcher_test.py
+@@ -476,6 +476,8 @@ def test_patcher_existing_locks_late():
+     tests.run_isolated('patcher_existing_locks_late.py')
+ 
+ 
++# https://github.com/eventlet/eventlet/issues/730
++ at tests.skip_if(sys.version_info >= (3, 10))
+ def test_patcher_existing_locks_locked():
+     tests.run_isolated('patcher_existing_locks_locked.py')
+ 
+diff --git a/tests/wsgi_test.py b/tests/wsgi_test.py
+index 999d6f0..5c5bd92 100644
+--- a/tests/wsgi_test.py
++++ b/tests/wsgi_test.py
+@@ -556,6 +556,8 @@ class TestHttpd(_TestBase):
+         self.assertEqual(1, len(
+             [l for l in header_lines if l.lower().startswith(b'content-length')]))
+ 
++    # https://github.com/eventlet/eventlet/issues/739
++    @tests.skip_if(sys.version_info >= (3, 10))
+     @tests.skip_if_no_ssl
+     def test_017_ssl_zeroreturnerror(self):
+ 



More information about the arch-commits mailing list