summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f84846d8663a4ce5494c87e75dac63309f5ed580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=python-pytest-random-order
_pkgname=${pkgname:7}
pkgver=1.1.0
pkgrel=1
pkgdesc="Randomise the order in which pytest tests are run with some control over the randomness"
arch=(any)
url="https://github.com/jbasko/pytest-random-orderl"
license=(MIT)
depends=(python-coverage python-py python-pytest python-pytest-xdist python-sphinx python-tox)
makedepends=(python-build python-installer python-wheel python-setuptools)
source=(https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz)
sha256sums=('dbe6debb9353a7af984cc9eddbeb3577dd4dbbcc1529a79e3d21f68ed9b45605')

build() {
  cd ${srcdir}/${_pkgname}-${pkgver}
  python -m build --wheel --no-isolation
}

package() {
  cd ${srcdir}/${_pkgname}-${pkgver}
  python -m installer --destdir="$pkgdir" dist/*.whl
}