[arch-commits] Commit in python-bracex/trunk (PKGBUILD)
Frederik Schwan
freswa at gemini.archlinux.org
Mon May 30 11:11:26 UTC 2022
Date: Monday, May 30, 2022 @ 11:11:25
Author: freswa
Revision: 1215966
upgpkg: python-bracex 2.3-1
Modified:
python-bracex/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-30 11:11:18 UTC (rev 1215965)
+++ PKGBUILD 2022-05-30 11:11:25 UTC (rev 1215966)
@@ -1,23 +1,23 @@
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
pkgname=python-bracex
-pkgver=2.2.1
-pkgrel=3
+pkgver=2.3
+pkgrel=1
pkgdesc='Bash style brace expansion for Python'
arch=('any')
url='https://github.com/facelessuser/bracex'
license=('MIT')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-hatchling' 'python-installer' 'python-wheel')
source=("https://github.com/facelessuser/bracex/archive/${pkgver}/bracex-${pkgver}.tar.gz")
-b2sums=('e9eb12dd70b3cf1c6abd8a59f19d8f77f8fc85e07efad02a2c0213266b93641406d05fa8454b2b4cd6870b7f866a22c0b2132d690444f1910a599c9b17594065')
+b2sums=('c48b668c35d40337fe9096c8fbc67565ea74abf330a278e1fe070055fcf8835a60dc23fba40c0f1c0677d506c7d8f8ca5168f809b13ab0442868bc962faaf1d5')
build() {
cd bracex-${pkgver}
- python3 setup.py build
+ python -m build --wheel --skip-dependency-check --no-isolation
}
package() {
cd bracex-${pkgver}
- python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE.md "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
More information about the arch-commits
mailing list