[arch-commits] Commit in python-bracex/repos (2 files)

Frederik Schwan freswa at gemini.archlinux.org
Tue Oct 19 13:13:08 UTC 2021


    Date: Tuesday, October 19, 2021 @ 13:13:08
  Author: freswa
Revision: 1030971

archrelease: copy trunk to community-testing-any

Added:
  python-bracex/repos/community-testing-any/
  python-bracex/repos/community-testing-any/PKGBUILD
    (from rev 1030970, python-bracex/trunk/PKGBUILD)

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

Copied: python-bracex/repos/community-testing-any/PKGBUILD (from rev 1030970, python-bracex/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-10-19 13:13:08 UTC (rev 1030971)
@@ -0,0 +1,23 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+
+pkgname=python-bracex
+pkgver=2.2
+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=('18e14711840c02c814c44c0f7f939e69091d34f8e1d25494e802ce5d5ae1debce73bb9cb7cf27ff6e431cc7a71e2fc3f247109c2b24875af5c06aba315028e8f')
+
+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