Compare commits

..

35 Commits

Author SHA1 Message Date
Fedora Release Engineering 7571993481 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 16:08:48 +00:00
Python Maint 81d5ecc94b Rebuilt for Python 3.13 2024-06-09 16:34:47 +02:00
Miro Hrončok 1c5506f241 Convert to %autorelease and %autochangelog
[skip changelog]
2024-02-06 15:27:23 +01:00
Karolina Surma 49a95bf859 Define the whoosh extra for the package 2024-02-06 12:43:13 +01:00
Karolina Surma e3633f761d Change the URL to point to the code repository 2024-02-06 12:43:13 +01:00
Karolina Surma 19f5b182e6 Don't enumerate the Source anymore 2024-02-06 12:43:13 +01:00
Karolina Surma 4fc8732741 Remove the obsolete %{python_provide} macro 2024-02-06 12:43:13 +01:00
Karolina Surma 3ff1704c0f Declare the license as an SPDX expression
In the unpacked sources:
$ askalono crawl .
./LICENSE
License: BSD-2-Clause (original text)
Score: 0.947
2024-02-06 12:42:08 +01:00
Karolina Surma 4c850b292c Expand the %pypi_name macro
The package name doesn't change so it makes little sense to macronize it
2024-01-30 16:55:31 +01:00
Karolina Surma b21c7f28f1 Update to 1.2.7
- Don't list BuildRequires manually, they can be generated automatically
- Run tests with %tox, which is what upstream does
2024-01-30 16:55:06 +01:00
Fedora Release Engineering 42686f583f Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 11:06:28 +00:00
Fedora Release Engineering 361c00b155 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 07:36:41 +00:00
Fedora Release Engineering f027346b3c Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 14:24:56 +00:00
Python Maint e94b009c33 Rebuilt for Python 3.12 2023-07-03 14:02:54 +02:00
Python Maint 0d7cfba279 Bootstrap for Python 3.12 2023-06-14 06:25:58 +02:00
Fedora Release Engineering 2b2cde723c Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 17:35:47 +00:00
Fedora Release Engineering 59107f6c44 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 22:36:10 +00:00
Python Maint cea142fda9 Rebuilt for Python 3.11 2022-06-14 14:02:06 +02:00
Python Maint ad32d18f0a Bootstrap for Python 3.11 2022-06-13 18:22:23 +02:00
Fedora Release Engineering 5391342862 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 15:45:37 +00:00
Fedora Release Engineering 24524eb160 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 09:43:30 +00:00
Python Maint 4ecce9f8e5 Rebuilt for Python 3.10 2021-06-04 19:45:28 +02:00
Python Maint b440730c4f Bootstrap for Python 3.10 2021-06-03 12:58:08 +02:00
Miro Hrončok 2c53ee3603 Don't skip all tests when building without optional tests
Print the reason for skipped tests instead.
2021-05-12 14:50:50 +02:00
Tomas Hrnciar 5df9f91cbe Add bcond to disable optional tests during bootstrap 2021-05-12 12:55:13 +02:00
Miro Hrončok 121c463aac Use %pytest and be verbose, to display reason for skip
Examples:

    tests/test_searchadapters.py::test_xapian SKIPPED (needs sqlalchemy)     [  7%]
    tests/test_searchadapters.py::test_whoosh SKIPPED (needs sqlalchemy)     [ 15%]
    tests/test_websupport.py::test_no_srcdir PASSED                          [ 23%]
    tests/test_websupport.py::test_build SKIPPED (needs sqlalchemy)          [ 30%]
    tests/test_websupport.py::test_get_document SKIPPED (needs sqlalchemy)   [ 38%]
    tests/test_websupport.py::test_comments SKIPPED (needs sqlalchemy)       [ 46%]
    tests/test_websupport.py::test_user_delete_comments SKIPPED (needs s...) [ 53%]
    tests/test_websupport.py::test_moderation SKIPPED (needs sqlalchemy)     [ 61%]
    tests/test_websupport.py::test_moderator_delete_comments SKIPPED (ne...) [ 69%]
    tests/test_websupport.py::test_update_username SKIPPED (needs sqlalc...) [ 76%]
    tests/test_websupport.py::test_proposals SKIPPED (needs sqlalchemy)      [ 84%]
    tests/test_websupport.py::test_voting SKIPPED (needs sqlalchemy)         [ 92%]
    tests/test_websupport.py::test_differ PASSED                             [100%]

    tests/test_searchadapters.py::test_xapian SKIPPED (needs xapian bind...) [  7%]
    tests/test_searchadapters.py::test_whoosh SKIPPED (needs whoosh pack...) [ 15%]
    tests/test_websupport.py::test_no_srcdir PASSED                          [ 23%]
    tests/test_websupport.py::test_build PASSED                              [ 30%]
    tests/test_websupport.py::test_get_document PASSED                       [ 38%]
    tests/test_websupport.py::test_comments PASSED                           [ 46%]
    tests/test_websupport.py::test_user_delete_comments PASSED               [ 53%]
    tests/test_websupport.py::test_moderation PASSED                         [ 61%]
    tests/test_websupport.py::test_moderator_delete_comments PASSED          [ 69%]
    tests/test_websupport.py::test_update_username PASSED                    [ 76%]
    tests/test_websupport.py::test_proposals PASSED                          [ 84%]
    tests/test_websupport.py::test_voting PASSED                             [ 92%]
    tests/test_websupport.py::test_differ PASSED                             [100%]
