Compare commits

..

18 Commits

Author SHA1 Message Date
Fedora Release Engineering c0c2d2762b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 15:33:13 +00:00
Miro Hrončok f941818a4b Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:31:57 +02:00
Miro Hrončok 56984b7174 Rebuilt for Python 3.8 2019-08-16 15:21:49 +02:00
Miro Hrončok fa1711963b Workaround import mishmash in %check
The namespace sphinxcontrib package made this problematic,
because the package in $pwd was not namespace, but regular.

Alternatively, sphinxcontrib/__init__.py could have been deleted,
but not in %prep, because the package does not install without it.

This solution makes sure we are testing what we are shipping.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1733681
2019-07-27 12:39:05 +02:00
Fedora Release Engineering 2ed31f5a40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 16:29:46 +00:00
Miro Hrončok 10992d0440 Revert a dirty workaround, fixed properly in sphinxcontrib-serializinghtml 1.1.3 2019-05-20 14:34:14 +02:00
Miro Hrončok 1a66445027 Update to 1.1.2 (#1711650) 2019-05-20 14:21:57 +02:00
Miro Hrončok 210523a9d1 Update to 1.1.1.dev20190321 (#1691429), support Sphinx 2.0 (#1690793) 2019-03-27 13:14:54 +01:00
Miro Hrončok 85aae8a86d Revert "Skip the tests for now to get rid of python2-sphinxcontrib-websupport"
This reverts commit a3e0f050af.
2019-03-11 17:47:30 +01:00
Miro Hrončok a3e0f050af Skip the tests for now to get rid of python2-sphinxcontrib-websupport 2019-03-11 17:37:57 +01:00
Miro Hrončok 4e4efc2528 Update to 1.1.0 2019-03-06 16:19:14 +01:00
Miro Hrončok 419621a63a Subpackage python2-sphinxcontrib-websupport has been removed 2019-03-06 16:12:55 +01:00
Fedora Release Engineering 0c30290e64 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 09:29:37 +00:00
Miro Hrončok b5d2654d1b Remove unused dependency on xapian 2018-07-16 10:54:05 +02:00
Fedora Release Engineering 666119c5a0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 02:12:29 +00:00
Miro Hrončok 94d1979615 Rebuilt for Python 3.7 2018-06-15 11:41:49 +02:00
Javier Pena d2d5654136 Update to commit ebe84efc1a869da8d5689c706cdcf6ea864f0d9b
Fix build with Sphinx 1.7 (bz#1578132)
2018-05-16 11:24:52 +02:00
Iryna Shcherbina 188cf32647 Update Python 2 dependency declarations to new packaging standards 2018-02-28 03:43:06 +01:00
3 changed files with 65 additions and 64 deletions
+4
View File
@@ -1,3 +1,7 @@
/sphinxcontrib-websupport-1.0.1.tar.gz
/sphinxcontrib-websupport-1.0.1.dev20171013.tar.gz
/88d4fdd163efdeaab91a105b7980c42078ed3417.tar.gz
/ebe84efc1a869da8d5689c706cdcf6ea864f0d9b.tar.gz
/sphinxcontrib-websupport-1.1.0.tar.gz
/sphinxcontrib-websupport-1.1.1.dev20190321.tar.gz
/sphinxcontrib-websupport-1.1.2.tar.gz
+60 -63
View File
@@ -1,117 +1,114 @@
%if 0%{?fedora} || 0%{?rhel} > 7
%global with_python3 1
%endif
%global commit 88d4fdd163efdeaab91a105b7980c42078ed3417
%global pypi_name sphinxcontrib-websupport
Name: python-%{pypi_name}
Version: 1.0.1
Release: 6.20171013git%{?dist}
Version: 1.1.2
Release: 5%{?dist}
Summary: Sphinx API for Web Apps
License: BSD
URL: http://sphinx-doc.org/
#Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.%{commit}.tar.gz
Source0: https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/%{commit}.tar.gz
Source0: %{pypi_source}
BuildArch: noarch
%description
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
documentation into your Web application.
%package -n python2-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python2-%{pypi_name}}
BuildRequires: python2-devel
BuildRequires: python-docutils
BuildRequires: python-jinja2
BuildRequires: python-mock
BuildRequires: python-pytest
BuildRequires: python-setuptools
BuildRequires: python-six
BuildRequires: python-sphinx
BuildRequires: python-sqlalchemy
BuildRequires: python-whoosh
BuildRequires: xapian-bindings-python
Requires: python-docutils
Requires: python-jinja2
Requires: python-six
Requires: python-sphinx
Requires: python-sqlalchemy
Requires: python-whoosh
%description -n python2-%{pypi_name}
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
documentation into your Web application.
%if 0%{?with_python3}
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
BuildRequires: python3-devel
BuildRequires: python3-docutils
BuildRequires: python3-setuptools
BuildRequires: python3-jinja2
BuildRequires: python3-mock
BuildRequires: python3-pytest
BuildRequires: python3-six
BuildRequires: python3-sphinx
BuildRequires: python3-sphinxcontrib-serializinghtml >= 1.1.3
BuildRequires: python3-sqlalchemy
BuildRequires: python3-whoosh
BuildRequires: python3-xapian
Requires: python3-docutils
Requires: python3-jinja2
Requires: python3-six
Requires: python3-sphinx
Requires: python3-sqlalchemy
Requires: python3-whoosh
Requires: python3-sphinxcontrib-serializinghtml >= 1.1.3
Recommends: python3-sqlalchemy
Recommends: python3-whoosh
%description -n python3-%{pypi_name}
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
documentation into your Web application.
%endif
%prep
%autosetup -n %{pypi_name}-%{commit}
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%if 0%{?with_python3}
%py3_build
%endif
%py2_build
%install
%if 0%{?with_python3}
%py3_install
%endif
%py2_install
%check
PYTHONPATH=. py.test tests/
%if 0%{?with_python3}
PYTHONPATH=. py.test-3 tests/
%endif
mkdir empty && pushd empty # don't run the tests from sources
export PYTHONPATH=%{buildroot}%{python3_sitelib}
%{__python3} -m pytest ../tests
popd
rmdir empty
%files -n python2-%{pypi_name}
%license LICENSE
%doc README.rst
%{python2_sitelib}/sphinxcontrib/websupport
%{python2_sitelib}/sphinxcontrib_websupport-*.pth
%{python2_sitelib}/sphinxcontrib_websupport-*.egg-info
%if 0%{?with_python3}
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/sphinxcontrib/websupport
%dir %{python3_sitelib}/sphinxcontrib
%{python3_sitelib}/sphinxcontrib/websupport/
%{python3_sitelib}/sphinxcontrib_websupport-*.pth
%{python3_sitelib}/sphinxcontrib_websupport-*.egg-info
%endif
%{python3_sitelib}/sphinxcontrib_websupport-*.egg-info/
%changelog
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-4
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-3
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon May 20 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-1
- Update to 1.1.2 (#1711650)
* Wed Mar 27 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1~dev20190321-1
- Update to 1.1.1.dev20190321 (#1691429)
- Support Sphinx 2.0 (#1690793)
* Wed Mar 06 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-1
- Update to 1.1.0
- Subpackage python2-sphinxcontrib-websupport has been removed
See https://fedoraproject.org/wiki/Changes/Sphinx2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-12.20180316git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jul 16 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-11.20180316git
- Remove unused dependency on xapian
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-10.20180316git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-9.20180316git
- Rebuilt for Python 3.7
* Wed May 16 2018 Javier Peña <jpena@redhat.com> - 1.0.1-8.20180316git
- Update to commit ebe84efc1a869da8d5689c706cdcf6ea864f0d9b
- Fix build with Sphinx 1.7 (bz#1578132)
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.1-7.20171013git
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6.20171013git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+1 -1
View File
@@ -1 +1 @@
SHA512 (88d4fdd163efdeaab91a105b7980c42078ed3417.tar.gz) = fd9591796d8071090c03a341b1e454bf27b57bb5289b33eddc5e5f993808d39fb2a31b8eb608d9f7a30077f8ebdc97e02fdd9ab163b5dce0f9560fb962fb5c35
SHA512 (sphinxcontrib-websupport-1.1.2.tar.gz) = 55754f6304f38abd50f410da164f401a1b9a1d289b19f0077a38f72ce11a2dd64eff0713bb99471e470ff15fbd6a0042d49bab14c92f82cdd61019adbb88397e