[arch-commits] Commit in python-progressbar/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Apr 29 14:43:09 UTC 2020


    Date: Wednesday, April 29, 2020 @ 14:43:09
  Author: dvzrv
Revision: 622271

archrelease: copy trunk to community-any

Added:
  python-progressbar/repos/community-any/PKGBUILD
    (from rev 622270, python-progressbar/trunk/PKGBUILD)
Deleted:
  python-progressbar/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-29 14:42:57 UTC (rev 622270)
+++ PKGBUILD	2020-04-29 14:43:09 UTC (rev 622271)
@@ -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.0
-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=('a519fd269fca2ea369c3af17524eaca3c2a23b852faaf7247ecb998355ea61f2a26933d1b3304e8d25f44b771876de4fe690a1ea28b2e4c9c264592e1d65a529'
-            '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 622270, python-progressbar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-29 14:43:09 UTC (rev 622271)
@@ -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.51.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=('b421200a906aaea0b4ce86820337024e37bb25b8efb91df2ed1a19ba29086af677167d08248a51c26d149fe0fa5f5a759a6b22ca4c740ff3cbb2ed320bdd674a'
+            '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