[arch-commits] Commit in python-subprocess-tee/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Dec 2 20:02:39 UTC 2021
Date: Thursday, December 2, 2021 @ 20:02:39
Author: foutrelis
Revision: 1062460
archrelease: copy trunk to community-staging-any
Added:
python-subprocess-tee/repos/community-staging-any/PKGBUILD
(from rev 1062459, python-subprocess-tee/trunk/PKGBUILD)
Deleted:
python-subprocess-tee/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 20:02:35 UTC (rev 1062459)
+++ PKGBUILD 2021-12-02 20:02:39 UTC (rev 1062460)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=subprocess-tee
-pkgname=python-subprocess-tee
-pkgver=0.3.5
-pkgrel=2
-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=('47de075e7b6c75598dac0ad1899e1cce9dc1131b49c35ccade2b67c8d2a2d0248ce22a20c336519ff00bfd57269613bc663012e48cf0afa087c93ee74e18e4d4')
-b2sums=('6eb25085eb2b2ee4557efd556d8035ab8f6b781b47783f24f227db04b3f82fffcfa29d69f0e3588c3fa6188446a3d96d4421e6b1ea5b3292f42635e19a404bab')
-
-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-staging-any/PKGBUILD (from rev 1062459, python-subprocess-tee/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 20:02:39 UTC (rev 1062460)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=subprocess-tee
+pkgname=python-subprocess-tee
+pkgver=0.3.5
+pkgrel=3
+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=('47de075e7b6c75598dac0ad1899e1cce9dc1131b49c35ccade2b67c8d2a2d0248ce22a20c336519ff00bfd57269613bc663012e48cf0afa087c93ee74e18e4d4')
+b2sums=('6eb25085eb2b2ee4557efd556d8035ab8f6b781b47783f24f227db04b3f82fffcfa29d69f0e3588c3fa6188446a3d96d4421e6b1ea5b3292f42635e19a404bab')
+
+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