From df25d483f1b7b8ecfb5fb5fe24c0c76030f26301 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Mar 08 2021 14:43:42 +0000 Subject: Add subpackages with extras --- diff --git a/python-hypothesis.spec b/python-hypothesis.spec index a84deac..18081d9 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -50,15 +50,29 @@ BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist pytest-xdist} BuildRequires: %{py3_dist typing-extensions} %endif -Requires: %{py3_dist sortedcontainers} -Suggests: %{py3_dist pytz} >= 2014.1 -Suggests: %{py3_dist numpy} >= 1.9.0 -Suggests: %{py3_dist pytest} >= 3.0 %description -n python%{python3_pkgversion}-%{srcname} %{_description} Python 3 version. +%{?python_extras_subpkg: +%{python_extras_subpkg -n python%{python3_pkgversion}-%{srcname} -i %{python3_sitelib}/hypothesis-*.egg-info + cli + ghostwriter + pytz + dateutil + lark + numpy + pandas + pytest + redis + zoneinfo + django +}} +# extras with missing deps: +# codemods: libcst +# dpcontracts: dpcontracts + %prep %autosetup -n %{srcname}-%{srcname}-python-%{version}/%{srcname}-python -p2 # disable Sphinx extensions that require Internet access @@ -99,6 +113,7 @@ PYTHONPATH=src READTHEDOCS=True sphinx-build -b man docs docs/_build/man %changelog * Mon Mar 08 2021 Miro Hrončok - 6.6.0-1 - Update to 6.6.0 +- Add subpackages with extras - Fixes: rhbz#1902400 * Mon Feb 01 2021 Miro Hrončok - 5.43.9-1