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

Chih-Hsuan Yen yan12125 at archlinux.org
Wed Apr 15 10:03:29 UTC 2020


    Date: Wednesday, April 15, 2020 @ 10:03:29
  Author: yan12125
Revision: 614551

upgpkg: nvchecker 1.6.post1-1

Modified:
  nvchecker/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-15 09:52:36 UTC (rev 614550)
+++ PKGBUILD	2020-04-15 10:03:29 UTC (rev 614551)
@@ -2,7 +2,9 @@
 # Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
 
 pkgname=nvchecker
-pkgver=1.6
+pkgver=1.6.post1
+# The commit bumps version in setup.py, and it's not tagged
+_commit=bc2fcd148d460ec9c0f0c12bc77e0326adad5546
 pkgrel=1
 pkgdesc="New version checker for software releases"
 arch=('any')
@@ -17,29 +19,21 @@
   'mercurial: for VCS sources'
   'subversion: for VCS sources'
 )
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lilydjwg/nvchecker/archive/v$pkgver.tar.gz"
-        $pkgname-update-tests-4.patch)
-sha512sums=('adca20abcae1fcab2b87d166f18bc14d7e374de3041fcabd35eaaa8bc3d4b086ad16f9c94c5d242259011a0b1435a9c74e0d7959dffabf8da4eda6cf0694f5ee'
-            'ddf02d38b38560ee8edd8b814197e015d77425d546b4f436c42bea202f1e7514766e47bfaaec9733cb6df6d416c9a68c67baf48994045f07533e0cbc707f0b7d')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lilydjwg/nvchecker/archive/$_commit.tar.gz")
+sha512sums=('476ec6bf8ef20255b685720fa501c0c672a0d6a32d0cd5bb1e6458a00236201dad8ff2a9d0d2a64365aebb4d3d2dc089a7cfc2bd84923f6ec9ecb7114322327c')
 
-prepare() {
-  cd nvchecker-$pkgver
-  # From https://github.com/lilydjwg/nvchecker/commit/4fc62d35888c3d695956793d5724a52ba3a99574.patch
-  patch -Np1 -i ../$pkgname-update-tests-4.patch
-}
-
 build() {
-  cd nvchecker-$pkgver
+  cd nvchecker-$_commit
   python setup.py build
 }
 
 check() {
-  cd nvchecker-$pkgver
+  cd nvchecker-$_commit
   pytest
 }
 
 package() {
-  cd nvchecker-$pkgver
+  cd nvchecker-$_commit
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 }



More information about the arch-commits mailing list