[arch-commits] Commit in python-flexmock/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Feb 21 21:20:33 UTC 2022
Date: Monday, February 21, 2022 @ 21:20:33
Author: felixonmars
Revision: 1135660
upgpkg: python-flexmock 0.11.2-1
Modified:
python-flexmock/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-21 21:14:34 UTC (rev 1135659)
+++ PKGBUILD 2022-02-21 21:20:33 UTC (rev 1135660)
@@ -1,28 +1,28 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-flexmock
-pkgver=0.11.1
-pkgrel=3
+pkgver=0.11.2
+pkgrel=1
pkgdesc="Mock/Stub/Spy library for Python"
arch=('any')
license=('BSD')
-url="https://has207.github.com/flexmock"
+url="https://flexmock.readthedocs.io"
depends=('python')
makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/bkabrda/flexmock/archive/$pkgver.tar.gz")
-sha512sums=('c845c74a8a62ebcf6d9ca4d954d0961fe1d5e0302511a2491e708052a9a9831ec1b5fe2cef9c9483ef12ff5b257993a765fe58b41118046c36889eb7dcbe7de8')
+checkdepends=('python-pytest' 'python-teamcity-messages' 'python-testtools' 'python-twisted')
+source=("https://github.com/flexmock/flexmock/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('cba7bef955bf5241b14dfa4672579b7ad32eb9b1a40f9ea89a0e78d63f9086441695367aedbeb9851d93aa7cfdec5cacd518d6c472c19cf19e509884ff0be6dd')
export LC_CTYPE=en_US.UTF-8
build() {
- cd "$srcdir"/flexmock-$pkgver
+ cd flexmock-$pkgver
python setup.py build
}
check() {
- cd "$srcdir"/flexmock-$pkgver
- python setup.py pytest
+ cd flexmock-$pkgver
+ PYTHONPATH="$PWD"/build/lib make test
}
package() {
More information about the arch-commits
mailing list