[arch-commits] Commit in python-eventlet/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 18 09:36:50 UTC 2020


    Date: Wednesday, November 18, 2020 @ 09:36:50
  Author: foutrelis
Revision: 757103

Bump to 0.29.1 for Python 3.9

Modified:
  python-eventlet/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-18 09:33:35 UTC (rev 757102)
+++ PKGBUILD	2020-11-18 09:36:50 UTC (rev 757103)
@@ -2,8 +2,8 @@
 
 pkgname=python-eventlet
 _pyname=eventlet
-pkgver=0.26.1
-pkgrel=2
+pkgver=0.29.1
+pkgrel=0
 pkgdesc='Highly concurrent networking library'
 url='https://eventlet.net'
 arch=('any')
@@ -19,12 +19,17 @@
   'python-dnspython: non-blocking DNS support'
 )
 options=('!makeflags')
-source=(https://github.com/eventlet/eventlet/archive/v${pkgver}/${_pyname}-${pkgver}.tar.gz)
-sha512sums=('78dddbbc51827bebc331afa5eaade27a65e1f95b0a68ec57c4ad4f83ab7c90bffea4bd866718f3d0bef45794ccae1883fc046b4c92f05cb320e3ffb172e0d9a1')
-b2sums=('2175d25643b1fa6d4cf317a90ed1a529499672ff25be60c79d0d78af6a58bd093487ad92ccde51e5438a71d5b1ae7f74133a0a744b5e32fe71a264d7225ec814')
+source=(https://github.com/eventlet/eventlet/archive/v${pkgver}/${_pyname}-${pkgver}.tar.gz
+        ${pkgname}-py39.patch)
+sha512sums=('fc3563baa0df210fb62b53d821c1013feea4e680feb34958ba6cd37ed1b8967beebfe696754bd07c60345152ed7a291f0a439d2f12bf47d974f7543d3b60c775'
+            'a40750ef2ed0eb8e895328bef6474e46a242e7fda6445f4b1a4e3ae309ea06bbcef72fa3610147284499d6b784a0ab838463c5596eda14c7fb6e2d78cff31c5e')
+b2sums=('b1ac914276f429050c9e233618360107bd5504a87368355aa3b2effcefe2195ac4c7bfa27fb3d40fc1dbdbe3d85044f9aa5c3dc18bae777965851205f47567f7'
+        '4a933aa4346b9460b496c3534c622216fd965bdd83303bbc77cc7c333a752c3a204380bea57ac1e7f3e347c828089c35c981899447195b201bb55f9dcf9d0546')
 
 prepare() {
-  sed -r 's|(check_idle_cpu_usage\(.*,) .*\)|\1 0.8\)|g' -i ${_pyname}-${pkgver}/tests/*_test.py
+  cd ${_pyname}-${pkgver}
+  patch -Np1 -i ../${pkgname}-py39.patch
+  sed -r 's|(check_idle_cpu_usage\(.*,) .*\)|\1 0.8\)|g' -i tests/*_test.py
 }
 
 build() {


More information about the arch-commits mailing list