!11 Update package
From: @Wangjunqi123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
4e963ac82e
BIN
0.7.1.tar.gz
BIN
0.7.1.tar.gz
Binary file not shown.
BIN
0.8.3.tar.gz
Normal file
BIN
0.8.3.tar.gz
Normal file
Binary file not shown.
41
0001-add-setup.py.patch
Normal file
41
0001-add-setup.py.patch
Normal file
@ -0,0 +1,41 @@
|
||||
--- a/setup.py 1970-01-01 08:00:00.000000000 +0800
|
||||
+++ b/setup.py 2022-10-25 13:51:33.908767146 +0800
|
||||
@@ -0,0 +1,38 @@
|
||||
+import notfound
|
||||
+import setuptools
|
||||
+
|
||||
+
|
||||
+with open('README.rst', 'r') as fh:
|
||||
+ long_description = fh.read()
|
||||
+
|
||||
+setuptools.setup(
|
||||
+ name='sphinx-notfound-page',
|
||||
+ version=notfound.__version__,
|
||||
+ author='Manuel Kaufmann',
|
||||
+ author_email='humitos@gmail.com',
|
||||
+ description='Sphinx extension to build a 404 page with absolute URLs',
|
||||
+ url='https://github.com/readthedocs/sphinx-notfound-page',
|
||||
+ license='MIT',
|
||||
+ packages=setuptools.find_packages(),
|
||||
+ long_description=long_description,
|
||||
+ long_description_content_type='text/x-rst',
|
||||
+ include_package_data=True,
|
||||
+ zip_safe=False,
|
||||
+ classifiers=[
|
||||
+ 'Development Status :: 5 - Production/Stable',
|
||||
+ 'Framework :: Sphinx',
|
||||
+ 'Framework :: Sphinx :: Extension',
|
||||
+ 'License :: OSI Approved :: MIT License',
|
||||
+ 'Operating System :: OS Independent',
|
||||
+ 'Programming Language :: Python :: 2.7',
|
||||
+ 'Programming Language :: Python :: 3',
|
||||
+ 'Topic :: Documentation :: Sphinx',
|
||||
+ 'Topic :: Software Development :: Documentation',
|
||||
+ ],
|
||||
+ keywords='notfound 404 page sphinx',
|
||||
+ project_urls={
|
||||
+ 'Documentation': 'https://sphinx-notfound-page.readthedocs.io/',
|
||||
+ 'Source': 'https://github.com/readthedocs/sphinx-notfound-page',
|
||||
+ 'Tracker': 'https://github.com/readthedocs/sphinx-notfound-page/issues',
|
||||
+ },
|
||||
+)
|
||||
@ -6,13 +6,14 @@
|
||||
%global desc Create a custom 404 page with absolute URLs hardcoded
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.7.1
|
||||
Version: 0.8.3
|
||||
Release: 1
|
||||
Summary: Create a custom 404 page with absolute URLs hardcoded
|
||||
|
||||
License: MIT
|
||||
URL: https://pypi.python.org/pypi/%{pypi_name}
|
||||
Source0: https://github.com/%{project_owner}/%{github_name}/archive/%{version}.tar.gz
|
||||
Patch0: 0001-add-setup.py.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -38,6 +39,7 @@ Requires: python%{python3_pkgversion}-sphinx
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version} -p1
|
||||
%patch0
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -56,6 +58,9 @@ PYTHONPATH=$PWD py.test-%{python3_version} -v .
|
||||
%{python3_sitelib}/%{importname}/
|
||||
|
||||
%changelog
|
||||
* Tue Oct 25 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.8.3-1
|
||||
- Update version to 0.8.3
|
||||
|
||||
* Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.7.1-1
|
||||
- Upgrade to version 0.7.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user