[arch-commits] Commit in nvchecker/repos/community-any (PKGBUILD PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Fri Jul 3 13:05:39 UTC 2020
Date: Friday, July 3, 2020 @ 13:05:39
Author: yan12125
Revision: 657632
archrelease: copy trunk to community-any
Added:
nvchecker/repos/community-any/PKGBUILD
(from rev 657631, nvchecker/trunk/PKGBUILD)
Deleted:
nvchecker/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 40 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-03 13:05:22 UTC (rev 657631)
+++ PKGBUILD 2020-07-03 13:05:39 UTC (rev 657632)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=nvchecker
-pkgver=1.6.post1
-# The commit bumps version in setup.py, and it's not tagged
-_commit=bc2fcd148d460ec9c0f0c12bc77e0326adad5546
-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/$_commit.tar.gz")
-sha512sums=('476ec6bf8ef20255b685720fa501c0c672a0d6a32d0cd5bb1e6458a00236201dad8ff2a9d0d2a64365aebb4d3d2dc089a7cfc2bd84923f6ec9ecb7114322327c')
-
-build() {
- cd nvchecker-$_commit
- python setup.py build
-}
-
-check() {
- cd nvchecker-$_commit
- pytest
-}
-
-package() {
- cd nvchecker-$_commit
- # use PYTHONHASHSEED=0 work around https://bugs.python.org/issue34722
- PYTHONHASHSEED=0 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 657631, nvchecker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-03 13:05:39 UTC (rev 657632)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=nvchecker
+pkgver=1.7
+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/$pkgname-$pkgver.tar.gz")
+sha512sums=('6243960747de33bd004bb3377109699f702bb64d65320e0c219f540546f33ace2d87be4eb2b18d988874eb98812176488fa5c98aec6f93cd218b8549b38482d0')
+
+build() {
+ cd nvchecker-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd nvchecker-$pkgver
+ pytest
+}
+
+package() {
+ cd nvchecker-$pkgver
+ # use PYTHONHASHSEED=0 work around https://bugs.python.org/issue34722
+ PYTHONHASHSEED=0 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