[arch-commits] Commit in python-fasteners/repos/community-any (PKGBUILD PKGBUILD)
Lukas Fleischer
lfleischer at gemini.archlinux.org
Fri Apr 15 18:01:53 UTC 2022
Date: Friday, April 15, 2022 @ 18:01:53
Author: lfleischer
Revision: 1186608
archrelease: copy trunk to community-any
Added:
python-fasteners/repos/community-any/PKGBUILD
(from rev 1186607, python-fasteners/trunk/PKGBUILD)
Deleted:
python-fasteners/repos/community-any/PKGBUILD
----------+
PKGBUILD | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-15 18:01:40 UTC (rev 1186607)
+++ PKGBUILD 2022-04-15 18:01:53 UTC (rev 1186608)
@@ -1,24 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Tomislav Ivek <tomislav.ivek at gmail.com>
-
-pkgname=python-fasteners
-pkgver=0.16.3
-pkgrel=3
-pkgdesc="A python package that provides useful locks."
-arch=('any')
-url="https://github.com/harlowja/fasteners"
-license=('Apache')
-depends=('python-six')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/harlowja/fasteners/archive/$pkgver.tar.gz")
-sha512sums=('72b4ead49bb0c4f0e0c4ff47cab12f645af456e9100f270b72582b68239dd2536b1b641b38693f4f3635fc977e4ffa059c249e097e8842a1325333c4a6e864f9')
-
-build() {
- cd "$srcdir/fasteners-$pkgver"
- python setup.py build
-}
-
-package() {
- cd "$srcdir/fasteners-$pkgver"
- python setup.py install --optimize=1 --root="$pkgdir"
-}
Copied: python-fasteners/repos/community-any/PKGBUILD (from rev 1186607, python-fasteners/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-15 18:01:53 UTC (rev 1186608)
@@ -0,0 +1,24 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Tomislav Ivek <tomislav.ivek at gmail.com>
+
+pkgname=python-fasteners
+pkgver=0.17.3
+pkgrel=1
+pkgdesc="A python package that provides useful locks."
+arch=('any')
+url="https://github.com/harlowja/fasteners"
+license=('Apache')
+depends=('python-six')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/harlowja/fasteners/archive/$pkgver.tar.gz")
+sha512sums=('bed890d674bbb8d0442cb0a36c81bd5d1b4e555534ce4451f1cf70dcf72e222d52ae98154d09ac0ad1e52d1a2026c532fd40df715fbbd6bc95f874a916911ec7')
+
+build() {
+ cd "$srcdir/fasteners-$pkgver"
+ python3 -m build --wheel --no-isolation
+}
+
+package() {
+ cd "$srcdir/fasteners-$pkgver"
+ python3 -m installer --destdir="$pkgdir" dist/*.whl
+}
More information about the arch-commits
mailing list