From 90e30528ddc18b42374415a921090b793b90385f 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=D0=A5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=BE=D0=B2?= Date: Mon, 15 Dec 2025 23:54:14 +0300 Subject: [PATCH] python3-pendulum 3.1.0-6 --- python3-pendulum/alr.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python3-pendulum/alr.sh b/python3-pendulum/alr.sh index 15bf247..804491d 100644 --- a/python3-pendulum/alr.sh +++ b/python3-pendulum/alr.sh @@ -1,7 +1,7 @@ _name=pendulum name='python3-pendulum' version='3.1.0' -release='5' +release='6' desc='Python datetimes made easy' desc_ru='Библиотека Python для удобной работы с датой и временем' homepage='https://pendulum.eustace.io/' @@ -80,25 +80,25 @@ checksums=('SKIP') build() { cd $_name-$version - python -m build --wheel --no-isolation + python3 -m build --wheel --no-isolation } check() { local pytest_options=( -vv ) - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + local site_packages=$(python3 -c "import site; print(site.getsitepackages()[0])") cd $_name-$version # install to temporary location, as importlib is used - python -m installer --destdir=test_dir dist/*.whl + python3 -m installer --destdir=test_dir dist/*.whl export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH" pytest "${pytest_options[@]}" } package() { cd $_name-$version - python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl + python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl install -vDm 644 {CHANGELOG.md,README.rst} -t "$pkgdir/usr/share/doc/$name/" install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$name/" }