* update python-pytest-randomly to 3.13.0-1

This commit is contained in:
Alexander Baldeck 2023-07-28 14:47:40 +02:00
parent 3b57498790
commit e3876a2766

View File

@ -2,28 +2,21 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org> # Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-pytest-randomly pkgname=python-pytest-randomly
pkgver=3.12.0 pkgver=3.13.0
pkgrel=2 pkgrel=1
pkgdesc='Pytest plugin to randomly order tests and control random.seed' pkgdesc='Pytest plugin to randomly order tests and control random.seed'
arch=(any) arch=(any)
license=('MIT') license=('MIT')
url='https://github.com/pytest-dev/pytest-randomly' url='https://github.com/pytest-dev/pytest-randomly'
depends=('python-importlib-metadata' 'python-pytest') depends=('python-importlib-metadata' 'python-pytest')
makedepends=('python-setuptools') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
checkdepends=('python-factory-boy' 'python-faker' 'python-numpy' 'python-pytest-xdist') 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" source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-randomly/archive/$pkgver.tar.gz")
$pkgname-pytest-7.3.patch) sha512sums=('d9b6b965ad03fb504005f55cd1f4db9e733ea2412bb6456e846da8a0366123c4e537c6fea72e341e3f4bbe5fd3b78fce26599100623f26b634c97bf8519f1498')
sha512sums=('e2241c1304b9597f93cc57d6830808f85c59ea1b4815624dcd9d088f87eb4a34d6cb6394de9c31ebedcb8280fb6ff12b110fd5a559ab28c9e0381481fce52c4d'
'31a70171bd74ad21c94516fa0110878f12f6dade861bdb7c0e52ebbc39f28a7929543041303bfc29d1011414a8ce347edfa95a5dfdadcd202dc2924d4390d984')
prepare() {
cd pytest-randomly-$pkgver
patch -p1 -i ../$pkgname-pytest-7.3.patch
}
build() { build() {
cd pytest-randomly-$pkgver cd pytest-randomly-$pkgver
python setup.py build python -m build -nw
} }
check() { check() {
@ -34,8 +27,8 @@ check() {
package() { package() {
cd pytest-randomly-$pkgver cd pytest-randomly-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 python -m installer -d "$pkgdir" dist/*.whl
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
} }
# vim:set ts=2 sw=2 et: # vim:set ts=2 sw=2 et: