Date: Saturday, September 24, 2022 @ 08:28:43
Author: dvzrv
Revision: 1309272
archrelease: copy trunk to community-any
Added:
python-pytest-shell-utilities/repos/community-any/PKGBUILD
(from rev 1309271, python-pytest-shell-utilities/trunk/PKGBUILD)
Deleted:
python-pytest-shell-utilities/repos/community-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-24 08:28:41 UTC (rev 1309271)
+++ PKGBUILD 2022-09-24 08:28:43 UTC (rev 1309272)
@@ -1,36 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=pytest-shell-utilities
-pkgname=python-pytest-shell-utilities
-pkgver=1.6.0
-pkgrel=1
-pkgdesc="Pytest plugin providing fixtures and code to help with running shell
commands on tests"
-arch=(any)
-url="https://github.com/saltstack/pytest-shell-utilities"
-license=(Apache)
-depends=(python python-attrs python-pytest python-pytest-helpers-namespace
python-pytest-skip-markers python-psutil python-typing-extensions)
-makedepends=(python-build python-installer python-setuptools
python-setuptools-declarative-requirements python-setuptools-scm python-toml
python-wheel)
-checkdepends=(python-pytest-subtests)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha256sums=('9a2e04404d2243348080c3d12588e8fef002f6c96e406784c19dc01d1c8cd477')
-b2sums=('666253d51cbc5d1e3622ceb6130497d0dac130c686cb0b0c6f411125c00e26d303c042b0f1d5c469528f442ac725d80857ecd21442aa580c68b11702e21add69')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
- python -m installer --destdir=test_dir dist/*.whl
- export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
- pytest -vv
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 {CHANGELOG,README}.rst -t "$pkgdir/usr/share/doc/$pkgname/"
-}
Copied: python-pytest-shell-utilities/repos/community-any/PKGBUILD (from rev
1309271, python-pytest-shell-utilities/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-24 08:28:43 UTC (rev 1309272)
@@ -0,0 +1,36 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=pytest-shell-utilities
+pkgname=python-pytest-shell-utilities
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Pytest plugin providing fixtures and code to help with running shell
commands on tests"
+arch=(any)
+url="https://github.com/saltstack/pytest-shell-utilities"
+license=(Apache)
+depends=(python python-attrs python-pytest python-pytest-helpers-namespace
python-pytest-skip-markers python-psutil python-typing-extensions)
+makedepends=(python-build python-installer python-setuptools
python-setuptools-declarative-requirements python-setuptools-scm python-toml
python-wheel)
+checkdepends=(python-pytest-subtests)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('98a78d7a9c5385e066f04bbfeb5df1b43d76d9d3d45749c4267385f58b99f751')
+b2sums=('bb3760f626857bca6eac3c27132416db882becfb5da551cab19d513d700367943697e0ffb980b4189bb7965d0f082f3fcee408ea6bb18e156d87cfc36c5c130a')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ cd $_name-$pkgver
+ python -m installer --destdir=test_dir dist/*.whl
+ export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+ pytest -vv
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 {CHANGELOG,README}.rst -t "$pkgdir/usr/share/doc/$pkgname/"
+}