Autogenerated commit at 2024-12-24 09:54:31.442810+00:00

This commit is contained in:
ahriman
2024-12-24 09:54:31 +00:00
parent 63e39fc4e4
commit 233d8929d3
5 changed files with 135 additions and 0 deletions

View File

@ -0,0 +1,18 @@
pkgbase = python-pytest-runner
pkgdesc = Invoke py.test as distutils command with dependency resolution
pkgver = 6.0.1
pkgrel = 2
url = https://github.com/pytest-dev/pytest-runner
arch = any
license = MIT
makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools-scm
makedepends = python-wheel
depends = python-pytest
depends = python-setuptools
source = git+https://github.com/pytest-dev/pytest-runner.git#commit=9d13da8bd36ecd9634629b492315cb28eff44183
sha512sums = SKIP
pkgname = python-pytest-runner

View File

@ -0,0 +1,33 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# https://github.com/pytest-dev/pytest-runner#deprecation-notice
pkgname=python-pytest-runner
pkgver=6.0.1
_commit=9d13da8bd36ecd9634629b492315cb28eff44183
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
}
# Tries to import barbazquux2
#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/
}