Date: Sunday, October 30, 2022 @ 22:55:52
Author: dvzrv
Revision: 1339700
archrelease: copy trunk to community-any
Added:
python-pytest-metadata/repos/community-any/PKGBUILD
(from rev 1339699, python-pytest-metadata/trunk/PKGBUILD)
Deleted:
python-pytest-metadata/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-30 22:55:39 UTC (rev 1339699)
+++ PKGBUILD 2022-10-30 22:55:52 UTC (rev 1339700)
@@ -1,37 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=pytest_metadata
-pkgname=python-pytest-metadata
-pkgver=2.0.3
-pkgrel=1
-pkgdesc="Plugin for accessing test session metadata"
-arch=(any)
-url="https://github.com/pytest-dev/pytest-metadata"
-license=(MPL2)
-depends=(python-pytest)
-makedepends=(python-build python-installer python-poetry-core python-wheel)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('17b1b88418f1a33926d6d4bf7b2a662d7848fa61f760dd6dab75e706197426e54b298976603b23f0882ca6315af447f7a22c90dd5691017bd70064f5527c0309')
-b2sums=('9e0a58c26f3e5343f6694f45d55689c17313753733573a7c0ab9a972b222a0ec74f1d89c8a5810b3c56f6417b30e9caa9f2580af78d21a954aacec70098c229c')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
- local _test_dir='test_dir'
-
- cd $_name-$pkgver
- # install to temporary location, as entrypoints are used
- 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 README.rst -t "$pkgdir/usr/share/doc/$pkgname/"
-}
Copied: python-pytest-metadata/repos/community-any/PKGBUILD (from rev 1339699,
python-pytest-metadata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-30 22:55:52 UTC (rev 1339700)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=pytest_metadata
+pkgname=python-pytest-metadata
+pkgver=2.0.4
+pkgrel=1
+pkgdesc="Plugin for accessing test session metadata"
+arch=(any)
+url="https://github.com/pytest-dev/pytest-metadata"
+license=(MPL2)
+depends=(python-pytest)
+makedepends=(python-build python-installer python-poetry-core python-wheel)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('6947c9dd4d1a30cb5bcbfe24b10c4c8b077c64fd34faf5e24556be59b64d262c7c16eb1a5e8dcc78adbef8f25cf5a18ebfa23ff1d9296c1f80f0e3d7eadcc939')
+b2sums=('a67159a5d4ec229a5a4419fbed251e7e13126fea92feacce3ea06d3299f7fea3489253d4c380ce23fff1c9b86bc140f1143196a249a53680743c95507f909656')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ local _test_dir='test_dir'
+
+ cd $_name-$pkgver
+ # install to temporary location, as entrypoints are used
+ 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 README.rst -t "$pkgdir/usr/share/doc/$pkgname/"
+}