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

Filipe Laíns ffy00 at archlinux.org
Wed Jan 29 00:30:48 UTC 2020


    Date: Wednesday, January 29, 2020 @ 00:30:47
  Author: ffy00
Revision: 558372

upgpkg: python-pyudev 0.22-1

Modified:
  python-pyudev/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-29 00:30:38 UTC (rev 558371)
+++ PKGBUILD	2020-01-29 00:30:47 UTC (rev 558372)
@@ -6,8 +6,8 @@
 
 _pkgname=pyudev
 pkgname=python-$_pkgname
-pkgver=0.21.0
-pkgrel=8
+pkgver=0.22
+pkgrel=1
 arch=('any')
 url='https://github.com/pyudev/pyudev'
 license=('LGPL')
@@ -19,10 +19,8 @@
             'pyside2: PySide integration'
             'python-gobject2: Glib integration'
             'python-wxpython: WX integration')
-source=("$_pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
-        '0001-tests-fix-tests-for-pytest-4.0.patch')
-sha512sums=('c6cc8786c69de2a07eeae39cb57e33db6ca5fea83c38fdab277070bf052c97bd053911ab08a11fe65cb56c463492111e74451801390d89dc7f00fd00e68bba19'
-            '5abbf38f0d7e171ff46823144a027de8ff0ce3a800642d17655f577af04460bf78eecc320a3099ef6d7808def6350ec8350307f0023157df3d0e3feccd484756')
+source=("$_pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('b509f4442e1c11eea9755fbae867b0aee97221db60d78ed2b8da40c39fb11015982b2e9b423680ed44b3f9db2c84b3a0a57a1e8aad4fb939061e33646638d9e3')
 
 prepare() {
   cd $_pkgname-$pkgver
@@ -31,9 +29,6 @@
   sed -i '/norecursedirs/d' setup.cfg
   echo -e '[pytest]\nnorecursedirs = .* _* build' > pytest.ini
 
-  # Fix tests for pytest >= 4.0
-  patch -p1 < ../0001-tests-fix-tests-for-pytest-4.0.patch
-
   # Remove failing tests (we can't test udev inside makepkg)
   rm tests/test_{util,discover,device,monitor,enumerate,observer}.py
 



More information about the arch-commits mailing list