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

David Runge dvzrv at archlinux.org
Sun Dec 20 18:29:32 UTC 2020


    Date: Sunday, December 20, 2020 @ 18:29:32
  Author: dvzrv
Revision: 780604

archrelease: copy trunk to community-any

Added:
  python-subprocess-tee/repos/community-any/PKGBUILD
    (from rev 780603, 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	2020-12-20 18:29:23 UTC (rev 780603)
+++ PKGBUILD	2020-12-20 18:29:32 UTC (rev 780604)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=subprocess-tee
-pkgname=python-subprocess-tee
-pkgver=0.1.6
-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')
-checkdepends=('python-mock' 'python-pytest' 'python-pytest-xdist' 'python-rich')
-optdepends=('python-rich: for rich text rendering')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('e8b29e95a6a8ca45780336ef5466e6d5ab28895bdfae840ab9ae5bcc4c0c545accabbf1e922ddb80818709757f054d4d702ed77c5b8a205e8a6972cfd1ebe14b')
-b2sums=('86f0ba325475736d493d2e520577b74525b8af247c48aaca829ee0da52c3e39ee3f501d2bcb12f1587750e0155c41939d5f12c2cbe093d9f3e170b15163960b0')
-
-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 780603, python-subprocess-tee/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-20 18:29:32 UTC (rev 780604)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=subprocess-tee
+pkgname=python-subprocess-tee
+pkgver=0.2.0
+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')
+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=('f500f5bded2eeeb9b3035181d4c98d89f47c007f6e35121bde776348d7933d5b6213c9328562cdabed06b61c8999d7ad985a10b6e736d323b4770b968ec07315')
+b2sums=('678edc6fe9a467e78c3d1affa53471850df96e428c72785c03a8b9c7c64b080837d121f9cc3a98133ea9d43db3fa0b0513efc915bcd2a01cbf6821afd9d8b1a9')
+
+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