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

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 14:48:34 UTC 2021


    Date: Tuesday, November 30, 2021 @ 14:48:34
  Author: foutrelis
Revision: 1057734

archrelease: copy trunk to community-staging-any

Added:
  python-progress/repos/community-staging-any/
  python-progress/repos/community-staging-any/PKGBUILD
    (from rev 1057733, python-progress/trunk/PKGBUILD)

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

Copied: python-progress/repos/community-staging-any/PKGBUILD (from rev 1057733, python-progress/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 14:48:34 UTC (rev 1057734)
@@ -0,0 +1,33 @@
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Guillaume Brogi <gui-gui at netcourrier dot com>
+
+_pkgname=progress
+pkgname=python-progress
+pkgver=1.6
+pkgrel=4
+pkgdesc="Easy to use progress bars for Python"
+arch=('any')
+url="https://github.com/verigak/${_pkgname}"
+license=('ISC')
+depends=('python')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('e4a0d9e4370cd09f29ecdf72bf84c7177caef8374a90a627c83a84e619eb0f3d')
+
+build() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python test_progress.py
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+	install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list