python-sphinx-notfound-page/0001-add-setup.py.patch
openeuler-ci-bot 19b7dff541 !9 Package upgrade
From: @starlet-dx
Reviewed-by: @myeuler
Signed-off-by: @myeuler
2022-10-25 13:55:37 +08:00

42 lines
1.5 KiB
Diff

--- 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',
+ },
+)