python-pytest: update to 7.2.0
This commit is contained in:
parent
d2f9e751e0
commit
aab9e49042
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgbase=python-pytest
|
pkgbase=python-pytest
|
||||||
pkgname=('python-pytest')
|
pkgname=('python-pytest')
|
||||||
pkgver=7.1.2
|
pkgver=7.2.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
provides=("python3-pytest")
|
provides=("python3-pytest")
|
||||||
replaces=("python3-pytest")
|
replaces=("python3-pytest")
|
||||||
@ -12,27 +12,28 @@ arch=('any')
|
|||||||
license=('MIT')
|
license=('MIT')
|
||||||
url="https://pytest.org/"
|
url="https://pytest.org/"
|
||||||
depends=('python'
|
depends=('python'
|
||||||
'python-atomicwrites'
|
|
||||||
'python-attrs'
|
'python-attrs'
|
||||||
'python-pluggy'
|
'python-pluggy'
|
||||||
'python-py'
|
|
||||||
'python-packaging'
|
'python-packaging'
|
||||||
'python-iniconfig'
|
'python-iniconfig'
|
||||||
'python-tomli')
|
'python-tomli')
|
||||||
makedepends=('python-setuptools-scm'
|
makedepends=('python-build'
|
||||||
'python-setuptools')
|
'python-installer'
|
||||||
|
'python-setuptools'
|
||||||
|
'python-setuptools-scm'
|
||||||
|
'python-wheel')
|
||||||
source=("pytest-${pkgver}.tar.gz::https://github.com/pytest-dev/pytest/archive/${pkgver}.tar.gz")
|
source=("pytest-${pkgver}.tar.gz::https://github.com/pytest-dev/pytest/archive/${pkgver}.tar.gz")
|
||||||
sha256sums=('7c42e4e67fe31a334594a30d6034899fe2202e48ba06a53747c7e1b9881d5320')
|
sha256sums=('cb62381a473a6cfce8e4b5d2fc873ec248e64f5a7a6ce06fa312e3023c65c25e')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
|
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
|
||||||
|
|
||||||
cd "${srcdir}/pytest-${pkgver}"
|
cd "${srcdir}/pytest-${pkgver}"
|
||||||
/usr/bin/python setup.py build
|
/usr/bin/python -m build --wheel --skip-dependency-check --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd pytest-${pkgver}
|
cd pytest-${pkgver}
|
||||||
/usr/bin/python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
/usr/bin/python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user