Files
alr-repo/python3-pytest-regressions/alr.sh

51 lines
1.7 KiB
Bash

name='python3-pytest-regressions'
version='2.8.3'
release='2'
desc='Fixtures to write regression tests'
desc_ru='Библиотека Python для написания регрессионных тестов'
homepage='https://github.com/ESSS/pytest-regressions'
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all')
license=('MIT')
provides=('pytest-regressions')
conflicts=('pytest-regressions')
deps=('python3' 'python3-pytest')
deps_alt=('python3' 'python3-module-pytest')
deps_arch=('python' 'python-pytest')
deps_debian=('python3' 'python3-pytest')
deps_fedora=('python3' 'python3-pytest')
deps_redos=("${deps_fedora[@]}")
deps_rhel=("${deps_fedora[@]}")
deps_rosa=("${deps_fedora[@]}")
deps_alpine=('python3' 'py3-pytest')
build_deps=('python3' 'python3-pip')
build_deps_alt=('python3' 'python3-module-pip')
build_deps_arch=('python' 'python-pip')
build_deps_debian=('python3' 'python3-pip')
build_deps_fedora=("${build_deps[@]}")
build_deps_redos=("${build_deps[@]}")
build_deps_rhel=("${build_deps[@]}")
build_deps_rosa=("${build_deps[@]}")
build_deps_alpine=('python3' 'py3-pip')
sources=("https://files.pythonhosted.org/packages/source/p/pytest-regressions/pytest_regressions-${version}.tar.gz")
checksums=('blake2b-256:07402e233d49a86e2ba88325bcfdcad77fa56b05ba7ca61b58bc0212330e560a')
build() {
cd "$srcdir/pytest_regressions-${version}/"
python3 -m build
}
package() {
cd "$srcdir/pytest_regressions-${version}"
python3 setup.py install --root="${pkgdir}/" --optimize=1 || return 1
}
files() {
files-find "./usr/lib/python3.*/site-packages/pytest_regressions"
files-find "./usr/lib/python3.*/site-packages/pytest_regressions-*.egg-info"
}