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

Felix Yan felixonmars at archlinux.org
Tue Feb 25 10:19:53 UTC 2020


    Date: Tuesday, February 25, 2020 @ 10:19:52
  Author: felixonmars
Revision: 376175

upgpkg: twisted 19.10.0-2: disable python2 tests

Modified:
  twisted/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-25 01:22:30 UTC (rev 376174)
+++ PKGBUILD	2020-02-25 10:19:52 UTC (rev 376175)
@@ -6,7 +6,7 @@
 pkgbase=twisted
 pkgname=(python-twisted python2-twisted)
 pkgver=19.10.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Asynchronous networking framework written in Python"
 arch=('x86_64')
 url="https://twistedmatrix.com/"
@@ -16,12 +16,9 @@
              'python-incremental' 'python2-incremental' 'python-constantly' 'python2-constantly'
              'python-automat' 'python2-automat' 'python-hyperlink' 'python2-hyperlink'
              'python-attrs' 'python2-attrs' 'python-pyhamcrest' 'python2-pyhamcrest')
-checkdepends=('subversion' 'python2-sphinx' 'pygtk' 'xorg-server-xvfb' 'tk' 'openssh' 'gtk3'
-              'python-gobject' 'python2-gobject' 'python-gobject2' 'python2-gobject2'
-              'python2-soappy' 'python-subunit' 'python2-subunit' 'python-h2' 'python2-h2'
-              'python-priority' 'python2-priority' 'python-cryptography' 'python2-cryptography'
-              'python-idna' 'python2-idna' 'python-pyasn1' 'python2-pyasn1' 'python-pyserial'
-              'python2-pyserial' 'python-bcrypt' 'python2-bcrypt')
+checkdepends=('subversion' 'pygtk' 'xorg-server-xvfb' 'tk' 'openssh' 'gtk3' 'python-gobject'
+              'python-subunit' 'python-h2' 'python-priority' 'python-cryptography' 'python-idna'
+              'python-pyasn1' 'python-pyserial' 'python-bcrypt')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/twisted/twisted/archive/twisted-$pkgver.tar.gz")
 sha512sums=('1b8a4c0f1db7323ece2e13226c6a08521a1efd319370a151086cb1a893bb2b8af6c112d18ff5b6e8b9b037dec349233738560945013bfe47d2677c26238af433')
 
@@ -45,12 +42,10 @@
   export LC_CTYPE=en_US.UTF-8
 
   # do glob expansion in variable assignment
-  pythonpaths=("$srcdir/twisted-twisted-$pkgver/build/lib.linux-$CARCH"-3*
-               "$srcdir/twisted-twisted-$pkgver-py2/build/lib.linux-$CARCH-"2*)
+  pythonpaths=("$srcdir/twisted-twisted-$pkgver/build/lib.linux-$CARCH"-3*)
 
   # tests use the underlying function from the 'python -m twisted.trial' module, to prevent loading system entry points
   PYTHONPATH="${pythonpaths[0]}" xvfb-run python -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed"
-  PYTHONPATH="${pythonpaths[1]}" xvfb-run python2 -c 'from twisted.scripts.trial import run; run()' twisted || warning "Tests failed"
 }
 
 package_python-twisted() {



More information about the arch-commits mailing list