[arch-commits] Commit in nvchecker/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jun 26 17:33:07 UTC 2017
Date: Monday, June 26, 2017 @ 17:33:06
Author: felixonmars
Revision: 241045
upgpkg: nvchecker 0.4.4-1
Modified:
nvchecker/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-26 17:28:16 UTC (rev 241044)
+++ PKGBUILD 2017-06-26 17:33:06 UTC (rev 241045)
@@ -2,7 +2,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=nvchecker
-pkgver=0.4.3
+pkgver=0.4.4
pkgrel=1
pkgdesc="New version checker for software"
arch=('any')
@@ -9,23 +9,26 @@
url="https://github.com/lilydjwg/nvchecker"
license=('MIT')
depends=('python-setuptools' 'python-tornado')
-makedepends=('git')
-checkdepends=('python-pytest-runner')
-source=("git+https://github.com/lilydjwg/nvchecker.git#tag=v$pkgver")
-sha256sums=('SKIP')
+checkdepends=('python-pytest-runner' 'python-flaky')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lilydjwg/nvchecker/archive/v$pkgver.tar.gz")
+sha512sums=('db18e330a2c5d9599d8910623f994df0b3d594ace209ff38cac0113f1a8da79b24025dcf8590b007c6a7eb9d5460218bfb3e8231f0174ed752854c094200db57')
+prepare() {
+ sed -i 's/1.3\-7/1.3-8/' nvchecker-$pkgver/tests/test_{archpkg,pacman}.py
+}
+
build() {
- cd nvchecker
- python setup.py build
+ cd nvchecker-$pkgver
+ python setup.py build
}
check() {
- cd nvchecker
+ cd nvchecker-$pkgver
python setup.py pytest
}
package() {
- cd nvchecker
+ cd nvchecker-$pkgver
python setup.py install -O1 --prefix=/usr --root="$pkgdir"
}
More information about the arch-commits
mailing list