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

David Runge dvzrv at archlinux.org
Sun Dec 20 18:25:08 UTC 2020


    Date: Sunday, December 20, 2020 @ 18:25:07
  Author: dvzrv
Revision: 780595

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-20 18:24:39 UTC (rev 780594)
+++ PKGBUILD	2020-12-20 18:25:07 UTC (rev 780595)
@@ -1,43 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=enrich
-pkgname=python-enrich
-pkgver=1.2.3
-pkgrel=1
-pkgdesc="Extends rich library functionality with a set of changes that were not accepted"
-arch=('any')
-url="https://github.com/pycontribs/enrich"
-license=('MIT')
-depends=('python-rich')
-makedepends=('python-setuptools_scm')
-checkdepends=('python-mock' 'python-pytest' 'python-pytest-mock' 'python-pytest-xdist')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('c27fd9ed534b41da8951637c8deb5eac2c76f9e65edff04fc8ef81d7ef0f31b640bd3d3d24c7945053b5df3679c9ccd4c2297e97350dc5bb1ff3a427f52bed31')
-b2sums=('c9b8b4f9093f3b686260219282209d2bbc55fcb4338a848f94b0bfdf1aab91c22c46ae59a73be35fba776f9d846f48fe9ef1d98f9e5379aef4a5526960e05539')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  # do not require to run with python-pytest-cov
-  sed -e '/addopts/d' -i setup.cfg
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build/lib:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --root="${pkgdir}"
-  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-}

Copied: python-enrich/repos/community-any/PKGBUILD (from rev 780594, python-enrich/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-20 18:25:07 UTC (rev 780595)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=enrich
+pkgname=python-enrich
+pkgver=1.2.6
+pkgrel=1
+pkgdesc="Extends rich library functionality with a set of changes that were not accepted"
+arch=('any')
+url="https://github.com/pycontribs/enrich"
+license=('MIT')
+depends=('python-rich')
+makedepends=('python-setuptools_scm')
+checkdepends=('python-mock' 'python-pytest' 'python-pytest-mock' 'python-pytest-xdist')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('07c280d3526538af9d718c6d423be50d67e8285007a6702b7f3d842725a63cb282192c29481cbea6cbe7da886b630e5694776092dc0ffcaac522ccf1e895b5a9')
+b2sums=('06f104a11b2dc85c1d80a2b14c548aaac40c78795e86b1c6ae733f884fbd7af0776af53d8cdd15c15d6abb91ca89dd7f815823b419fc2b3de322b50e55844dd0')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # do not require to run with python-pytest-cov
+  sed -e '/addopts/d' -i setup.cfg
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build/lib:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --root="${pkgdir}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}



More information about the arch-commits mailing list