[arch-commits] Commit in python-case/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Tue Nov 10 01:53:55 UTC 2020


    Date: Tuesday, November 10, 2020 @ 01:53:55
  Author: eschwartz
Revision: 748269

python-case: remove build dependency on git, pypi tarball has all needed files

Modified:
  python-case/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 01:49:01 UTC (rev 748268)
+++ PKGBUILD	2020-11-10 01:53:55 UTC (rev 748269)
@@ -2,7 +2,6 @@
 
 pkgname=python-case
 pkgver=1.5.3
-_commit=54341e0c8f2e41f0fcaa9d5dc325c33d4746168d
 pkgrel=5
 pkgdesc="Python unittest Utilities"
 arch=('any')
@@ -9,17 +8,16 @@
 license=('BSD')
 url="https://github.com/celery/case"
 depends=('python-nose')
-makedepends=('git')
-source=("git+https://github.com/celery/case.git#commit=$_commit")
-sha512sums=('SKIP')
+source=("https://files.pythonhosted.org/packages/source/c/case/case-$pkgver.tar.gz")
+sha512sums=('ae98a571c282f80c685c42ab1dc578847fe88cf8cd07faff505a8df8e3282a602908a8780ab88b36851e3ee6f3c178405e5c50776fd0f49fcc990087575f2958')
 
 build() {
-  cd "$srcdir"/case
+  cd "$srcdir"/case-$pkgver
   python setup.py build
 }
 
 package() {
-  cd case
+  cd "$srcdir"/case-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list