diff options
author | Danilo G. Baio <dbaio@FreeBSD.org> | 2020-05-11 23:51:58 +0000 |
---|---|---|
committer | Danilo G. Baio <dbaio@FreeBSD.org> | 2020-05-11 23:51:58 +0000 |
commit | 75a5f7f0762c1039d83da77f699eed5f26998731 (patch) | |
tree | d08289c54ff9db139f0a17e3129c69e9b0ae39b1 /mail/py-afew | |
parent | - pugixml-1.10 conflicts with libSavitar-4.5.0 on (diff) |
Update Sphinx
- Repocopy textproc/py-sphinx to textproc/py-sphinx18
Update it to 1.8.5 (latest version from 1.8.X).
This version supports Python 2 and 3.
Add test target.
- textproc/py-sphinx: Update to 3.0.2
Python 3 only (3.5+).
Add test target.
- Mk/Uses/python.mk: Add PY_SPHINX
Shared macro to use with flavors and not break
ports with USES=python (all versions).
Python >=3.5 --> textproc/py-sphinx (v3.0.2)
Python < 3.5 --> textproc/py-sphinx18 (v1.8.5)
All ports that uses sphinx were changed to use the new variable
${PY_SPHINX} in the dependency line, exceptions:
* Ports that fails to build with sphinx 3.0.2 because of code.
They are pointing to textproc/py-sphinx18 directly.
There aren't many ports.
* Ports that doesn't know Python flavors.
- Add several patches to fix Sphinx consumers
The most common issues are related with pkg-plist, the output
files from Sphinx changes between versions, keep this dynamically
is the better approach.
This will save time in future sphinx updates.
PR: 245629
Exp-run by: antoine
Notes
Notes:
svn path=/head/; revision=534966
Diffstat (limited to 'mail/py-afew')
-rw-r--r-- | mail/py-afew/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/py-afew/Makefile b/mail/py-afew/Makefile index 0a42cfc11aa8..3c975dd7fe2a 100644 --- a/mail/py-afew/Makefile +++ b/mail/py-afew/Makefile @@ -29,8 +29,8 @@ NO_ARCH= yes OPTIONS_DEFINE= MANPAGES DOCS OPTIONS_DEFAULT= MANPAGES -DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} -MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} +DOCS_BUILD_DEPENDS= ${PY_SPHINX} +MANPAGES_BUILD_DEPENDS= ${PY_SPHINX} MANPAGES_PLIST_FILES= man/man1/afew.1.gz PORTDOCS= * |