Date: Fri, 1 Nov 2024 16:41:49 GMT From: Nicola Vitale <nivit@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 96fae7c50dc5 - main - textproc/py-sphinx-notfound-page: Add new port Message-ID: <202411011641.4A1Gfn8v040276@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=96fae7c50dc5b30dd2835ae156cca0a1b9de54db commit 96fae7c50dc5b30dd2835ae156cca0a1b9de54db Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2024-11-01 16:40:30 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2024-11-01 16:41:26 +0000 textproc/py-sphinx-notfound-page: Add new port Sphinx-notfound-page is a Sphinx extension to create custom 404 pages and help you to generate proper resource links (js, css, images, etc) to render the page properly. This extension was originally developed to be used on Read the Docs but it can be used in other hosting services as well. https://sphinx-notfound-page.readthedocs.io/ --- textproc/Makefile | 1 + textproc/py-sphinx-notfound-page/Makefile | 23 +++++++++++++++++++++++ textproc/py-sphinx-notfound-page/distinfo | 3 +++ textproc/py-sphinx-notfound-page/pkg-descr | 6 ++++++ 4 files changed, 33 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 69a18c92fb43..7e6e3863febe 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1612,6 +1612,7 @@ SUBDIR += py-sphinx-me SUBDIR += py-sphinx-multiversion SUBDIR += py-sphinx-multiversion-zrepl + SUBDIR += py-sphinx-notfound-page SUBDIR += py-sphinx-sitemap SUBDIR += py-sphinx-tabs SUBDIR += py-sphinx-theme-builder diff --git a/textproc/py-sphinx-notfound-page/Makefile b/textproc/py-sphinx-notfound-page/Makefile new file mode 100644 index 000000000000..0b59b61600cc --- /dev/null +++ b/textproc/py-sphinx-notfound-page/Makefile @@ -0,0 +1,23 @@ +PORTNAME= sphinx-notfound-page +DISTVERSION= 1.0.4 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSIONFULL} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Generate 404 Not Found Pages Automatically for Sphinx Docs +WWW= https://sphinx-notfound-page.readthedocs.io/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.9.0:devel/py-flit-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=5:textproc/py-sphinx@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-sphinx-notfound-page/distinfo b/textproc/py-sphinx-notfound-page/distinfo new file mode 100644 index 000000000000..61dd25973caa --- /dev/null +++ b/textproc/py-sphinx-notfound-page/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1730477793 +SHA256 (sphinx_notfound_page-1.0.4.tar.gz) = 2a52f49cd367b5c4e64072de1591cc367714098500abf4ecb9a3ecb4fec25aae +SIZE (sphinx_notfound_page-1.0.4.tar.gz) = 519228 diff --git a/textproc/py-sphinx-notfound-page/pkg-descr b/textproc/py-sphinx-notfound-page/pkg-descr new file mode 100644 index 000000000000..9fabd7bd7467 --- /dev/null +++ b/textproc/py-sphinx-notfound-page/pkg-descr @@ -0,0 +1,6 @@ +Sphinx-notfound-page is a Sphinx extension to create custom 404 pages and help +you to generate proper resource links (js, css, images, etc) to render the page +properly. + +This extension was originally developed to be used on Read the Docs but it can +be used in other hosting services as well.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411011641.4A1Gfn8v040276>