Date: Thursday, April 6, 2023 @ 16:40:09
Author: felixonmars
Revision: 1439634
archrelease: copy trunk to community-staging-any
Added:
python-bracex/repos/community-staging-any/
python-bracex/repos/community-staging-any/PKGBUILD
(from rev 1439632, python-bracex/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: python-bracex/repos/community-staging-any/PKGBUILD (from rev 1439632,
python-bracex/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 16:40:09 UTC (rev 1439634)
@@ -0,0 +1,23 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+
+pkgname=python-bracex
+pkgver=2.3
+pkgrel=2
+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
+}