remove platform-python subpackage
Next version will require more dependencies and they are not packaged for platform-python. Stop touching dead horse. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
df1df0e5ff
commit
1fb3753c4c
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
%bcond_without python3
|
%bcond_without python3
|
||||||
%bcond_without platform_python
|
|
||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 3.12.0
|
Version: 3.12.0
|
||||||
@ -56,6 +55,7 @@ BuildRequires: python3-sphinx
|
|||||||
Suggests: python3-numpy
|
Suggests: python3-numpy
|
||||||
Suggests: python3-pytz
|
Suggests: python3-pytz
|
||||||
%endif
|
%endif
|
||||||
|
Obsoletes: platform-python-%{srcname} < 3.12.0-5
|
||||||
|
|
||||||
%description -n python3-%{srcname}
|
%description -n python3-%{srcname}
|
||||||
Hypothesis is a library for testing your Python code against a much
|
Hypothesis is a library for testing your Python code against a much
|
||||||
@ -65,20 +65,6 @@ to integrate seamlessly into your existing Python unit testing work
|
|||||||
flow.
|
flow.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with platform_python}
|
|
||||||
%package -n platform-python-%{srcname}
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildRequires: platform-python-devel
|
|
||||||
BuildRequires: platform-python-setuptools
|
|
||||||
|
|
||||||
%description -n platform-python-%{srcname}
|
|
||||||
Hypothesis is a library for testing your Python code against a much
|
|
||||||
larger range of examples than you would ever want to write by
|
|
||||||
hand. It’s based on the Haskell library, Quickcheck, and is designed
|
|
||||||
to integrate seamlessly into your existing Python unit testing work
|
|
||||||
flow.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{srcname}-python-%{version} -p1
|
%autosetup -n %{srcname}-python-%{version} -p1
|
||||||
|
|
||||||
@ -98,19 +84,11 @@ PYTHONPATH=src READTHEDOCS=True sphinx-build -b man docs docs/_build/man
|
|||||||
PYTHONPATH=src READTHEDOCS=True sphinx-build-3 -b man docs docs/_build/man
|
PYTHONPATH=src READTHEDOCS=True sphinx-build-3 -b man docs docs/_build/man
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with platform_python}
|
|
||||||
%platform_py_build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
%py2_install
|
%py2_install
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with platform_python}
|
|
||||||
%platform_py_install
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
%py3_install
|
%py3_install
|
||||||
%endif
|
%endif
|
||||||
@ -134,14 +112,6 @@ PYTHONPATH=src READTHEDOCS=True sphinx-build-3 -b man docs docs/_build/man
|
|||||||
%{_mandir}/man1/hypothesis.1*
|
%{_mandir}/man1/hypothesis.1*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with platform_python}
|
|
||||||
%files -n platform-python-%{srcname}
|
|
||||||
%license LICENSE.txt
|
|
||||||
%doc README.rst
|
|
||||||
%{platform_python_sitelib}/*
|
|
||||||
%{_mandir}/man1/hypothesis.1*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Aug 24 2017 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-4
|
* Thu Aug 24 2017 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-4
|
||||||
- Rebuilt for rhbz#1484607
|
- Rebuilt for rhbz#1484607
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user