Date: Tuesday, January 31, 2023 @ 19:57:21
  Author: felixonmars
Revision: 1391502

upgpkg: python-seedir 0.4.2-2

Modified:
  python-seedir/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 19:56:11 UTC (rev 1391501)
+++ PKGBUILD    2023-01-31 19:57:21 UTC (rev 1391502)
@@ -2,32 +2,31 @@
 
 pkgname=python-seedir
 pkgver=0.4.2
-pkgrel=1
+_commit=00e34d515fa4590214a2988c129e8fa3ac1e501f
+pkgrel=2
 pkgdesc="A Python package for creating, editing, and reading folder tree 
diagrams"
 url="https://github.com/earnestt1234/seedir";
 license=('MIT')
 arch=('any')
 depends=('python-natsort')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 optdepends=('python-emoji: for emoji style')
 checkdepends=('python-emoji')
-source=("https://github.com/earnestt1234/seedir/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('8d16ae1ba020268f9587742cacbc55ecc1d218f36955c625f64829940396c908d0498ee6bf50d560f87b10488dc6daa5698681e10e1699d20d958b3cd58f14c4')
+source=("git+https://github.com/earnestt1234/seedir.git#commit=$_commit";)
+sha512sums=('SKIP')
 
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
 build() {
-  cd seedir-$pkgver
+  cd seedir
   python -m build -nw
 }
 
 check() {
-  cd seedir-$pkgver
+  cd seedir
   python -m tests.tests
 }
 
 package() {
-  cd seedir-$pkgver
+  cd seedir
   python -m installer -d "$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to