Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-pytest-randomly
Commits: 8f92a26f by Felix Yan at 2023-11-10T12:37:16+02:00 upgpkg: 3.14.0-1 - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,21 @@ +pkgbase = python-pytest-randomly + pkgdesc = Pytest plugin to randomly order tests and control random.seed + pkgver = 3.14.0 + pkgrel = 1 + url = https://github.com/pytest-dev/pytest-randomly + arch = any + license = MIT + checkdepends = python-factory-boy + checkdepends = python-faker + checkdepends = python-numpy + checkdepends = python-pytest-xdist + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools + makedepends = python-wheel + depends = python-importlib-metadata + depends = python-pytest + source = python-pytest-randomly-3.14.0.tar.gz::https://github.com/pytest-dev/pytest-randomly/archive/3.14.0.tar.gz + sha512sums = c088a4c4ef469fdbc1f75b9e8a0014d92256e03d4debdafcc031517c647ef16c20d5563cb0d3c4a53843f87da48c22be053ec31b1f726a3562d6ca3841002b41 + +pkgname = python-pytest-randomly ===================================== PKGBUILD ===================================== @@ -1,7 +1,7 @@ # Maintainer: Felix Yan <[email protected]> pkgname=python-pytest-randomly -pkgver=3.13.0 +pkgver=3.14.0 pkgrel=1 pkgdesc='Pytest plugin to randomly order tests and control random.seed' arch=('any') @@ -11,7 +11,7 @@ depends=('python-importlib-metadata' 'python-pytest') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') checkdepends=('python-factory-boy' 'python-faker' 'python-numpy' 'python-pytest-xdist') source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-randomly/archive/$pkgver.tar.gz") -sha512sums=('d9b6b965ad03fb504005f55cd1f4db9e733ea2412bb6456e846da8a0366123c4e537c6fea72e341e3f4bbe5fd3b78fce26599100623f26b634c97bf8519f1498') +sha512sums=('c088a4c4ef469fdbc1f75b9e8a0014d92256e03d4debdafcc031517c647ef16c20d5563cb0d3c4a53843f87da48c22be053ec31b1f726a3562d6ca3841002b41') build() { cd pytest-randomly-$pkgver @@ -20,8 +20,12 @@ build() { check() { cd pytest-randomly-$pkgver - # TODO: Understand why... - PYTHONPATH="$PWD/src" pytest --deselect tests/test_pytest_randomly.py::test_entrypoint_injection + python -m installer -d tmp_install dist/*.whl + # tests/test_pytest_randomly.py::test_model_bakery requires python-model-bakery which is not packaged + # tests/test_pytest_randomly.py::test_entrypoint_injection: TODO + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.11/site-packages" \ + pytest --deselect tests/test_pytest_randomly.py::test_model_bakery \ + --deselect tests/test_pytest_randomly.py::test_entrypoint_injection } package() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-randomly/-/commit/8f92a26fc9060945abe21c8ef725424cea4fde52 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-randomly/-/commit/8f92a26fc9060945abe21c8ef725424cea4fde52 You're receiving this email because of your account on gitlab.archlinux.org.
