[arch-commits] Commit in nvchecker/repos/community-any (PKGBUILD PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Apr 10 11:37:29 UTC 2020


    Date: Friday, April 10, 2020 @ 11:37:29
  Author: yan12125
Revision: 613082

archrelease: copy trunk to community-any

Added:
  nvchecker/repos/community-any/PKGBUILD
    (from rev 613081, nvchecker/trunk/PKGBUILD)
Deleted:
  nvchecker/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   85 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 46 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-10 11:37:12 UTC (rev 613081)
+++ PKGBUILD	2020-04-10 11:37:29 UTC (rev 613082)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=nvchecker
-pkgver=1.5
-pkgrel=2
-pkgdesc="New version checker for software releases"
-arch=('any')
-url="https://github.com/lilydjwg/nvchecker"
-license=('MIT')
-depends=('python' 'python-setuptools' 'python-structlog' 'python-tornado' 'python-pycurl')
-checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-httpbin' 'python-flaky' 'git' 'mercurial')
-optdepends=(
-  'pyalpm: allow using "sort_version_key = vercmp" in configuration files'
-  'bzr: for VCS sources'
-  'git: for VCS sources'
-  'mercurial: for VCS sources'
-  'subversion: for VCS sources'
-)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lilydjwg/nvchecker/archive/v$pkgver.tar.gz")
-sha512sums=('78902e43bbd9208b6668eab9a59036fe699918a87dc84ffbf174941597c6f23bf6952952d839a3a2941fad3cbcdc5a8c6336367d6d232491b67caa4631f85a58')
-
-build() {
-  cd nvchecker-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd nvchecker-$pkgver
-  pytest
-}
-
-package() {
-  cd nvchecker-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}
-
-# vim:set ts=2 sw=2 et:

Copied: nvchecker/repos/community-any/PKGBUILD (from rev 613081, nvchecker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-10 11:37:29 UTC (rev 613082)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=nvchecker
+pkgver=1.6
+pkgrel=1
+pkgdesc="New version checker for software releases"
+arch=('any')
+url="https://github.com/lilydjwg/nvchecker"
+license=('MIT')
+depends=('python' 'python-setuptools' 'python-structlog' 'python-tornado' 'python-pycurl')
+checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-httpbin' 'python-flaky' 'git' 'mercurial')
+optdepends=(
+  'pyalpm: allow using "sort_version_key = vercmp" in configuration files'
+  'bzr: for VCS sources'
+  'git: for VCS sources'
+  '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::https://github.com/lilydjwg/nvchecker/commit/4fc62d35888c3d695956793d5724a52ba3a99574.patch)
+sha512sums=('adca20abcae1fcab2b87d166f18bc14d7e374de3041fcabd35eaaa8bc3d4b086ad16f9c94c5d242259011a0b1435a9c74e0d7959dffabf8da4eda6cf0694f5ee'
+            'ddf02d38b38560ee8edd8b814197e015d77425d546b4f436c42bea202f1e7514766e47bfaaec9733cb6df6d416c9a68c67baf48994045f07533e0cbc707f0b7d')
+
+prepare() {
+  cd nvchecker-$pkgver
+  patch -Np1 -i ../$pkgname-update-tests-4.patch
+}
+
+build() {
+  cd nvchecker-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd nvchecker-$pkgver
+  pytest
+}
+
+package() {
+  cd nvchecker-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list