Date: Friday, July 15, 2022 @ 02:41:13 Author: felixonmars Revision: 1252764
archrelease: copy trunk to community-any Added: python-filelock/repos/community-any/PKGBUILD (from rev 1252763, python-filelock/trunk/PKGBUILD) Deleted: python-filelock/repos/community-any/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-15 02:40:52 UTC (rev 1252763) +++ PKGBUILD 2022-07-15 02:41:13 UTC (rev 1252764) @@ -1,32 +0,0 @@ -# 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 -} Copied: python-filelock/repos/community-any/PKGBUILD (from rev 1252763, python-filelock/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-15 02:41:13 UTC (rev 1252764) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-filelock +pkgver=3.6.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=('f55ad90d79e90eb5a915afffecc632566456604a62b89fb13304c5812e05a34c508c863e76246a254acd98f55930d3179b0908a06d1e5a203d578a826a048ae2') + +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 +}