[arch-commits] Commit in python-flufl-lock/repos/community-any (PKGBUILD PKGBUILD)

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


    Date: Wednesday, July 1, 2020 @ 07:16:34
  Author: dvzrv
Revision: 657244

archrelease: copy trunk to community-any

Added:
  python-flufl-lock/repos/community-any/PKGBUILD
    (from rev 657243, python-flufl-lock/trunk/PKGBUILD)
Deleted:
  python-flufl-lock/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 43 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-01 07:16:18 UTC (rev 657243)
+++ PKGBUILD	2020-07-01 07:16:34 UTC (rev 657244)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=flufl.lock
-pkgname=python-flufl-lock
-pkgver=3.2
-pkgrel=3
-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')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-replaces=(python-flufl.lock)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('496195e1c52f628bc6c0e8fc3dcd5373ed01cfee35b6165cae37ab4b90d70265c6a0aea565f1e0663277c2b9e9bafde8af1420133a15e6254275fad2f28a56d0')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-flufl-lock/repos/community-any/PKGBUILD (from rev 657243, python-flufl-lock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-01 07:16:34 UTC (rev 657244)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=flufl.lock
+pkgname=python-flufl-lock
+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' 'python-psutil')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-sybil')
+replaces=('python-flufl.lock')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+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() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


More information about the arch-commits mailing list