[arch-commits] Commit in python-pytest-randomly/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Feb 27 15:20:54 UTC 2020
Date: Thursday, February 27, 2020 @ 15:20:53
Author: felixonmars
Revision: 584254
upgpkg: python-pytest-randomly 3.1.0-1
Modified:
python-pytest-randomly/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-27 15:18:10 UTC (rev 584253)
+++ PKGBUILD 2020-02-27 15:20:53 UTC (rev 584254)
@@ -1,7 +1,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-pytest-randomly
-pkgver=3.0.0
+pkgver=3.1.0
pkgrel=1
pkgdesc='Pytest plugin to randomly order tests and control random.seed'
arch=('any')
@@ -8,9 +8,9 @@
license=('BSD')
url='https://github.com/pytest-dev/pytest-randomly'
depends=('python-pytest')
-checkdepends=('python-faker' 'python-numpy' 'python-factory-boy')
+checkdepends=('python-entrypoints' 'python-faker' 'python-numpy' 'python-factory-boy')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-randomly/archive/$pkgver.tar.gz")
-sha512sums=('feef2c4f525065f141e748eff483308ec1c2119d835b114915f5684c5a554829214cd90b6d6e72fa49e65296261618f9a62a5de3912ee3028e11e6a020ff71ec')
+sha512sums=('dc5272f343a660125241d20cfe6cd98aff59749b491b5f86f9acddfe2c464d5f03a378365e30e385db043131ea03f47d620e8370611e9c5157eae7295fe59850')
prepare() {
cd pytest-randomly-$pkgver
@@ -23,11 +23,9 @@
}
check() {
- # Hack entry points by installing it
-
cd pytest-randomly-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" pytest
+ python setup.py egg_info
+ pytest
}
package() {
More information about the arch-commits
mailing list