[arch-commits] Commit in python-progressbar/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Sat Nov 2 22:39:43 UTC 2019


    Date: Saturday, November 2, 2019 @ 22:39:42
  Author: felixonmars
Revision: 522382

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-02 22:39:26 UTC (rev 522381)
+++ PKGBUILD	2019-11-02 22:39:42 UTC (rev 522382)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# 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.47.0
-pkgrel=2
-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=('b86f03f88a31f878fbb3720d73fc7a6181a1423d862d946834327d301e6b90fc283a8ca67e9137c72ea44876710f657d762d09cac99f2630d32b735db996dc6e'
-            '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}"
-  py.test
-}
-
-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-staging-any/PKGBUILD (from rev 522381, python-progressbar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-02 22:39:42 UTC (rev 522382)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# 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.47.0
+pkgrel=3
+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=('b86f03f88a31f878fbb3720d73fc7a6181a1423d862d946834327d301e6b90fc283a8ca67e9137c72ea44876710f657d762d09cac99f2630d32b735db996dc6e'
+            '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}"
+  py.test
+}
+
+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