[arch-commits] Commit in python-progressbar/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Mon Aug 31 13:42:01 UTC 2020
Date: Monday, August 31, 2020 @ 13:42:00
Author: jelle
Revision: 694178
archrelease: copy trunk to community-any
Added:
python-progressbar/repos/community-any/PKGBUILD
(from rev 694177, python-progressbar/trunk/PKGBUILD)
Deleted:
python-progressbar/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-31 13:41:55 UTC (rev 694177)
+++ PKGBUILD 2020-08-31 13:42:00 UTC (rev 694178)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Maxim Andersson <thesilentboatman at gmail.com>
-# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
-
-_name=progressbar2
-pkgname=python-progressbar
-pkgdesc="A progress bar for Python"
-pkgver=3.51.4
-pkgrel=1
-url="https://github.com/WoLpH/python-progressbar"
-license=('BSD')
-arch=('any')
-depends=('python-six' 'python-utils')
-makedepends=('python-setuptools' 'python-sphinx')
-checkdepends=('python-pytest' 'python-freezegun')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('b242ffdce1eccfeebe827565a631d15d5a7282f48dcc2f1e746a05a38b33b62101663e86ae8223f81334718499400dd41421c05f3a07bc6fcce8313a69fc63e3'
- 'SKIP')
-validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem <wolph at wol.ph>
-
-prepare() {
- mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
- cd "${pkgname}-${pkgver}"
- # don't care about custom pytest config
- rm -v pytest.ini
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- export PYTHONPATH="${PWD}/build:${PYTHONPATH}"
- pytest -v
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm 644 {CHANGES,CONTRIBUTING,README}.rst \
- -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: python-progressbar/repos/community-any/PKGBUILD (from rev 694177, python-progressbar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-31 13:42:00 UTC (rev 694178)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Maxim Andersson <thesilentboatman at gmail.com>
+# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
+
+_name=progressbar2
+pkgname=python-progressbar
+pkgdesc="A progress bar for Python"
+pkgver=3.52.1
+pkgrel=1
+url="https://github.com/WoLpH/python-progressbar"
+license=('BSD')
+arch=('any')
+depends=('python-six' 'python-utils')
+makedepends=('python-setuptools' 'python-sphinx')
+checkdepends=('python-pytest' 'python-freezegun')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('a7750a36b672f84a1e84006ecfe4325a51d36b02c1225696dc3ab714d21a7baeb594aeaf6401f852fb227e39dd8d1acfe05798d061eb6d223a033c31d41f13ea'
+ 'SKIP')
+validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem <wolph at wol.ph>
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
+ # don't care about custom pytest config
+ rm -v pytest.ini
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ export PYTHONPATH="${PWD}/build:${PYTHONPATH}"
+ pytest -v
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 {CHANGES,CONTRIBUTING,README}.rst \
+ -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list