[arch-commits] Commit in python-bracex/repos/community-any (PKGBUILD PKGBUILD)
Frederik Schwan
freswa at gemini.archlinux.org
Mon May 30 11:11:31 UTC 2022
Date: Monday, May 30, 2022 @ 11:11:30
Author: freswa
Revision: 1215968
archrelease: copy trunk to community-any
Added:
python-bracex/repos/community-any/PKGBUILD
(from rev 1215966, python-bracex/trunk/PKGBUILD)
Deleted:
python-bracex/repos/community-any/PKGBUILD
----------+
PKGBUILD | 46 +++++++++++++++++++++++-----------------------
1 file changed, 23 insertions(+), 23 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-30 11:11:29 UTC (rev 1215967)
+++ PKGBUILD 2022-05-30 11:11:30 UTC (rev 1215968)
@@ -1,23 +0,0 @@
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-
-pkgname=python-bracex
-pkgver=2.2.1
-pkgrel=3
-pkgdesc='Bash style brace expansion for Python'
-arch=('any')
-url='https://github.com/facelessuser/bracex'
-license=('MIT')
-makedepends=('python-setuptools')
-source=("https://github.com/facelessuser/bracex/archive/${pkgver}/bracex-${pkgver}.tar.gz")
-b2sums=('e9eb12dd70b3cf1c6abd8a59f19d8f77f8fc85e07efad02a2c0213266b93641406d05fa8454b2b4cd6870b7f866a22c0b2132d690444f1910a599c9b17594065')
-
-build() {
- cd bracex-${pkgver}
- python3 setup.py build
-}
-
-package() {
- cd bracex-${pkgver}
- python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE.md "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: python-bracex/repos/community-any/PKGBUILD (from rev 1215966, python-bracex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-30 11:11:30 UTC (rev 1215968)
@@ -0,0 +1,23 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+
+pkgname=python-bracex
+pkgver=2.3
+pkgrel=1
+pkgdesc='Bash style brace expansion for Python'
+arch=('any')
+url='https://github.com/facelessuser/bracex'
+license=('MIT')
+makedepends=('python-build' 'python-hatchling' 'python-installer' 'python-wheel')
+source=("https://github.com/facelessuser/bracex/archive/${pkgver}/bracex-${pkgver}.tar.gz")
+b2sums=('c48b668c35d40337fe9096c8fbc67565ea74abf330a278e1fe070055fcf8835a60dc23fba40c0f1c0677d506c7d8f8ca5168f809b13ab0442868bc962faaf1d5')
+
+build() {
+ cd bracex-${pkgver}
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+ cd bracex-${pkgver}
+ 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