diff --git a/python3-pytest-regressions/alr.sh b/python3-pytest-regressions/alr.sh new file mode 100644 index 0000000..0f46237 --- /dev/null +++ b/python3-pytest-regressions/alr.sh @@ -0,0 +1,33 @@ +name='python3-pytest-regressions' +version='2.7.0' +release='1' +desc='Fixtures to write regression tests.' +homepage='https://github.com/ESSS/pytest-regressions' +maintainer='Евгений Храмов ' +architectures=('all') +license=('MIT') +provides=('pytest-regressions') +conflicts=('pytest-regressions') + +deps=("python3") +deps_arch=("python") +deps_alpine=("python3") +deps_almalinux=("python3") + +build_deps=("python3" "python3-pip") +build_deps_arch=("python" "python-pip") +build_deps_alpine=("python3" "py3-pip") +build_deps_almalinux=("python3" "python3-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 +} \ No newline at end of file diff --git a/python3-wheel/alr.sh b/python3-wheel/alr.sh index fbb451b..b8c0505 100644 --- a/python3-wheel/alr.sh +++ b/python3-wheel/alr.sh @@ -19,7 +19,7 @@ build_deps_arch=("python" "python-pip") build_deps_alpine=("python3" "py3-pip") build_deps_almalinux=("python3" "python3-pip") -sources=("https://files.pythonhosted.org/packages/source/w/wheel/wheel-0.45.1.tar.gz") +sources=("https://files.pythonhosted.org/packages/source/w/wheel/wheel-${version}.tar.gz") checksums=('blake2b-256:8a982d9906746cdc6a6ef809ae6338005b3f21bb568bea3165cfc6a243fdc25c') build() {