[arch-commits] Commit in python-flufl-lock/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 15:05:07 UTC 2020
Date: Wednesday, November 11, 2020 @ 15:05:06
Author: foutrelis
Revision: 750839
archrelease: copy trunk to community-staging-any
Added:
python-flufl-lock/repos/community-staging-any/PKGBUILD
(from rev 750838, python-flufl-lock/trunk/PKGBUILD)
Deleted:
python-flufl-lock/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 15:05:02 UTC (rev 750838)
+++ PKGBUILD 2020-11-11 15:05:06 UTC (rev 750839)
@@ -1,43 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=flufl.lock
-pkgname=python-flufl-lock
-pkgver=5.0.3
-pkgrel=2
-pkgdesc="NFS-safe file locking with timeouts for POSIX systems for Python"
-arch=('any')
-url="https://gitlab.com/warsaw/flufl.lock"
-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=('e5a7cca0b239b1db7cbdcad2c2a3aaa2da98a98c8d7901fa853b738804d457a0c82f25016987bd7dbc1b3aae1b48de72af1e2dac8dd30f74b2311baaaee2ac00')
-b2sums=('3b4098862fd7eea978f7fa717ce2f15231db05c304efea91b580bb248da70c5814ed150105a05159dab15c9cbeb31de1e493b1d0d482aa4187d017ce4b6732dd')
-
-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 \
- --root="${pkgdir}"
- install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-flufl-lock/repos/community-staging-any/PKGBUILD (from rev 750838, python-flufl-lock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 15:05:06 UTC (rev 750839)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=flufl.lock
+pkgname=python-flufl-lock
+pkgver=5.0.3
+pkgrel=3
+pkgdesc="NFS-safe file locking with timeouts for POSIX systems for Python"
+arch=('any')
+url="https://gitlab.com/warsaw/flufl.lock"
+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=('e5a7cca0b239b1db7cbdcad2c2a3aaa2da98a98c8d7901fa853b738804d457a0c82f25016987bd7dbc1b3aae1b48de72af1e2dac8dd30f74b2311baaaee2ac00')
+b2sums=('3b4098862fd7eea978f7fa717ce2f15231db05c304efea91b580bb248da70c5814ed150105a05159dab15c9cbeb31de1e493b1d0d482aa4187d017ce4b6732dd')
+
+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 \
+ --root="${pkgdir}"
+ install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list