[arch-commits] Commit in nvchecker/trunk (PKGBUILD)
Chih-Hsuan Yen
yan12125 at gemini.archlinux.org
Sun Oct 3 14:36:44 UTC 2021
Date: Sunday, October 3, 2021 @ 14:36:44
Author: yan12125
Revision: 1027188
upgpkg: nvchecker 2.5-1; cleanup upstreamed patches
Modified:
nvchecker/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-03 13:52:49 UTC (rev 1027187)
+++ PKGBUILD 2021-10-03 14:36:44 UTC (rev 1027188)
@@ -2,10 +2,10 @@
# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
pkgname=nvchecker
-pkgver=2.4
+pkgver=2.5
# git rev-parse v$pkgver
-_commit=f89ebe4e43c45e95a5b4cbcf58f23d81a616c12f
-pkgrel=2
+_commit=f0be206608736c108403736206a28356e8052de7
+pkgrel=1
pkgdesc="New version checker for software releases"
arch=('any')
url="https://github.com/lilydjwg/nvchecker"
@@ -31,14 +31,13 @@
)
_backports=(
- # cleanup dependencies and update setup.py (https://github.com/lilydjwg/nvchecker/pull/197)
- 02515fc82d3be563937bb98b5625fc7fb99c35f7
- # anitya: relax the test - shutter is updated often these days (https://github.com/lilydjwg/nvchecker/pull/198)
- 44b9f1856fbc68c58ae76840c2e14c3dddd8b22e
- # Update tests (https://github.com/lilydjwg/nvchecker/pull/199)
- b8afc434300d51e1c77e21f3c3880139e6feb6ce
)
+pkgver() {
+ cd nvchecker
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
prepare() {
cd nvchecker
@@ -48,9 +47,6 @@
git log --oneline -1 "${_c}"
git cherry-pick -n "${_c}"
done
-
- # revert the version changed in 02515fc82d3be563937bb98b5625fc7fb99c35f7
- sed -i "s#__version__.*#__version__ = '$pkgver'#" nvchecker/__init__.py
}
build() {
More information about the arch-commits
mailing list