Date: Monday, May 8, 2023 @ 20:12:02
  Author: dvzrv
Revision: 1459524

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  166 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 83 insertions(+), 83 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-08 20:11:51 UTC (rev 1459523)
+++ PKGBUILD    2023-05-08 20:12:02 UTC (rev 1459524)
@@ -1,83 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=pdm
-pkgname=python-pdm
-pkgver=2.5.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
-  python-blinker
-  python-cachecontrol
-  python-certifi
-  python-dotenv
-  python-findpython
-  python-installer
-  python-lockfile  # required optdepends of python-cachecontrol
-  python-packaging
-  python-pdm-backend
-  python-platformdirs
-  python-pyproject-hooks
-  python-requests  # required by python-requests-toolbelt
-  python-requests-toolbelt
-  python-resolvelib
-  python-rich
-  python-shellingham
-  python-tomlkit
-  python-unearth
-  python-virtualenv
-)
-makedepends=(
-  python-build
-  python-wheel
-)
-checkdepends=(
-  python-setuptools
-  python-pytest
-  python-pytest-mock
-)
-optdepends=(
-  'python-keyring: for storing credentials'
-  'python-pytest-mock: for pytest plugin'
-  'python-setuptools: for parsing setup.py files'
-)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('203396fcc4ea0c3081e547257408c5bc864406a4fd2682653c3d8d6bb6d606f4a12a0cdc7f3ce91e882c4b80c56707a05bd3354ffbc0d33c654d4744b9f712f3')
-b2sums=('b6b0128aee62a32f3f8aab8e3a720f5f705f73f7cba343a13db0f5327f1afe02d8f425e8014bec8b6ff7c3dd38135709cf248e23b9a29d3f0d7c41e69b04fe92')
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  local pytest_options=(
-    -vv
-    # https://github.com/pdm-project/pdm/issues/1831
-    --deselect tests/cli/test_others.py::test_build_distributions
-    # we don't want to run tests that require the internet
-    --deselect tests/test_project.py::test_access_index_with_auth
-  )
-  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="$PWD/test_dir/$site_packages:$PYTHONPATH"
-  pytest "${pytest_options[@]}"
-}
-
-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 1459523, 
python-pdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-08 20:12:02 UTC (rev 1459524)
@@ -0,0 +1,83 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=pdm
+pkgname=python-pdm
+pkgver=2.5.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
+  python-blinker
+  python-cachecontrol
+  python-certifi
+  python-dotenv
+  python-findpython
+  python-installer
+  python-lockfile  # required optdepends of python-cachecontrol
+  python-packaging
+  python-pdm-backend
+  python-platformdirs
+  python-pyproject-hooks
+  python-requests  # required by python-requests-toolbelt
+  python-requests-toolbelt
+  python-resolvelib
+  python-rich
+  python-shellingham
+  python-tomlkit
+  python-unearth
+  python-virtualenv
+)
+makedepends=(
+  python-build
+  python-wheel
+)
+checkdepends=(
+  python-setuptools
+  python-pytest
+  python-pytest-mock
+)
+optdepends=(
+  'python-keyring: for storing credentials'
+  'python-pytest-mock: for pytest plugin'
+  'python-setuptools: for parsing setup.py files'
+)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('49fcc45df7554aa3c53ed6f9edd8cd43799f438ed2a4cd12f5b247b701f2b31e0dd2540e954f4386d21674f831d990d31a4bfc812c89151ce55b3f9b1484f013')
+b2sums=('610f1314dbe31924c6520e6fa407c9a2f3f43a8a108024b7938afb57b24793f579c28946fce34c3e4184fdae7bade2bdae16a8f44bd8caf22418dd3a4214ab39')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  local pytest_options=(
+    -vv
+    # https://github.com/pdm-project/pdm/issues/1831
+    --deselect tests/cli/test_others.py::test_build_distributions
+    # we don't want to run tests that require the internet
+    --deselect tests/test_project.py::test_access_index_with_auth
+  )
+  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="$PWD/test_dir/$site_packages:$PYTHONPATH"
+  pytest "${pytest_options[@]}"
+}
+
+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