[arch-commits] Commit in (4 files)

Frederik Schwan freswa at archlinux.org
Tue Feb 9 18:47:30 UTC 2021


    Date: Tuesday, February 9, 2021 @ 18:47:29
  Author: freswa
Revision: 851306

add python-bracex to [community]

Added:
  python-bracex/
  python-bracex/repos/
  python-bracex/trunk/
  python-bracex/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Added: python-bracex/trunk/PKGBUILD
===================================================================
--- python-bracex/trunk/PKGBUILD	                        (rev 0)
+++ python-bracex/trunk/PKGBUILD	2021-02-09 18:47:29 UTC (rev 851306)
@@ -0,0 +1,23 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+
+pkgname=python-bracex
+pkgver=2.1.1
+pkgrel=1
+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=('7313aac70d2bdb8473396a651a5d62a399084a0277e8c4665ef79fbe00347b86fc9793066584275f2a77c6c4cc217e6235f2f06ef4977f733039984c562ec529')
+
+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
+}



More information about the arch-commits mailing list