[arch-commits] Commit in python-pdm/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Tue Aug 23 15:50:09 UTC 2022


    Date: Tuesday, August 23, 2022 @ 15:50:09
  Author: dvzrv
Revision: 1275477

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  124 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-23 15:49:54 UTC (rev 1275476)
+++ PKGBUILD	2022-08-23 15:50:09 UTC (rev 1275477)
@@ -1,62 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pdm
-pkgname=python-pdm
-pkgver=2.1.1
-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-click
-  python-dotenv
-  python-findpython
-  python-installer
-  python-packaging
-  python-pdm-pep517
-  python-pep517
-  python-pip
-  python-platformdirs
-  python-requests-toolbelt
-  python-resolvelib
-  python-rich
-  python-shellingham
-  python-tomli
-  python-tomlkit
-  python-unearth
-  python-virtualenv
-  python-wheel
-)
-makedepends=(python-build)
-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=('1d5b0f571eb316bea28677070d325b6ae292a7383ed1f56d3a801462bd23fbd0e5269d36faf7db226a6ce740c99c8709a754703f594ec3f87d56aa5449e9de9b')
-b2sums=('fc20d97be35f042039349d7c2aa593e5547a54dbf616ef9e9866278f73f04993c460195cb0392ccf2399364dceed8ce1c6fe4a14e42eaf21787cd1c39290d76b')
-
-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/"
-}

Copied: python-pdm/repos/community-any/PKGBUILD (from rev 1275476, python-pdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-23 15:50:09 UTC (rev 1275477)
@@ -0,0 +1,62 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pdm
+pkgname=python-pdm
+pkgver=2.1.2
+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-click
+  python-dotenv
+  python-findpython
+  python-installer
+  python-packaging
+  python-pdm-pep517
+  python-pep517
+  python-pip
+  python-platformdirs
+  python-requests-toolbelt
+  python-resolvelib
+  python-rich
+  python-shellingham
+  python-tomli
+  python-tomlkit
+  python-unearth
+  python-virtualenv
+  python-wheel
+)
+makedepends=(python-build)
+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=('f7ff7b458c186b3b1f75c73497021fcbba5ed2c3827dc5c9ec38cd58de8de3c9b1041988298b87c9da8e124fccb63c7a704cf95625f83e632b8f33c8cf97d915')
+b2sums=('37a40da05cf8793d3380641f6e44d73c59dfecfe15e9e238f54f7b0867d8fe73f698fe16ed9fc579c368edb80b95176bfba80e7339c18cb2795cda5ee90ae8f7')
+
+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/"
+}



More information about the arch-commits mailing list