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

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Mar 19 18:04:42 UTC 2021


    Date: Friday, March 19, 2021 @ 18:04:42
  Author: yan12125
Revision: 894854

upgpkg: nvchecker 2.3-1

Related upstream changes:
* python-packaging: https://github.com/lilydjwg/nvchecker/commit/e09750b7a2257438018a8eb044386ac60c52d8db
* pyalpm: https://github.com/lilydjwg/nvchecker/pull/168

Modified:
  nvchecker/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-19 18:01:50 UTC (rev 894853)
+++ PKGBUILD	2021-03-19 18:04:42 UTC (rev 894854)
@@ -2,37 +2,25 @@
 # Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
 
 pkgname=nvchecker
-pkgver=2.2
-pkgrel=3
+pkgver=2.3
+pkgrel=1
 pkgdesc="New version checker for software releases"
 arch=('any')
 url="https://github.com/lilydjwg/nvchecker"
 license=('MIT')
 # setuptools is in depends as pkg_resources is used in sortversion.py
-depends=('python' 'python-setuptools' 'python-toml' 'python-structlog' 'python-appdirs' 'python-tornado' 'python-pycurl')
+depends=('python' 'python-setuptools' 'python-toml' 'python-structlog' 'python-appdirs' 'python-tornado' 'python-pycurl' 'python-packaging')
 makedepends=('python-docutils')
-checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-httpbin' 'python-flaky' 'git')
+checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-httpbin' 'python-flaky' 'pyalpm' 'git')
 optdepends=(
-  'pyalpm: allow using "sort_version_key = vercmp" in configuration files'
+  'pyalpm: for using "sort_version_key = vercmp" in configuration files and the alpm source'
   'git: support for git repositories'
   'python-gobject: for nvchecker-notify'
   'libnotify: for nvchecker-notify'
 )
-source=("https://github.com/lilydjwg/nvchecker/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
-        "https://github.com/lilydjwg/nvchecker/commit/91daf5ad4d713f6dfcd38053090c5ae3d60dc73f.patch"
-        "https://github.com/lilydjwg/nvchecker/commit/e6e8573c338ad57192554b5c6a5c56990e4fd9d1.patch")
-sha512sums=('fb4043cf952f12d72eb5b26adc9eb55722c8461be9bdefc1e3512985bae2bc26f5c994f045df3485029d53ff31a731e4d1bd6323fa35eeefbb548bdae074d6e0'
-            'c3bacf14b232b9b7e2ff211f1d95a8b5a8667ab63d0dea27d203e0e734e327731c55d8566e9ebd67a5db95968c74e0cf45dc3b6907cf65f7a4a7d982ee8e0f8d'
-            '024bc5a1e7e0eff951bbc8843a43f7582a826f5322a2175fd769c258f4645f5fc298f6188d808dc2b46ddc799bac4acb8a2798b47d25074864fbe8d6830fa3b9')
+source=("https://github.com/lilydjwg/nvchecker/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('bbdf6348cfd93ae156ae05b3ddb2fd238448e4a9d44eb00d2518b4657f895468af657372453c1a8c8c75f7d2f75467d884347a1aaecf896c0fdb6186607b0a63')
 
-prepare() {
-  cd nvchecker-$pkgver
-  # Make the generated man page reproducible
-  patch -Np1 -i ../91daf5ad4d713f6dfcd38053090c5ae3d60dc73f.patch
-  # Fix tests
-  patch -Np1 -i ../e6e8573c338ad57192554b5c6a5c56990e4fd9d1.patch
-}
-
 build() {
   cd nvchecker-$pkgver
   python setup.py build



More information about the arch-commits mailing list