Date: Tuesday, January 31, 2023 @ 19:56:11
Author: felixonmars
Revision: 1391501
archrelease: copy trunk to community-any
Added:
python-pytest-runner/repos/community-any/PKGBUILD
(from rev 1391500, python-pytest-runner/trunk/PKGBUILD)
Deleted:
python-pytest-runner/repos/community-any/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 19:55:59 UTC (rev 1391500)
+++ PKGBUILD 2023-01-31 19:56:11 UTC (rev 1391501)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pytest-runner
-pkgver=6.0.0
-pkgrel=1
-pkgdesc="Invoke py.test as distutils command with dependency resolution"
-arch=('any')
-license=('MIT')
-url="https://github.com/pytest-dev/pytest-runner"
-depends=('python-pytest' 'python-setuptools')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
-checkdepends=('python-pytest-virtualenv' 'python-pytest-enabler')
-source=("https://github.com/pytest-dev/pytest-runner/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('8628f4b2ef24a1bcd3294efcfad289cb96949b0b1176e64b2033b8767c5fd217acdf763a3cdb137af6043e0dacd64a76d0a104674dc88464fbb473df37d24c61')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd pytest-runner-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd pytest-runner-$pkgver
- PYTHONPATH="$PWD" pytest
-}
-
-package() {
- cd pytest-runner-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-pytest-runner/repos/community-any/PKGBUILD (from rev 1391500,
python-pytest-runner/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 19:56:11 UTC (rev 1391501)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pytest-runner
+pkgver=6.0.0
+_commit=a3dc9f4c6afea684ed48da998958470ea41f3c00
+pkgrel=2
+pkgdesc="Invoke py.test as distutils command with dependency resolution"
+arch=('any')
+license=('MIT')
+url="https://github.com/pytest-dev/pytest-runner"
+depends=('python-pytest' 'python-setuptools')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
+checkdepends=('python-pytest-virtualenv' 'python-pytest-enabler')
+source=("git+https://github.com/pytest-dev/pytest-runner.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd pytest-runner
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd pytest-runner
+ PYTHONPATH="$PWD" pytest
+}
+
+package() {
+ cd pytest-runner
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}