tidy py-testpath; i looked at updating but there's some issue with it

generating UNKNOWN-0.0.0-py3.9.egg-info files possibly related to our
fairly simple handling of ports with only setup.cfg and no setup.py
This commit is contained in:
sthen 2022-05-27 09:57:21 +00:00
parent abad0f66ef
commit b8abbcb175
3 changed files with 2 additions and 71 deletions

View File

@ -3,7 +3,7 @@ COMMENT = test utilities working with files and commands
MODPY_EGG_VERSION = 0.4.2
DISTNAME = testpath-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 6
REVISION = 7
CATEGORIES = devel
@ -19,22 +19,6 @@ MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
FLAVORS = python3
FLAVOR = python3
BUILD_DEPENDS = textproc/py-sphinx,python3>=4.0.2
.if !${FLAVOR:Mpython3}
RUN_DEPENDS = devel/py-pathlib
.endif
post-build:
cd ${WRKSRC}/doc && PYTHONPATH=${WRKSRC} \
${LOCALBASE}/bin/sphinx-build -N . _build/html
DOCDIR = ${PREFIX}/share/doc/${MODPY_PY_PREFIX}testpath
post-install:
cp -r ${WRKBUILD}/doc/_build/html ${DOCDIR}
rm ${DOCDIR}/.buildinfo
chown -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR}
FLAVOR = python3
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
Prevent build from calling out to the internet.
--- doc/conf.py.orig Thu Feb 4 22:26:15 2016
+++ doc/conf.py Sun Feb 28 01:03:47 2016
@@ -31,7 +31,6 @@ sys.path.insert(0, os.path.abspath('..'))
# ones.
extensions = [
'sphinx.ext.autodoc',
- 'sphinx.ext.intersphinx',
]
# Add any paths that contain templates here, relative to this directory.

View File

@ -19,44 +19,3 @@ lib/python${MODPY_VERSION}/site-packages/testpath/asserts.py
lib/python${MODPY_VERSION}/site-packages/testpath/commands.py
lib/python${MODPY_VERSION}/site-packages/testpath/env.py
lib/python${MODPY_VERSION}/site-packages/testpath/tempdir.py
share/doc/${MODPY_PY_PREFIX}testpath/
share/doc/${MODPY_PY_PREFIX}testpath/.doctrees/
share/doc/${MODPY_PY_PREFIX}testpath/.doctrees/commands.doctree
share/doc/${MODPY_PY_PREFIX}testpath/.doctrees/env.doctree
share/doc/${MODPY_PY_PREFIX}testpath/.doctrees/environment.pickle
share/doc/${MODPY_PY_PREFIX}testpath/.doctrees/fsasserts.doctree
share/doc/${MODPY_PY_PREFIX}testpath/.doctrees/index.doctree
share/doc/${MODPY_PY_PREFIX}testpath/.doctrees/tempdir.doctree
share/doc/${MODPY_PY_PREFIX}testpath/_sources/
share/doc/${MODPY_PY_PREFIX}testpath/_sources/commands.rst.txt
share/doc/${MODPY_PY_PREFIX}testpath/_sources/env.rst.txt
share/doc/${MODPY_PY_PREFIX}testpath/_sources/fsasserts.rst.txt
share/doc/${MODPY_PY_PREFIX}testpath/_sources/index.rst.txt
share/doc/${MODPY_PY_PREFIX}testpath/_sources/tempdir.rst.txt
share/doc/${MODPY_PY_PREFIX}testpath/_static/
share/doc/${MODPY_PY_PREFIX}testpath/_static/basic.css
share/doc/${MODPY_PY_PREFIX}testpath/_static/classic.css
share/doc/${MODPY_PY_PREFIX}testpath/_static/default.css
share/doc/${MODPY_PY_PREFIX}testpath/_static/doctools.js
share/doc/${MODPY_PY_PREFIX}testpath/_static/documentation_options.js
share/doc/${MODPY_PY_PREFIX}testpath/_static/file.png
share/doc/${MODPY_PY_PREFIX}testpath/_static/jquery-3.5.1.js
share/doc/${MODPY_PY_PREFIX}testpath/_static/jquery.js
share/doc/${MODPY_PY_PREFIX}testpath/_static/language_data.js
share/doc/${MODPY_PY_PREFIX}testpath/_static/minus.png
share/doc/${MODPY_PY_PREFIX}testpath/_static/plus.png
share/doc/${MODPY_PY_PREFIX}testpath/_static/pygments.css
share/doc/${MODPY_PY_PREFIX}testpath/_static/searchtools.js
share/doc/${MODPY_PY_PREFIX}testpath/_static/sidebar.js
share/doc/${MODPY_PY_PREFIX}testpath/_static/underscore-1.13.1.js
share/doc/${MODPY_PY_PREFIX}testpath/_static/underscore.js
share/doc/${MODPY_PY_PREFIX}testpath/commands.html
share/doc/${MODPY_PY_PREFIX}testpath/env.html
share/doc/${MODPY_PY_PREFIX}testpath/fsasserts.html
share/doc/${MODPY_PY_PREFIX}testpath/genindex.html
share/doc/${MODPY_PY_PREFIX}testpath/index.html
share/doc/${MODPY_PY_PREFIX}testpath/objects.inv
share/doc/${MODPY_PY_PREFIX}testpath/py-modindex.html
share/doc/${MODPY_PY_PREFIX}testpath/search.html
share/doc/${MODPY_PY_PREFIX}testpath/searchindex.js
share/doc/${MODPY_PY_PREFIX}testpath/tempdir.html