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

David Runge dvzrv at gemini.archlinux.org
Mon Sep 13 20:59:57 UTC 2021


    Date: Monday, September 13, 2021 @ 20:59:57
  Author: dvzrv
Revision: 1014726

archrelease: copy trunk to community-any

Added:
  python-subprocess-tee/repos/community-any/PKGBUILD
    (from rev 1014725, python-subprocess-tee/trunk/PKGBUILD)
Deleted:
  python-subprocess-tee/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-13 20:59:48 UTC (rev 1014725)
+++ PKGBUILD	2021-09-13 20:59:57 UTC (rev 1014726)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=subprocess-tee
-pkgname=python-subprocess-tee
-pkgver=0.3.2
-pkgrel=1
-pkgdesc="A subprocess.run that works like tee"
-arch=('any')
-url="https://github.com/pycontribs/subprocess-tee"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools_scm' 'python-toml')
-checkdepends=('python-mock' 'python-pytest' 'python-pytest-xdist' 'python-enrich')
-optdepends=('python-enrich: for rich text rendering')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('e681abc27623a3e05031bc05dc15e34f82c9cb544cd16742855411a9edb11fe8e38f9d11f8e651681d04081f121a47c38ebd172d70d282c8110a62699ef687d6')
-b2sums=('3198832f4c8bbf90e83038e39017cff1efc61ede84aded8220214e388a088777bdb861c044cddbf4b07c7b3172f8164e8bbf82b33de68d1fefea0f81bbacdfc9')
-
-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:${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-subprocess-tee/repos/community-any/PKGBUILD (from rev 1014725, python-subprocess-tee/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-13 20:59:57 UTC (rev 1014726)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=subprocess-tee
+pkgname=python-subprocess-tee
+pkgver=0.3.4
+pkgrel=1
+pkgdesc="A subprocess.run that works like tee"
+arch=('any')
+url="https://github.com/pycontribs/subprocess-tee"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools-scm' 'python-setuptools-scm-git-archive' 'python-toml')
+checkdepends=('molecule' 'python-mock' 'python-pytest' 'python-pytest-xdist' 'python-enrich')
+optdepends=('python-enrich: for rich text rendering')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('6a97ddc75b7e7954bb7f5f3bf05807e8dd892869cc13e60344c5f40363bdff4ec5441f829cfbcb8c3c4ab7f7b2697c0b1d4a871be8164acd7cfb6fea5032ae4b')
+b2sums=('6a98caa111a73ef7062f26796dd3e919d05103ae4de88e2c5ce3acc04d9fbde6b31e39a1cee1984fd8d59b8168ab33faf7ff15c916d52a226ff2cb760fd8c796')
+
+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:${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