Date: Monday, February 6, 2023 @ 10:42:00
  Author: dvzrv
Revision: 1394131

upgpkg: python-pdm 2.4.3-1: Upgrade to 2.4.3.

Modified:
  python-pdm/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-06 10:39:08 UTC (rev 1394130)
+++ PKGBUILD    2023-02-06 10:42:00 UTC (rev 1394131)
@@ -2,7 +2,7 @@
 
 _name=pdm
 pkgname=python-pdm
-pkgver=2.4.0
+pkgver=2.4.3
 pkgrel=1
 pkgdesc="A modern Python package manager with PEP 582 support"
 arch=(any)
@@ -36,8 +36,8 @@
   'python-pytest-mock: for pytest plugin'
 )
 
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('a1a7d8d06f086a1ef652a487c85aad7d23c9dc8362e80805983ba311f8406d7d365e13011323929d1455815b65412b52100e4c4033a79b2025642471bcbeea63')
-b2sums=('c6aee5507c0c0eb6b939e26f30825ae78a5aba4d1e7d227793556cb9d174b3f2b400868320ac38ee18bbf93c807a0e4773a7049f3e313cc24f47841b84f0e4a7')
+sha512sums=('3b1fd91c50cd0c1b049e22a095ac00936eda0e1ccc52ade497108ec8987d714dcc69d825382d9c2e190ab5a3d6e1088c008010d716932fa7581f1bde7dc722e5')
+b2sums=('e546917d96d48085e4428acbe323a39d5df02721375d807949745a37ed1930920029be9bed0c0b36f6d07771689e9057d9fc70db31b6f56623e4185c2f92eb2c')
 
 build() {
   cd $_name-$pkgver
@@ -46,12 +46,12 @@
 }
 
 check() {
-  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  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"
+  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'
 }

Reply via email to