Monday, November 30, 2020

make py-sphinx stop depending on py-sphinx_rtd_theme

Turns out py-sphinx stopped depending on py-sphinx_rtd_theme close to 5
years ago. This is mentioned in CHANGES under the notes for release 1.4.

Diff below removes rtd as a BUILD_DEP for py-sphinx and instead makes it a
BUILD_DEP for the 3 ports that actually use the theme (py-virtualenv,
luacheck, vdirsyncer).

Probably should have gone in with the last commit if I'd noticed it
sooner.

ok?

Index: devel/py-virtualenv/Makefile
===================================================================
RCS file: /cvs/ports/devel/py-virtualenv/Makefile,v
retrieving revision 1.28
diff -u -p -u -r1.28 Makefile
--- devel/py-virtualenv/Makefile 27 Nov 2020 01:59:28 -0000 1.28
+++ devel/py-virtualenv/Makefile 1 Dec 2020 05:26:33 -0000
@@ -6,7 +6,7 @@ MODPY_EGG_VERSION = 16.0.0
DISTNAME = virtualenv-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
-REVISION = 2
+REVISION = 3

HOMEPAGE = http://www.virtualenv.org/

@@ -18,7 +18,8 @@ PERMIT_PACKAGE = Yes
MODPY_PI = Yes

MODULES = lang/python
-BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR}>=1.4.8p5
+BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR}>=1.4.8p5 \
+ textproc/py-sphinx_rtd_theme${MODPY_FLAVOR}>=0.4.3
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
devel/py-mock${MODPY_FLAVOR}

Index: devel/luacheck/Makefile
===================================================================
RCS file: /cvs/ports/devel/luacheck/Makefile,v
retrieving revision 1.11
diff -u -p -u -r1.11 Makefile
--- devel/luacheck/Makefile 27 Nov 2020 01:59:28 -0000 1.11
+++ devel/luacheck/Makefile 1 Dec 2020 05:26:33 -0000
@@ -7,11 +7,12 @@ GH_ACCOUNT= mpeterv
GH_PROJECT= luacheck
GH_TAGNAME= 0.21.2

-REVISION= 0
+REVISION= 1

MAINTAINER= Jonathan Gray <jsg@openbsd.org>

-BUILD_DEPENDS= textproc/py-sphinx>=1.4.8p5
+BUILD_DEPENDS= textproc/py-sphinx>=1.4.8p5 \
+ textproc/py-sphinx_rtd_theme${MODPY_FLAVOR}>=0.4.3

# MIT
PERMIT_PACKAGE= Yes
Index: textproc/py-sphinx/Makefile
===================================================================
RCS file: /cvs/ports/textproc/py-sphinx/Makefile,v
retrieving revision 1.29
diff -u -p -u -r1.29 Makefile
--- textproc/py-sphinx/Makefile 27 Nov 2020 01:59:28 -0000 1.29
+++ textproc/py-sphinx/Makefile 1 Dec 2020 05:26:33 -0000
@@ -5,13 +5,12 @@ COMMENT = python documentation generato
MODPY_EGG_VERSION = 1.4.8
DISTNAME = Sphinx-${MODPY_EGG_VERSION}
PKGNAME = py-sphinx-${MODPY_EGG_VERSION}
-REVISION = 5
+REVISION = 6

CATEGORIES = textproc

HOMEPAGE = http://sphinx-doc.org/

-
# BSD
PERMIT_PACKAGE = Yes

@@ -24,7 +23,6 @@ RUN_DEPENDS = devel/py-babel${MODPY_FLA
textproc/py-alabaster${MODPY_FLAVOR} \
textproc/py-docutils${MODPY_FLAVOR} \
textproc/py-pygments${MODPY_FLAVOR} \
- textproc/py-sphinx_rtd_theme${MODPY_FLAVOR}>=0.4.3 \
textproc/py-snowballstemmer${MODPY_FLAVOR} \
www/py-jinja2${MODPY_FLAVOR}
BUILD_DEPENDS = ${RUN_DEPENDS}
Index: productivity/vdirsyncer/Makefile
===================================================================
RCS file: /cvs/ports/productivity/vdirsyncer/Makefile,v
retrieving revision 1.15
diff -u -p -u -r1.15 Makefile
--- productivity/vdirsyncer/Makefile 27 Nov 2020 01:59:28 -0000 1.15
+++ productivity/vdirsyncer/Makefile 1 Dec 2020 05:26:33 -0000
@@ -4,7 +4,7 @@ COMMENT = synchronize calendars and con

MODPY_EGG_VERSION = 0.16.8
DISTNAME = vdirsyncer-${MODPY_EGG_VERSION}
-REVISION = 0
+REVISION = 1

CATEGORIES = productivity

@@ -24,6 +24,7 @@ MODPY_PYTEST = Yes
MODPY_PYTEST_ARGS = tests/

BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR}>=1.4.8p5 \
+ textproc/py-sphinx_rtd_theme${MODPY_FLAVOR}>=0.4.3 \
devel/py-setuptools_scm${MODPY_FLAVOR} \
${RUN_DEPENDS}

No comments:

Post a Comment