2021-03-11 18:09:40 +01:00
Miro Hrončok 5d8cd6c44c Update runtime and buildtime dependencies
- mock is not used at all
- xapian is an optional test dependency (like sqlalchemy and whoosh)
- six is only used in tests
2021-03-10 18:41:29 +01:00
Fedora Release Engineering f24848b860 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 13:37:05 +00:00
Miro Hrončok 1821af5112 Update to 1.2.4 2020-08-18 23:50:18 +02:00
Fedora Release Engineering 17ee4e925b - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 04:05:39 +00:00
Miro Hrončok 26e5815be4 Rebuilt for Python 3.9 2020-05-23 09:14:46 +02:00
Javier Pena 2177541d27 Update to upstream 1.2.1 (bz#1823520) 2020-04-14 10:29:17 +02:00
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
4 changed files with 152 additions and 94 deletions
+3
View File
@@ -5,3 +5,6 @@
/sphinxcontrib-websupport-1.1.0.tar.gz
/sphinxcontrib-websupport-1.1.1.dev20190321.tar.gz
/sphinxcontrib-websupport-1.1.2.tar.gz
/sphinxcontrib-websupport-1.2.1.tar.gz
/sphinxcontrib-websupport-1.2.4.tar.gz
/sphinxcontrib_websupport-1.2.7.tar.gz
+122
View File
@@ -0,0 +1,122 @@
* Tue Jan 30 2024 Karolina Surma <ksurma@redhat.com> - 1.2.7-1
- Update to 1.2.7
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 03 2023 Python Maint <python-maint@redhat.com> - 1.2.4-13
- Rebuilt for Python 3.12
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.2.4-12
- Bootstrap for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 1.2.4-9
- Rebuilt for Python 3.11
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.2.4-8
- Bootstrap for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.4-5
- Rebuilt for Python 3.10
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.2.4-4
- Bootstrap for Python 3.10
* Wed Mar 10 2021 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-3
- Update runtime and buildtime dependencies
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Aug 18 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-1
- Update to 1.2.4
- Fixes rhbz#1800626
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-2
- Rebuilt for Python 3.9
* Tue Apr 14 2020 Javier Peña <jpena@redhat.com> - 1.2.1-1
- Update to upstream 1.2.1 (bz#1823520)
* 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
* Mon Dec 18 2017 Javier Peña <jpena@redhat.com> - 1.0.1-5.20171013git
- Fixed Source0 URL (bz#1526646)
* Fri Oct 13 2017 Javier Peña <jpena@redhat.com> - 1.0.1-4.20171013git
- Updated to latest git commit to fix build in Rawhide
* Wed Oct 11 2017 Troy Dawson <tdawson@redhat.com> - 1.0.1-3
- Cleanup spec file conditionals
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Jun 30 2017 Javier Peña <jpena@redhat.com> - 1.0.1-1
- Initial package.
+26 -93
View File
@@ -1,120 +1,53 @@
%global pypi_name sphinxcontrib-websupport
%bcond_without optional_tests
Name: python-%{pypi_name}
Version: 1.1.2
Release: 2%{?dist}
Name: python-sphinxcontrib-websupport
Version: 1.2.7
Release: %autorelease
Summary: Sphinx API for Web Apps
License: BSD
URL: http://sphinx-doc.org/
Source0: %{pypi_source}
License: BSD-2-Clause
URL: https://github.com/sphinx-doc/sphinxcontrib-websupport
Source: %{pypi_source sphinxcontrib_websupport}
BuildArch: noarch
%description
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
documentation into your Web application.
%package -n python3-%{pypi_name}
%package -n python3-sphinxcontrib-websupport
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
BuildRequires: python3-devel
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
Requires: python3-jinja2
Requires: python3-six
Requires: python3-sphinx
Requires: python3-sphinxcontrib-serializinghtml >= 1.1.3
Recommends: python3-sqlalchemy
Recommends: python3-whoosh
%description -n python3-%{pypi_name}
%if %{with optional_tests}
# Optional tests dep, undeclared upstream, can be skipped if needed
BuildRequires: python3-xapian
%endif
%description -n python3-sphinxcontrib-websupport
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
documentation into your Web application.
%pyproject_extras_subpkg -n python3-sphinxcontrib-websupport whoosh
%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%autosetup -n sphinxcontrib_websupport-%{version}
%generate_buildrequires
%pyproject_buildrequires -t
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%pyproject_save_files sphinxcontrib
%check
mkdir empty && pushd empty # don't run the tests from sources
export PYTHONPATH=%{buildroot}%{python3_sitelib}
%{__python3} -m pytest ../tests
popd
rmdir empty
%tox
%files -n python3-%{pypi_name}
%files -n python3-sphinxcontrib-websupport -f %{pyproject_files}
%license LICENSE
%doc README.rst
%dir %{python3_sitelib}/sphinxcontrib
%{python3_sitelib}/sphinxcontrib/websupport/
%{python3_sitelib}/sphinxcontrib_websupport-*.pth
%{python3_sitelib}/sphinxcontrib_websupport-*.egg-info/
%changelog
* 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
* Mon Dec 18 2017 Javier Peña <jpena@redhat.com> - 1.0.1-5.20171013git
- Fixed Source0 URL (bz#1526646)
* Fri Oct 13 2017 Javier Peña <jpena@redhat.com> - 1.0.1-4.20171013git
- Updated to latest git commit to fix build in Rawhide
* Wed Oct 11 2017 Troy Dawson <tdawson@redhat.com> - 1.0.1-3
- Cleanup spec file conditionals
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Jun 30 2017 Javier Peña <jpena@redhat.com> - 1.0.1-1
- Initial package.
%autochangelog
+1 -1
View File
@@ -1 +1 @@
SHA512 (sphinxcontrib-websupport-1.1.2.tar.gz) = 55754f6304f38abd50f410da164f401a1b9a1d289b19f0077a38f72ce11a2dd64eff0713bb99471e470ff15fbd6a0042d49bab14c92f82cdd61019adbb88397e
SHA512 (sphinxcontrib_websupport-1.2.7.tar.gz) = daa5ecf6fd3fb6df6a9a3b60668d42d50d93454dc3c2703a1dd43d75220b326e90c5e0ae2cca27afe62e41ae03e7144e6b4cfe70096b857af74c8981fadba9ca