* python-markdown: Update to 3.9 * python-pytest: Update to 8.4.2 * python-lxml: Update to 6.0.1 * python-setuptools-scm: Update to 9.2.0 * gi-docgen: Update to 2025.4
44 lines
1.2 KiB
Bash
44 lines
1.2 KiB
Bash
# Maintainer: J. Peter Mugaas <jpmugaas@suddenlink.net>
|
|
|
|
pkgbase=python-pytest
|
|
pkgname=('python-pytest')
|
|
pkgver=8.4.2
|
|
pkgrel=1
|
|
provides=("python3-pytest")
|
|
replaces=("python3-pytest")
|
|
conflicts=("python3-pytest")
|
|
pkgdesc="Simple powerful testing with Python"
|
|
arch=('any')
|
|
license=('spdx:MIT')
|
|
url="https://pytest.org/"
|
|
msys2_repository_url="https://github.com/pytest-dev/pytest"
|
|
msys2_references=(
|
|
"anitya: 3765"
|
|
"purl: pkg:pypi/pytest"
|
|
)
|
|
depends=('python'
|
|
'python-attrs'
|
|
'python-pluggy'
|
|
'python-packaging'
|
|
'python-iniconfig'
|
|
'python-pygments')
|
|
makedepends=('python-build'
|
|
'python-installer'
|
|
'python-setuptools'
|
|
'python-setuptools-scm')
|
|
source=("pytest-${pkgver}.tar.gz::https://github.com/pytest-dev/pytest/archive/${pkgver}.tar.gz")
|
|
sha256sums=('cf4388e84d74018068b3ffc158aaecfa2c077f7fa1db320ca2862bbecccf284d')
|
|
|
|
build() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
|
|
|
|
cd "${srcdir}/pytest-${pkgver}"
|
|
/usr/bin/python -m build --wheel --skip-dependency-check --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd pytest-${pkgver}
|
|
/usr/bin/python -m installer --destdir="${pkgdir}" dist/*.whl
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|