Date: Thursday, March 9, 2023 @ 17:18:34
Author: dvzrv
Revision: 1417142
archrelease: copy trunk to community-any
Added:
python-pdm/repos/community-any/PKGBUILD
(from rev 1417141, python-pdm/trunk/PKGBUILD)
Deleted:
python-pdm/repos/community-any/PKGBUILD
----------+
PKGBUILD | 138 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 69 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-09 17:18:24 UTC (rev 1417141)
+++ PKGBUILD 2023-03-09 17:18:34 UTC (rev 1417142)
@@ -1,69 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=pdm
-pkgname=python-pdm
-pkgver=2.4.7
-pkgrel=1
-pkgdesc="A modern Python package manager with PEP 582 support"
-arch=(any)
-url="https://github.com/pdm-project/pdm"
-license=(MIT)
-depends=(
- python-blinker
- python-cachecontrol
- python-certifi
- python-dotenv
- python-findpython
- python-installer
- python-lockfile # required optdepends of python-cachecontrol
- python-packaging
- python-pdm-pep517
- python-platformdirs
- python-pyproject-hooks
- python-requests-toolbelt
- python-resolvelib
- python-rich
- python-shellingham
- python-tomli
- python-tomlkit
- python-unearth
- python-virtualenv
-)
-makedepends=(python-build python-wheel)
-checkdepends=(python-pytest python-pytest-mock python-pytest-xdist)
-optdepends=(
- 'python-keyring: for storing credentials'
- 'python-pytest-mock: for pytest plugin'
-)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('c63d01c56646e1d628013c59aea3931c4d23514d3b39cc64a23767675f79fb21824429dd295b78c94378e55b7ff9dae05f65240a8e19733aeabc0da50507b280')
-b2sums=('0204736d2752f6f96fc8e590a534528407d7d6eb5cb33084d82b58ee0b59146f52b3f728756ba63279bf5d04468d601f56e28c95f8854a4604298f16721ceee6')
-
-build() {
- cd $_name-$pkgver
- export PDM_PEP517_SCM_VERSION=$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
- # install to temporary location, as importlib is used
- python -m installer --destdir=test_dir dist/*.whl
- export PYTHONPATH="test_dir/$site_packages:$PYTHONPATH"
- # skip tests that would fail because of missing interpreters:
https://github.com/pdm-project/pdm/issues/1175
- pytest -vv -c /dev/null -k 'not test_basic_integration and not
test_use_invalid_wrapper_python'
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
- install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
- # completions
- install -vd
"$pkgdir/usr/share/"{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}
- "$pkgdir"/usr/bin/pdm completion bash >
"$pkgdir/usr/share/bash-completion/completions/$_name"
- "$pkgdir"/usr/bin/pdm completion fish >
"$pkgdir/usr/share/fish/vendor_completions.d/$_name.fish"
- "$pkgdir"/usr/bin/pdm completion zsh >
"$pkgdir/usr/share/zsh/site-functions/_$_name"
-}
Copied: python-pdm/repos/community-any/PKGBUILD (from rev 1417141,
python-pdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-09 17:18:34 UTC (rev 1417142)
@@ -0,0 +1,69 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=pdm
+pkgname=python-pdm
+pkgver=2.4.8
+pkgrel=1
+pkgdesc="A modern Python package manager with PEP 582 support"
+arch=(any)
+url="https://github.com/pdm-project/pdm"
+license=(MIT)
+depends=(
+ python-blinker
+ python-cachecontrol
+ python-certifi
+ python-dotenv
+ python-findpython
+ python-installer
+ python-lockfile # required optdepends of python-cachecontrol
+ python-packaging
+ python-pdm-pep517
+ python-platformdirs
+ python-pyproject-hooks
+ python-requests-toolbelt
+ python-resolvelib
+ python-rich
+ python-shellingham
+ python-tomli
+ python-tomlkit
+ python-unearth
+ python-virtualenv
+)
+makedepends=(python-build python-wheel)
+checkdepends=(python-pytest python-pytest-mock python-pytest-xdist)
+optdepends=(
+ 'python-keyring: for storing credentials'
+ 'python-pytest-mock: for pytest plugin'
+)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('3ce52eb6db0bcf5b3cdfdaef9d7ef114ed3248fbd839b382b5470d5564b83f13bacd3c1f25678d656bda5ab74b0b420a699b0ecf68853a66cd9eb58ad0e41700')
+b2sums=('067c61e110e396263555f62bdbb2f760d1e4bcc7eb59b11b878ae29643cee6c774854e1a9d2fcae1a7a4b8ef88d765d597742c27865b4b732cc95deac12d4ce1')
+
+build() {
+ cd $_name-$pkgver
+ export PDM_PEP517_SCM_VERSION=$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ cd $_name-$pkgver
+ # install to temporary location, as importlib is used
+ python -m installer --destdir=test_dir dist/*.whl
+ export PYTHONPATH="test_dir/$site_packages:$PYTHONPATH"
+ # skip tests that would fail because of missing interpreters:
https://github.com/pdm-project/pdm/issues/1175
+ pytest -vv -c /dev/null -k 'not test_basic_integration and not
test_use_invalid_wrapper_python'
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+ # completions
+ install -vd
"$pkgdir/usr/share/"{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}
+ "$pkgdir"/usr/bin/pdm completion bash >
"$pkgdir/usr/share/bash-completion/completions/$_name"
+ "$pkgdir"/usr/bin/pdm completion fish >
"$pkgdir/usr/share/fish/vendor_completions.d/$_name.fish"
+ "$pkgdir"/usr/bin/pdm completion zsh >
"$pkgdir/usr/share/zsh/site-functions/_$_name"
+}