[arch-commits] Commit in python-progress/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Mon Nov 29 16:24:22 UTC 2021
Date: Monday, November 29, 2021 @ 16:24:21
Author: jelle
Revision: 1057584
archrelease: copy trunk to community-any
Added:
python-progress/repos/community-any/PKGBUILD
(from rev 1057583, python-progress/trunk/PKGBUILD)
Deleted:
python-progress/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++++++------------------------------------
1 file changed, 33 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-29 16:24:16 UTC (rev 1057583)
+++ PKGBUILD 2021-11-29 16:24:21 UTC (rev 1057584)
@@ -1,45 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Guillaume Brogi <gui-gui at netcourrier dot com>
-
-_pkgname=progress
-pkgbase=python-progress
-pkgname=('python-progress' 'python2-progress')
-pkgver=1.6
-pkgrel=1
-pkgdesc="Easy to use progress bars for Python"
-arch=('any')
-url="https://github.com/verigak/${_pkgname}"
-license=('ISC')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('e4a0d9e4370cd09f29ecdf72bf84c7177caef8374a90a627c83a84e619eb0f3d')
-
-build() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- python test_progress.py
- python2 test_progress.py
-}
-
-package_python-progress() {
- depends=('python')
-
- cd "${srcdir}"/${_pkgname}-${pkgver}
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-progress() {
- depends=('python2')
-
- cd "${srcdir}"/${_pkgname}-${pkgver}
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: python-progress/repos/community-any/PKGBUILD (from rev 1057583, python-progress/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-29 16:24:21 UTC (rev 1057584)
@@ -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=2
+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