[arch-commits] Commit in nvchecker/repos/community-any (3 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Fri May 22 03:38:36 UTC 2020
Date: Friday, May 22, 2020 @ 03:38:35
Author: yan12125
Revision: 631520
archrelease: copy trunk to community-any
Added:
nvchecker/repos/community-any/PKGBUILD
(from rev 631519, nvchecker/trunk/PKGBUILD)
Deleted:
nvchecker/repos/community-any/PKGBUILD
nvchecker/repos/community-any/nvchecker-update-tests-4.patch
--------------------------------+
PKGBUILD | 83 +++++++++++++++++++--------------------
nvchecker-update-tests-4.patch | 29 -------------
2 files changed, 42 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-22 03:30:28 UTC (rev 631519)
+++ PKGBUILD 2020-05-22 03:38:35 UTC (rev 631520)
@@ -1,41 +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=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/$_commit.tar.gz")
-sha512sums=('476ec6bf8ef20255b685720fa501c0c672a0d6a32d0cd5bb1e6458a00236201dad8ff2a9d0d2a64365aebb4d3d2dc089a7cfc2bd84923f6ec9ecb7114322327c')
-
-build() {
- cd nvchecker-$_commit
- python setup.py build
-}
-
-check() {
- cd nvchecker-$_commit
- pytest
-}
-
-package() {
- cd nvchecker-$_commit
- 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 631519, nvchecker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-22 03:38:35 UTC (rev 631520)
@@ -0,0 +1,42 @@
+# 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:
Deleted: nvchecker-update-tests-4.patch
===================================================================
--- nvchecker-update-tests-4.patch 2020-05-22 03:30:28 UTC (rev 631519)
+++ nvchecker-update-tests-4.patch 2020-05-22 03:38:35 UTC (rev 631520)
@@ -1,29 +0,0 @@
-From 4fc62d35888c3d695956793d5724a52ba3a99574 Mon Sep 17 00:00:00 2001
-From: lilydjwg <lilydjwg at gmail.com>
-Date: Wed, 8 Apr 2020 18:17:32 +0800
-Subject: [PATCH] tests: update test_archpkg
-
----
- tests/test_archpkg.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/test_archpkg.py b/tests/test_archpkg.py
-index 36f7222..3096394 100644
---- a/tests/test_archpkg.py
-+++ b/tests/test_archpkg.py
-@@ -18,7 +18,7 @@ async def test_archpkg_provided(get_version):
- assert await get_version("jsoncpp", {
- "archpkg": None,
- "provided": "libjsoncpp.so",
-- }) == "21-64"
-+ }) == "22-64"
-
- @flaky
- async def test_archpkg_provided_strip(get_version):
-@@ -26,5 +26,5 @@ async def test_archpkg_provided_strip(get_version):
- "archpkg": None,
- "provided": "libjsoncpp.so",
- "strip-release": True,
-- }) == "21"
-+ }) == "22"
-
More information about the arch-commits
mailing list