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

Felix Yan felixonmars at gemini.archlinux.org
Wed Feb 2 17:53:47 UTC 2022


    Date: Wednesday, February 2, 2022 @ 17:53:46
  Author: felixonmars
Revision: 1122843

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  156 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 78 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-02 17:53:37 UTC (rev 1122842)
+++ PKGBUILD	2022-02-02 17:53:46 UTC (rev 1122843)
@@ -1,78 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=nvchecker
-pkgver=2.5
-# git rev-parse v$pkgver
-_commit=f0be206608736c108403736206a28356e8052de7
-pkgrel=2
-pkgdesc="New version checker for software releases"
-arch=('any')
-url="https://github.com/lilydjwg/nvchecker"
-license=('MIT')
-depends=('python' 'python-toml' 'python-structlog' 'python-appdirs' 'python-tornado' 'python-pycurl')
-makedepends=('git' 'python-docutils' 'python-setuptools' 'python-pygments')
-checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-httpbin' 'python-flaky' 'python-lxml' 'pyalpm' 'git')
-optdepends=(
-  'pyalpm: for using "sort_version_key = vercmp" in configuration files and the alpm source'
-  'python-lxml: for the htmlparser source'
-  'python-packaging: for the pypi source'
-  'git: support for git repositories'
-  'python-gobject: for nvchecker-notify'
-  'libnotify: for nvchecker-notify'
-)
-source=("git+https://github.com/lilydjwg/nvchecker.git?signed#tag=$_commit")
-sha512sums=('SKIP')
-validpgpkeys=(
-  # No direct trust chain. Some related stuffs:
-  # https://api.github.com/users/lilydjwg/gpg_keys
-  # https://zh.wikipedia.org/wiki/User:Lilydjwg
-  '356690A1E7404E30D0E902B2E64D049594A54F54'
-)
-
-_backports=(
-  # update test_apt
-  b8b6e47d59f3013f490e4e5bef362009378b9a32
-)
-
-pkgver() {
-  cd nvchecker
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd nvchecker
-
-  # this loop is stolen from core/systemd :)
-  local _c
-  for _c in "${_backports[@]}"; do
-    git log --oneline -1 "${_c}"
-    git cherry-pick -n "${_c}"
-  done
-}
-
-build() {
-  cd nvchecker
-  python setup.py build
-
-  make -C docs man
-}
-
-check() {
-  cd nvchecker
-  pytest
-}
-
-package() {
-  cd nvchecker
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-
-  # bash completion scripts & docs
-  install -Dm644 scripts/nvtake.bash_completion "$pkgdir"/usr/share/bash-completion/completions/nvtake
-  install -Dm644 docs/usage.rst -t "$pkgdir"/usr/share/doc/$pkgname/
-  install -Dm644 sample_config.toml -t "$pkgdir"/usr/share/doc/$pkgname/
-  install -Dm644 docs/_build/man/nvchecker.1 -t "$pkgdir"/usr/share/man/man1/
-}
-
-# vim:set ts=2 sw=2 et:

Copied: nvchecker/repos/community-any/PKGBUILD (from rev 1122842, nvchecker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-02 17:53:46 UTC (rev 1122843)
@@ -0,0 +1,78 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=nvchecker
+pkgver=2.6
+# git rev-parse v$pkgver
+_commit=d537d252f5cd55b8fd3c4226c3a18a21653fbcaa
+pkgrel=1
+pkgdesc="New version checker for software releases"
+arch=('any')
+url="https://github.com/lilydjwg/nvchecker"
+license=('MIT')
+depends=('python' 'python-tomli' 'python-structlog' 'python-appdirs' 'python-tornado' 'python-pycurl')
+makedepends=('git' 'python-docutils' 'python-setuptools' 'python-pygments')
+checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-httpbin' 'python-flaky' 'python-lxml' 'pyalpm' 'git')
+optdepends=(
+  'pyalpm: for using "sort_version_key = vercmp" in configuration files and the alpm source'
+  'python-lxml: for the htmlparser source'
+  'python-packaging: for the pypi source'
+  'git: support for git repositories'
+  'python-gobject: for nvchecker-notify'
+  'libnotify: for nvchecker-notify'
+)
+source=("git+https://github.com/lilydjwg/nvchecker.git?signed#tag=$_commit")
+sha512sums=('SKIP')
+validpgpkeys=(
+  # No direct trust chain. Some related stuffs:
+  # https://api.github.com/users/lilydjwg/gpg_keys
+  # https://zh.wikipedia.org/wiki/User:Lilydjwg
+  '356690A1E7404E30D0E902B2E64D049594A54F54'
+)
+
+_backports=(
+  # update test_apt
+  b8b6e47d59f3013f490e4e5bef362009378b9a32
+)
+
+pkgver() {
+  cd nvchecker
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd nvchecker
+
+  # this loop is stolen from core/systemd :)
+  local _c
+  for _c in "${_backports[@]}"; do
+    git log --oneline -1 "${_c}"
+    git cherry-pick -n "${_c}"
+  done
+}
+
+build() {
+  cd nvchecker
+  python setup.py build
+
+  make -C docs man
+}
+
+check() {
+  cd nvchecker
+  pytest
+}
+
+package() {
+  cd nvchecker
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+
+  # bash completion scripts & docs
+  install -Dm644 scripts/nvtake.bash_completion "$pkgdir"/usr/share/bash-completion/completions/nvtake
+  install -Dm644 docs/usage.rst -t "$pkgdir"/usr/share/doc/$pkgname/
+  install -Dm644 sample_config.toml -t "$pkgdir"/usr/share/doc/$pkgname/
+  install -Dm644 docs/_build/man/nvchecker.1 -t "$pkgdir"/usr/share/man/man1/
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list