Skip to content
Snippets Groups Projects
Commit 687211e9 authored by Duncan Bellamy's avatar Duncan Bellamy :speech_balloon: Committed by Kevin Daudt
Browse files

community/py3-pytest-httpbin: upgrade to 1.0.1

* run tests
parent aae490bb
No related branches found
No related tags found
1 merge request!28873community/py3-pytest-httpbin: upgrade to 1.0.1
Pipeline #104258 canceled
# Contributor: Duncan Bellamy <dunk@denkimushi.com> # Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com> # Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-pytest-httpbin pkgname=py3-pytest-httpbin
pkgver=1.0.0 pkgver=1.0.1
pkgrel=2 pkgrel=0
pkgdesc="Easily test your HTTP library against a local copy of httpbin" pkgdesc="Easily test your HTTP library against a local copy of httpbin"
options="!check" # No testsuite on pypi tarball
url="https://github.com/kevin1024/pytest-httpbin" url="https://github.com/kevin1024/pytest-httpbin"
arch="noarch" arch="noarch"
license="MIT" license="MIT"
depends="py3-httpbin py3-six" depends="py3-httpbin py3-six"
makedepends="py3-setuptools" makedepends="py3-setuptools"
checkdepends="py3-pytest" checkdepends="py3-pytest py3-requests"
source="https://files.pythonhosted.org/packages/source/p/pytest-httpbin/pytest-httpbin-$pkgver.tar.gz" source="https://files.pythonhosted.org/packages/source/p/pytest-httpbin/pytest-httpbin-$pkgver.tar.gz"
builddir="$srcdir/pytest-httpbin-$pkgver" builddir="$srcdir/pytest-httpbin-$pkgver"
...@@ -18,8 +17,14 @@ build() { ...@@ -18,8 +17,14 @@ build() {
python3 setup.py build python3 setup.py build
} }
check() {
python3 -m pytest
}
package() { package() {
python3 setup.py install --prefix=/usr --root="$pkgdir" python3 setup.py install --prefix=/usr --root="$pkgdir"
} }
sha512sums="5e890de7f90917c81ea99f5389ff955bc751a8852ced33dc16a4b950ed8966807af58e8ddee5f285e1c94254d90c07f51be619747631bb684a9123746f295d7f pytest-httpbin-1.0.0.tar.gz" sha512sums="
3c2589e309bf34dd623051ce15cf09ccb23e7a11c160ed40f2379f11fb54618d77f03c9100faae1755f9a58c402ac10798f1c0ea28e11ff86408e2c2aaf82f15 pytest-httpbin-1.0.1.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment