Add subpackages with extras

epel9
Miro Hrončok 4 years ago
parent a7ad9a7ad1
commit df25d483f1

@ -50,15 +50,29 @@ BuildRequires: %{py3_dist pytest}
BuildRequires: %{py3_dist pytest-xdist} BuildRequires: %{py3_dist pytest-xdist}
BuildRequires: %{py3_dist typing-extensions} BuildRequires: %{py3_dist typing-extensions}
%endif %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} %description -n python%{python3_pkgversion}-%{srcname} %{_description}
Python 3 version. 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 %prep
%autosetup -n %{srcname}-%{srcname}-python-%{version}/%{srcname}-python -p2 %autosetup -n %{srcname}-%{srcname}-python-%{version}/%{srcname}-python -p2
# disable Sphinx extensions that require Internet access # disable Sphinx extensions that require Internet access
@ -99,6 +113,7 @@ PYTHONPATH=src READTHEDOCS=True sphinx-build -b man docs docs/_build/man
%changelog %changelog
* Mon Mar 08 2021 Miro Hrončok <mhroncok@redhat.com> - 6.6.0-1 * Mon Mar 08 2021 Miro Hrončok <mhroncok@redhat.com> - 6.6.0-1
- Update to 6.6.0 - Update to 6.6.0
- Add subpackages with extras
- Fixes: rhbz#1902400 - Fixes: rhbz#1902400
* Mon Feb 01 2021 Miro Hrončok <mhroncok@redhat.com> - 5.43.9-1 * Mon Feb 01 2021 Miro Hrončok <mhroncok@redhat.com> - 5.43.9-1

Loading…
Cancel
Save