author | Chih-Hsuan Yen
<yan12125@archlinux.org> 2024-04-21 06:26:55 UTC |
committer | Chih-Hsuan Yen
<yan12125@archlinux.org> 2024-04-21 06:26:55 UTC |
parent | 522ef993ada1c42f2a4add6148c1a6f88d29ea7d |
.SRCINFO | +6 | -4 |
PKGBUILD | +6 | -16 |
diff --git a/.SRCINFO b/.SRCINFO index 2498461..dd5ed82 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,17 +1,18 @@ pkgbase = nvchecker pkgdesc = New version checker for software releases - pkgver = 2.13.1 - pkgrel = 2 + pkgver = 2.14.1 + pkgrel = 1 url = https://github.com/lilydjwg/nvchecker arch = any license = MIT checkdepends = python-pytest checkdepends = python-pytest-asyncio checkdepends = python-pytest-httpbin - checkdepends = python-flaky + checkdepends = python-pytest-rerunfailures checkdepends = pyalpm checkdepends = python-awesomeversion checkdepends = python-lxml + checkdepends = python-jq checkdepends = git makedepends = git makedepends = python-build @@ -33,13 +34,14 @@ pkgbase = nvchecker optdepends = python-awesomeversion: for using "sort_version_key = awesomeversion" in configuration files optdepends = python-lxml: for the htmlparser source optdepends = python-packaging: for the pypi source + optdepends = python-jq: for the jq source optdepends = python-toml: for nvchecker-ini2toml script optdepends = python-aiohttp: alternative HTTP backend optdepends = python-httpx: alternative HTTP backend optdepends = git: support for git repositories optdepends = python-gobject: for nvchecker-notify optdepends = libnotify: for nvchecker-notify - source = git+https://github.com/lilydjwg/nvchecker.git?signed#tag=7da0a64a765d5960aedc708ce02eccb67f595c3e + source = git+https://github.com/lilydjwg/nvchecker.git?signed#tag=v2.14.1 validpgpkeys = 356690A1E7404E30D0E902B2E64D049594A54F54 sha512sums = SKIP diff --git a/PKGBUILD b/PKGBUILD index 9c0e0f3..ec614e4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,10 +2,8 @@ # Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org> pkgname=nvchecker -pkgver=2.13.1 -# curl https://api.github.com/repos/lilydjwg/nvchecker/git/ref/tags/v$pkgver | jq -r .object.sha -_tag=7da0a64a765d5960aedc708ce02eccb67f595c3e -pkgrel=2 +pkgver=2.14.1 +pkgrel=1 pkgdesc="New version checker for software releases" arch=('any') url="https://github.com/lilydjwg/nvchecker" @@ -16,13 +14,14 @@ makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python 'python-docutils' 'python-pygments' # optional deps 'python-gobject' 'python-toml' 'python-aiohttp' 'python-httpx') -checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-httpbin' 'python-flaky' - 'pyalpm' 'python-awesomeversion' 'python-lxml' 'git') +checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-httpbin' 'python-pytest-rerunfailures' + 'pyalpm' 'python-awesomeversion' 'python-lxml' 'python-jq' 'git') optdepends=( 'pyalpm: for using "sort_version_key = vercmp" in configuration files and the alpm source' 'python-awesomeversion: for using "sort_version_key = awesomeversion" in configuration files' 'python-lxml: for the htmlparser source' 'python-packaging: for the pypi source' + 'python-jq: for the jq source' 'python-toml: for nvchecker-ini2toml script' 'python-aiohttp: alternative HTTP backend' 'python-httpx: alternative HTTP backend' @@ -30,7 +29,7 @@ optdepends=( 'python-gobject: for nvchecker-notify' 'libnotify: for nvchecker-notify' ) -source=("git+https://github.com/lilydjwg/nvchecker.git?signed#tag=$_tag") +source=("git+https://github.com/lilydjwg/nvchecker.git?signed#tag=v$pkgver") sha512sums=('SKIP') validpgpkeys=( # No direct trust chain. Some related stuffs: @@ -40,17 +39,8 @@ validpgpkeys=( ) _backports=( - # tests: update Debian package versions - 'beceadddee1fc6b583c68fc9a21ed4b51d889895' - # tests: update Debian package versions again - 'c306b44711dc11c4b5b49c2fe29b79d266e21733' ) -pkgver() { - cd nvchecker - git describe --tags | sed 's/^v//;s/-/+/g' -} - prepare() { cd nvchecker