Date: Monday, June 6, 2022 @ 09:53:35 Author: felixonmars Revision: 1225544
archrelease: copy trunk to community-any Added: python-filelock/repos/community-any/PKGBUILD (from rev 1225543, python-filelock/trunk/PKGBUILD) Deleted: python-filelock/repos/community-any/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-06 09:53:23 UTC (rev 1225543) +++ PKGBUILD 2022-06-06 09:53:35 UTC (rev 1225544) @@ -1,32 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-filelock -pkgver=3.5.0 -pkgrel=1 -pkgdesc="A platform independent file lock" -url="https://github.com/benediktschmitt/py-filelock" -license=('custom:Unlicense') -arch=('any') -depends=('python') -makedepends=('python-setuptools' 'python-setuptools-scm') -checkdepends=('python-pytest' 'python-pytest-timeout') -source=("$pkgname-$pkgver.tar.gz::https://github.com/benediktschmitt/py-filelock/archive/$pkgver.tar.gz") -sha512sums=('f46e1ac8b022a9aead975d6cda406d1a25ad19290cd64f1f179d6823d33013aeb4f3b42d2c90764a0607a8b9e67c3e287a565e7d4b07ddce63cafc5e988d7d2c') - -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - -build() { - cd py-filelock-$pkgver - python setup.py build -} - -check() { - cd py-filelock-$pkgver - PYTHONPATH=src pytest tests -} - -package() { - cd py-filelock-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-filelock/repos/community-any/PKGBUILD (from rev 1225543, python-filelock/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-06 09:53:35 UTC (rev 1225544) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-filelock +pkgver=3.5.1 +pkgrel=1 +pkgdesc="A platform independent file lock" +url="https://github.com/benediktschmitt/py-filelock" +license=('custom:Unlicense') +arch=('any') +depends=('python') +makedepends=('python-setuptools' 'python-setuptools-scm') +checkdepends=('python-pytest' 'python-pytest-timeout') +source=("$pkgname-$pkgver.tar.gz::https://github.com/benediktschmitt/py-filelock/archive/$pkgver.tar.gz") +sha512sums=('9bcebdf7c289187f22ec4b7b2e2b1756e4eba1d5a79896a6ab3143c853e5e58bb67f800bba4c8aec6bc93346e0d5a27cc34f7d4faa123788233face8d5afdb75') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd py-filelock-$pkgver + python setup.py build +} + +check() { + cd py-filelock-$pkgver + PYTHONPATH=src pytest tests +} + +package() { + cd py-filelock-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname +}