py-sphinx-rtd-theme: updated to 2.0.0

2.0.0

Added

Support for Sphinx versions 6.x and 7.x
Support for docutils <=0.20

Deprecations

The HTML4 writer is now officially deprecated. An error will be thrown if your project configuration still uses the HTML4 writer.
Support for Sphinx versions < 5.0 was removed.
In addition, our supported dependencies will match the dependencies from our lowest supported Sphinx release, version 5.0: Python >= 3.6 and docutils > 0.14 and < 0.19
This commit is contained in:
adam 2024-01-14 18:26:15 +00:00
parent 9f983e6697
commit 47bcfdefd0
4 changed files with 18 additions and 41 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.16 2023/11/07 22:38:06 wiz Exp $
# $NetBSD: Makefile,v 1.17 2024/01/14 18:26:15 adam Exp $
DISTNAME= sphinx_rtd_theme-1.2.2
DISTNAME= sphinx_rtd_theme-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sphinx_rtd_theme/}
@ -10,17 +10,15 @@ HOMEPAGE= https://github.com/rtfd/sphinx_rtd_theme
COMMENT= Sphinx readthedocs.org theme
LICENSE= mit AND apache-2.0
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.6:../../textproc/py-sphinx
DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-jquery>=4.0.0:../../textproc/py-sphinxcontrib-jquery
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
DEPENDS+= ${PYPKGPREFIX}-sphinx>=5:../../textproc/py-sphinx
DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-jquery>=4:../../textproc/py-sphinxcontrib-jquery
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 38
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,11 +1,10 @@
@comment $NetBSD: PLIST,v 1.5 2023/05/05 03:42:13 ryoon Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.6 2024/01/14 18:26:15 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/sphinx_rtd_theme/__init__.py
${PYSITELIB}/sphinx_rtd_theme/__init__.pyc
${PYSITELIB}/sphinx_rtd_theme/__init__.pyo

View File

@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.13 2023/07/01 11:38:11 wiz Exp $
$NetBSD: distinfo,v 1.14 2024/01/14 18:26:15 adam Exp $
BLAKE2s (sphinx_rtd_theme-1.2.2.tar.gz) = 0a6ed725cdf6b440ea1ea5ac7efe61c8224fed91013a5730f7ec30afdbadd209
SHA512 (sphinx_rtd_theme-1.2.2.tar.gz) = 44272272ce14387c1252ec40325ff8f9b40da6e37206333a8e0831cdce76c45efe58cf28f08132188d2799527a40e4ead881e8577776a123921b1cd908dd17fe
Size (sphinx_rtd_theme-1.2.2.tar.gz) = 2784122 bytes
SHA1 (patch-setup.cfg) = bac6a9e4a271867dde5ab3b49f13def80220b76c
BLAKE2s (sphinx_rtd_theme-2.0.0.tar.gz) = 5c5f06898585ded820c9335cdc12ba4ccb8ee7a4309ece97a2c9f5d49ee67d2d
SHA512 (sphinx_rtd_theme-2.0.0.tar.gz) = 3de989e24f2c187058b19017a92cf2159af0fdb32e5c3bc46992797a3be0f23ad75e1fd9b758e7d672eb38524798b4800de2e1b405910ea043dbd7d6f32a05da
Size (sphinx_rtd_theme-2.0.0.tar.gz) = 2785005 bytes

View File

@ -1,19 +0,0 @@
$NetBSD: patch-setup.cfg,v 1.1 2023/07/01 11:38:11 wiz Exp $
Be less restrictive.
--- setup.cfg.orig 2023-06-07 13:27:19.383995300 +0000
+++ setup.cfg
@@ -45,9 +45,9 @@ zip_safe = False
packages = sphinx_rtd_theme
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*
install_requires =
- sphinx >=1.6,<7
- docutils <0.19
- sphinxcontrib-jquery >=4,<5
+ sphinx
+ docutils
+ sphinxcontrib-jquery
tests_require =
pytest