[arch-commits] Commit in python-bracex/repos (community-any community-any/PKGBUILD)
Frederik Schwan
freswa at archlinux.org
Tue Feb 9 18:47:50 UTC 2021
Date: Tuesday, February 9, 2021 @ 18:47:50
Author: freswa
Revision: 851308
archrelease: copy trunk to community-any
Added:
python-bracex/repos/community-any/
python-bracex/repos/community-any/PKGBUILD
(from rev 851307, python-bracex/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: python-bracex/repos/community-any/PKGBUILD (from rev 851307, python-bracex/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2021-02-09 18:47:50 UTC (rev 851308)
@@ -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