[arch-commits] Commit in python-subprocess-tee/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Apr 12 09:34:11 UTC 2021
Date: Monday, April 12, 2021 @ 09:34:11
Author: dvzrv
Revision: 915868
archrelease: copy trunk to community-any
Added:
python-subprocess-tee/repos/community-any/PKGBUILD
(from rev 915867, 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-04-12 09:33:56 UTC (rev 915867)
+++ PKGBUILD 2021-04-12 09:34:11 UTC (rev 915868)
@@ -1,44 +0,0 @@
-# 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}/"
-}
Copied: python-subprocess-tee/repos/community-any/PKGBUILD (from rev 915867, python-subprocess-tee/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-12 09:34:11 UTC (rev 915868)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=subprocess-tee
+pkgname=python-subprocess-tee
+pkgver=0.3.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' '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=('ae917944ec98bc0219fd2cb9570a0d9e0d028e9b0797e24100af153796e71fca2a756555f6f3a7419f8c503bb7a60adfbf8194e06171c148e90625f139d8788a')
+b2sums=('6b63f941b2226cd0bcc0ff208ac57b96376b2f0e7746ec1f8c589a87f68c79cadda257f1272e9197687b1f23e36919f890d8790e83bbdaebefedfdb6349835e3')
+
+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