Date: Friday, April 7, 2023 @ 11:04:18
Author: felixonmars
Revision: 1441057
archrelease: copy trunk to community-staging-any
Added:
python-enlighten/repos/community-staging-any/
python-enlighten/repos/community-staging-any/PKGBUILD
(from rev 1441056, python-enlighten/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-enlighten/repos/community-staging-any/PKGBUILD (from rev
1441056, python-enlighten/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 11:04:18 UTC (rev 1441057)
@@ -0,0 +1,38 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Tharre <[email protected]>
+
+pkgname=python-enlighten
+pkgver=1.11.2
+pkgrel=2
+pkgdesc='Progress bar for Python console apps'
+url=https://github.com/Rockhopper-Technologies/enlighten
+arch=(any)
+license=(MPL2)
+depends=(
+ python-blessed
+ python-prefixed
+)
+makedepends=(
+ git
+ python-setuptools
+)
+_tag=be19ddbdfb6e76f1e703f0d54a2b26c124c881e1
+source=(git+https://github.com/Rockhopper-Technologies/enlighten.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd enlighten
+ git describe --tags
+}
+
+build() {
+ cd enlighten
+ python setup.py build
+}
+
+package() {
+ cd enlighten
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et: