Date: Friday, April 21, 2023 @ 19:06:42
Author: arojas
Revision: 1448200
archrelease: copy trunk to community-staging-any
Added:
python-filelock/repos/community-staging-any/PKGBUILD
(from rev 1448199, python-filelock/trunk/PKGBUILD)
Deleted:
python-filelock/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-21 19:06:32 UTC (rev 1448199)
+++ PKGBUILD 2023-04-21 19:06:42 UTC (rev 1448200)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-filelock
-pkgver=3.8.2
-_commit=b8b6f2bdf673bbc404769c8ad749fcd9374af691
-pkgrel=4
-pkgdesc="A platform independent file lock"
-url="https://github.com/benediktschmitt/py-filelock"
-license=('custom:Unlicense')
-arch=('any')
-depends=('python')
-makedepends=('git' 'python-setuptools' 'python-setuptools-scm')
-checkdepends=('python-pytest' 'python-pytest-timeout')
-source=("git+https://github.com/benediktschmitt/py-filelock.git#commit=$_commit")
-sha512sums=('SKIP')
-
-build() {
- cd py-filelock
- python setup.py build
-}
-
-check() {
- cd py-filelock
- PYTHONPATH=src pytest tests
-}
-
-package() {
- cd py-filelock
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-filelock/repos/community-staging-any/PKGBUILD (from rev 1448199,
python-filelock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-21 19:06:42 UTC (rev 1448200)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-filelock
+pkgver=3.12.0
+_commit=b4713c946cf8bcd65276bffbccef8f269d504dbd
+pkgrel=2
+pkgdesc="A platform independent file lock"
+url="https://github.com/benediktschmitt/py-filelock"
+license=('custom:Unlicense')
+arch=('any')
+depends=('python')
+makedepends=('git' 'python-build' 'python-installer' 'python-hatchling'
'python-hatch-vcs')
+checkdepends=('python-pytest' 'python-pytest-timeout' 'python-pytest-mock')
+source=("git+https://github.com/benediktschmitt/py-filelock.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd py-filelock
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd py-filelock
+ PYTHONPATH=src pytest tests
+}
+
+package() {
+ cd py-filelock
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}