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

Felix Yan felixonmars at archlinux.org
Sat Apr 24 20:22:27 UTC 2021


    Date: Saturday, April 24, 2021 @ 20:22:27
  Author: felixonmars
Revision: 413839

upgpkg: python-twisted 21.2.0-3: remove upper bounds on h2

Modified:
  python-twisted/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-24 19:01:28 UTC (rev 413838)
+++ PKGBUILD	2021-04-24 20:22:27 UTC (rev 413839)
@@ -5,7 +5,7 @@
 
 pkgname=python-twisted
 pkgver=21.2.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Asynchronous networking framework written in Python"
 arch=('any')
 url="https://twistedmatrix.com/"
@@ -32,6 +32,12 @@
 source=("https://github.com/twisted/twisted/archive/twisted-$pkgver.tar.gz")
 sha512sums=('fa743dcf22f3c17dfd17f39b7df0cc31fb8ce3e989478ada9a026424ec2de35e6a403ef35acdef5905eed008d42e3c2fee6b7ccdda433e6c250f1feaa83ea8a4')
 
+prepare() {
+  cd twisted-twisted-$pkgver
+  # Remove upper bounds
+  sed -i 's/, < 4.0//' setup.cfg
+}
+
 build() {
   cd twisted-twisted-$pkgver
   python setup.py build



More information about the arch-commits mailing list