!11 Update package

From: @Wangjunqi123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-10-27 02:43:12 +00:00 committed by Gitee
commit 4e963ac82e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 47 additions and 1 deletions

Binary file not shown.

BIN
0.8.3.tar.gz Normal file

Binary file not shown.

41
0001-add-setup.py.patch Normal file
View 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',
+ },
+)

View File

@ -6,13 +6,14 @@
%global desc Create a custom 404 page with absolute URLs hardcoded %global desc Create a custom 404 page with absolute URLs hardcoded
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 0.7.1 Version: 0.8.3
Release: 1 Release: 1
Summary: Create a custom 404 page with absolute URLs hardcoded Summary: Create a custom 404 page with absolute URLs hardcoded
License: MIT License: MIT
URL: https://pypi.python.org/pypi/%{pypi_name} URL: https://pypi.python.org/pypi/%{pypi_name}
Source0: https://github.com/%{project_owner}/%{github_name}/archive/%{version}.tar.gz Source0: https://github.com/%{project_owner}/%{github_name}/archive/%{version}.tar.gz
Patch0: 0001-add-setup.py.patch
BuildArch: noarch BuildArch: noarch
@ -38,6 +39,7 @@ Requires: python%{python3_pkgversion}-sphinx
%prep %prep
%autosetup -n %{pypi_name}-%{version} -p1 %autosetup -n %{pypi_name}-%{version} -p1
%patch0
%build %build
%py3_build %py3_build
@ -56,6 +58,9 @@ PYTHONPATH=$PWD py.test-%{python3_version} -v .
%{python3_sitelib}/%{importname}/ %{python3_sitelib}/%{importname}/
%changelog %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 * Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.7.1-1
- Upgrade to version 0.7.1 - Upgrade to version 0.7.1