Date: Thursday, March 2, 2023 @ 19:24:25
  Author: dvzrv
Revision: 1407408

archrelease: copy trunk to community-any

Added:
  python-pdm/repos/community-any/PKGBUILD
    (from rev 1407407, 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-02 19:24:15 UTC (rev 1407407)
+++ PKGBUILD    2023-03-02 19:24:25 UTC (rev 1407408)
@@ -1,69 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=pdm
-pkgname=python-pdm
-pkgver=2.4.6
-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=('d1cd0129ff0d07b85b069f5e55570cbd2ec6dd07a42e9411e406b2cd196a525f5d9fd0eb3129cf95764b5a9ba2f4d1dbb585d27782d4a4a6d65fa41aed8f38e3')
-b2sums=('6abfef003c6d3616a7e7fd9331fd70a97c50774733bb7301af44fa08b206dbac1de2000331f2102daadca0881eeee74ea9cabcc4b28667b3a55080432411dca1')
-
-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 1407407, 
python-pdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-02 19:24:25 UTC (rev 1407408)
@@ -0,0 +1,69 @@
+# 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"
+}

Reply via email to