From b89ce48bea0355e5d9466314fa65e053e0dd8fce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Sun, 2 Mar 2025 14:08:07 +0300 Subject: [PATCH] python3-pytest-regressions 2.7.0-1 --- python3-pytest-regressions/alr.sh | 33 +++++++++++++++++++++++++++++++ python3-wheel/alr.sh | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 python3-pytest-regressions/alr.sh 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() {