mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/pdm: upgrade to 2.18.1
This commit is contained in:
parent
f5d73ba675
commit
447d4b9386
@ -1,8 +1,8 @@
|
|||||||
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||||||
pkgname=pdm
|
pkgname=pdm
|
||||||
pkgver=2.12.4
|
pkgver=2.18.1
|
||||||
pkgrel=1
|
pkgrel=0
|
||||||
pkgdesc="Modern Python package and dependency manager"
|
pkgdesc="Modern Python package and dependency manager"
|
||||||
url="https://pdm.fming.dev/"
|
url="https://pdm.fming.dev/"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
@ -16,6 +16,7 @@ depends="
|
|||||||
py3-findpython
|
py3-findpython
|
||||||
py3-installer
|
py3-installer
|
||||||
py3-packaging
|
py3-packaging
|
||||||
|
py3-pbs-installer
|
||||||
py3-platformdirs
|
py3-platformdirs
|
||||||
py3-pyproject-hooks
|
py3-pyproject-hooks
|
||||||
py3-requests-toolbelt
|
py3-requests-toolbelt
|
||||||
@ -30,6 +31,7 @@ depends="
|
|||||||
makedepends="py3-pdm-backend py3-gpep517 py3-installer"
|
makedepends="py3-pdm-backend py3-gpep517 py3-installer"
|
||||||
checkdepends="
|
checkdepends="
|
||||||
bash
|
bash
|
||||||
|
py3-hishel
|
||||||
py3-pytest
|
py3-pytest
|
||||||
py3-pytest-httpserver
|
py3-pytest-httpserver
|
||||||
py3-pytest-mock
|
py3-pytest-mock
|
||||||
@ -37,6 +39,7 @@ checkdepends="
|
|||||||
"
|
"
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="https://github.com/pdm-project/pdm/archive/$pkgver/pdm-$pkgver.tar.gz"
|
source="https://github.com/pdm-project/pdm/archive/$pkgver/pdm-$pkgver.tar.gz"
|
||||||
|
options="net" # TODO: why does this even do networking in tests
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
export PDM_BUILD_SCM_VERSION=$pkgver
|
export PDM_BUILD_SCM_VERSION=$pkgver
|
||||||
@ -48,7 +51,9 @@ build() {
|
|||||||
check() {
|
check() {
|
||||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||||
.testenv/bin/python3 -m installer .dist/*.whl
|
.testenv/bin/python3 -m installer .dist/*.whl
|
||||||
.testenv/bin/python3 -m pytest -k 'not test_use_wrapper_python'
|
.testenv/bin/python3 -m pytest \
|
||||||
|
-k 'not test_use_wrapper_python' \
|
||||||
|
--deselect tests/cli/test_build.py::test_build_with_no_isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
@ -57,5 +62,5 @@ package() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
3a73baf34adcd8a7d8fbd84340ad06d7759db8378ccbe7a61705f46ae97a31dc72fd3b98c4ae06f70eb6ed02234d46c71bb185f30a3ec8f2a5803583278bafd4 pdm-2.12.4.tar.gz
|
96362bbff09145f5e383fc5226c6d261e94753e9c04764fdf0572409864be25be7815a00b2430fe28049fe696579d7a5dc6f9ad8f8ba07fdcbb0c1bf6c731bf3 pdm-2.18.1.tar.gz
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user