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

David Runge dvzrv at archlinux.org
Wed Jul 1 07:16:18 UTC 2020


    Date: Wednesday, July 1, 2020 @ 07:16:18
  Author: dvzrv
Revision: 657243

upgpkg: python-flufl-lock 4.0-1: Upgrading to 4.0.

Removing options for pytest that would drag in python-coverage.
Adding python-psutil to depends and python-sybil to checkdepends.

Modified:
  python-flufl-lock/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-01 06:54:21 UTC (rev 657242)
+++ PKGBUILD	2020-07-01 07:16:18 UTC (rev 657243)
@@ -2,22 +2,24 @@
 
 _name=flufl.lock
 pkgname=python-flufl-lock
-pkgver=3.2
-pkgrel=3
+pkgver=4.0
+pkgrel=1
 pkgdesc="NFS-safe file locking with timeouts for POSIX systems for Python"
 arch=('any')
 url="https://flufllock.readthedocs.io/en/latest/"
 license=('Apache')
-depends=('python-atpublic')
+depends=('python-atpublic' 'python-psutil')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-replaces=(python-flufl.lock)
+checkdepends=('python-pytest' 'python-sybil')
+replaces=('python-flufl.lock')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('496195e1c52f628bc6c0e8fc3dcd5373ed01cfee35b6165cae37ab4b90d70265c6a0aea565f1e0663277c2b9e9bafde8af1420133a15e6254275fad2f28a56d0')
+sha512sums=('78f984ca691ca720a78e01928352b89ba7a4d4c7a4830150887d450c055658b9ce1bf010e45a26aa9b729ec06a6f22a95e7d348996412e14ea1261f1226ea71c')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
   cd "$pkgname-$pkgver"
+  # we don't use coverage with pytest
+  sed -s '/addopts/d' -i setup.cfg
 }
 
 build() {


More information about the arch-commits mailing list