Date: Monday, February 6, 2023 @ 10:42:22
Author: dvzrv
Revision: 1394132
archrelease: copy trunk to community-any
Added:
python-pdm/repos/community-any/PKGBUILD
(from rev 1394131, python-pdm/trunk/PKGBUILD)
Deleted:
python-pdm/repos/community-any/PKGBUILD
----------+
PKGBUILD | 138 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 69 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-06 10:42:00 UTC (rev 1394131)
+++ PKGBUILD 2023-02-06 10:42:22 UTC (rev 1394132)
@@ -1,69 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=pdm
-pkgname=python-pdm
-pkgver=2.4.0
-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=('a1a7d8d06f086a1ef652a487c85aad7d23c9dc8362e80805983ba311f8406d7d365e13011323929d1455815b65412b52100e4c4033a79b2025642471bcbeea63')
-b2sums=('c6aee5507c0c0eb6b939e26f30825ae78a5aba4d1e7d227793556cb9d174b3f2b400868320ac38ee18bbf93c807a0e4773a7049f3e313cc24f47841b84f0e4a7')
-
-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 1394131,
python-pdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-06 10:42:22 UTC (rev 1394132)
@@ -0,0 +1,69 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=pdm
+pkgname=python-pdm
+pkgver=2.4.3
+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=('3b1fd91c50cd0c1b049e22a095ac00936eda0e1ccc52ade497108ec8987d714dcc69d825382d9c2e190ab5a3d6e1088c008010d716932fa7581f1bde7dc722e5')
+b2sums=('e546917d96d48085e4428acbe323a39d5df02721375d807949745a37ed1930920029be9bed0c0b36f6d07771689e9057d9fc70db31b6f56623e4185c2f92eb2c')
+
+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"
+}