[arch-commits] Commit in python-noseofyeti/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jun 7 01:42:08 UTC 2021
Date: Monday, June 7, 2021 @ 01:42:07
Author: felixonmars
Revision: 956777
upgpkg: python-noseofyeti 2.0.3-1
Modified:
python-noseofyeti/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-07 01:41:59 UTC (rev 956776)
+++ PKGBUILD 2021-06-07 01:42:07 UTC (rev 956777)
@@ -1,8 +1,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-noseofyeti
-pkgver=2.0.2
-_commit=00bd23f1485e39c3489f84737cdfd03567b722b0
+pkgver=2.0.3
pkgrel=1
pkgdesc="A custom pyton codec that provides an RSpec style dsl for python"
url="https://github.com/delfick/nose-of-yeti"
@@ -12,21 +11,21 @@
makedepends=('python-setuptools')
checkdepends=('python-asynctest' 'python-pytest' 'python-alt-pytest-asyncio'
'python-pytest-helpers-namespace')
-source=("https://github.com/delfick/nose-of-yeti/archive/$_commit/$pkgname-$_commit.tar.gz")
-sha512sums=('e666a4afe149efb2c5fb5b1c6f141c508ff9af263c7e421a0bea1706e8f90d28dd730c0232d094bc45da45ed55ea7cf4482d4ee4b68b95605c5a671b7246ce27')
+source=("https://github.com/delfick/nose-of-yeti/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('7bb849e190607b95873525d3d3c182f87252c8199936c25ac1c4af1548fe65e2e755015d79c20da72096d80559908e56e19a618bf72cadf66771f55164a9c07d')
build() {
- cd nose-of-yeti-$_commit
+ cd nose-of-yeti-release-$pkgver
python setup.py build
}
check() {
- cd nose-of-yeti-$_commit
+ cd nose-of-yeti-release-$pkgver
PYTHONPATH="$PWD/build/lib" pytest
}
package() {
- cd nose-of-yeti-$_commit
+ cd nose-of-yeti-release-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
More information about the arch-commits
mailing list