Date: Tuesday, January 31, 2023 @ 19:59:12
  Author: felixonmars
Revision: 1391504

upgpkg: python-path 16.6.0-2

Modified:
  python-path/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 19:57:34 UTC (rev 1391503)
+++ PKGBUILD    2023-01-31 19:59:12 UTC (rev 1391504)
@@ -2,34 +2,33 @@
 
 pkgname=python-path
 pkgver=16.6.0
-pkgrel=1
+_commit=6debbcecd357c30b080ea19bf2cfa0e2ab0fcd50
+pkgrel=2
 pkgdesc='A module wrapper for os.path'
 arch=('any')
 license=('MIT')
 url='https://github.com/jaraco/path'
 depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
 checkdepends=('python-pytest-enabler' 'python-pytest-mypy')
 replaces=('python-path.py')
 conflicts=('python-path.py')
 provides=('python-path.py')
-source=("https://github.com/jaraco/path/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('4d7772b7eb7017bee78f95f30f6286b14750d6d8edbf5f58617ede12bd664f1b893921b89bb64f797e1d2eb7e67e361d8f1e01618fee26d64a5b879a3854aead')
+source=("git+https://github.com/jaraco/path.git#commit=$_commit";)
+sha512sums=('SKIP')
 
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
 build() {
-  cd path-$pkgver
+  cd path
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd path-$pkgver
+  cd path
   python -m pytest
 }
 
 package() {
-  cd path-$pkgver
+  cd path
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to