Date: Wednesday, October 5, 2022 @ 23:05:26
  Author: dvzrv
Revision: 1321724

archrelease: copy trunk to community-any

Added:
  python-pdm/repos/community-any/PKGBUILD
    (from rev 1321723, python-pdm/trunk/PKGBUILD)
Deleted:
  python-pdm/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  138 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 69 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-05 23:05:14 UTC (rev 1321723)
+++ PKGBUILD    2022-10-05 23:05:26 UTC (rev 1321724)
@@ -1,69 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=pdm
-pkgname=python-pdm
-pkgver=2.1.4
-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-packaging
-  python-pdm-pep517
-  python-pep517
-  python-platformdirs
-  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')
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('c91965b8f727f56ecae2beba3086e4b691fe72fbb5bcd8aed480821b30f89b76fc65b4b4cea2c69faba870164c1c9bc2d1d83f99ca5eddbdd60ed1a58ab25918')
-b2sums=('fb8b5a6f9a1c4af8f7e357a346f68f303699173ab64add18fe283b25e99129f84ca64fc680f3dc7a0bdeffd02a143d717d137d0047b5b07cdeba78a1f05b8b9e')
-
-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'
-}
-
-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 1321723, 
python-pdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-05 23:05:26 UTC (rev 1321724)
@@ -0,0 +1,69 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=pdm
+pkgname=python-pdm
+pkgver=2.1.5
+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-packaging
+  python-pdm-pep517
+  python-pep517
+  python-platformdirs
+  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')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('54b8e759e931860bf68f007be30cf1455cabd1921af4adf4b526d9e46e5fde9da2416265ffaf68af4ea6b43cdeb690f6f215578b6e106eb341315ba18b19a0d9')
+b2sums=('1a180a0537700b7c4925f3f3438547eda027c379be253437aaa1c408a1cc58b95c77a8cd9c5b6e8895a170b657d94799ae3679e72cfbe754ab2f603ba4b260de')
+
+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'
+}
+
+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"
+}

Reply via email to