python-hypothesis: fix depends

Drop optional dependencies.
This commit is contained in:
Alessio Sergi 2018-05-25 11:03:13 +02:00
parent 8f4bdb8ad0
commit 1805067e7c
1 changed files with 8 additions and 9 deletions

View File

@ -1,21 +1,21 @@
# Template file for 'python-hypothesis'
pkgname=python-hypothesis
version=3.55.0
revision=1
wrksrc="${pkgname/python-//}-python-${version}"
revision=2
noarch=yes
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="hypothesis"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-attrs python-coverage python-enum34 python-pandas"
depends="python-attrs python-coverage python-enum34"
checkdepends="python-coverage python-enum34 python-pytest python3-coverage
python3-flaky python3-pytest python3-pytz"
short_desc="A Python2 library for property based testing"
short_desc="Python2 library for property based testing"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MPL-2.0"
homepage="http://hypothesis.works/"
homepage="https://hypothesis.works/"
distfiles="https://github.com/HypothesisWorks/hypothesis-python/archive/${version}.tar.gz"
checksum=d13348dc2bf80c17ccd760580407ad7e2a68921e9cd3b9ee9b2139076abab741
noarch=yes
checksum=9b9bb4855ddfb2680154b715fad2730212bb75909edb9fb0d8964651df2359d4
do_check() {
# pytest doesn't recognize -n switch
@ -33,14 +33,13 @@ do_check() {
PYTHONPATH="${PY3PATH}" python3 -m pytest tests/cover
PYTHONPATH="${PY3PATH}" python3 -m pytest tests/py3
PYTHONPATH="${PY2PATH}" python2 -m pytest tests/py2
}
python3-hypothesis_package() {
noarch=yes
pycompile_module="hypothesis"
depends="python3-attrs python3-coverage"
short_desc="${short_desc/Python2/Python3}"
depends="python3-attrs python3-coverage python3-pytz python3-pandas"
pkg_install() {
vmove usr/lib/python3*
}