Skip to content

Commit

Permalink
textproc/py-sphinx-multiversion-zrepl: add new port
Browse files Browse the repository at this point in the history
Sphinx extension (zrepl fork) for building self-hosted versioned docs.
This extension aims to provide a clean implementation that tries to
avoid messing with Sphinx internals as much as possible.
  • Loading branch information
driesmp committed Oct 12, 2023
1 parent bfbac64 commit 063eecd
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions textproc/Makefile
Expand Up @@ -1566,6 +1566,7 @@
SUBDIR += py-sphinx-material
SUBDIR += py-sphinx-me
SUBDIR += py-sphinx-multiversion
SUBDIR += py-sphinx-multiversion-zrepl
SUBDIR += py-sphinx-sitemap
SUBDIR += py-sphinx-tabs
SUBDIR += py-sphinx-theme-builder
Expand Down
27 changes: 27 additions & 0 deletions textproc/py-sphinx-multiversion-zrepl/Makefile
@@ -0,0 +1,27 @@
PORTNAME= sphinx-multiversion
DISTVERSION= g20230909
CATEGORIES= textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= -zrepl

MAINTAINER= driesm@FreeBSD.org
COMMENT= Sphinx extension for building self-hosted versioned docs (zrepl fork)
WWW= https://github.com/zrepl/sphinx-multiversion

LICENSE= BSD2CLAUSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=2.1:textproc/py-sphinx@${PY_FLAVOR}

USES= python

USE_GITHUB= yes
GH_ACCOUNT= zrepl
GH_TAGNAME= 52c915d

USE_PYTHON= autoplist concurrent distutils

CONFLICTS_INSTALL= sphinx-multiversion

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions textproc/py-sphinx-multiversion-zrepl/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1696963235
SHA256 (zrepl-sphinx-multiversion-g20230909-52c915d_GH0.tar.gz) = b5a583dd06e3a8ac0e665f619637052b5d1f3632a80e0d275d317fbcf5d5b54f
SIZE (zrepl-sphinx-multiversion-g20230909-52c915d_GH0.tar.gz) = 20711
4 changes: 4 additions & 0 deletions textproc/py-sphinx-multiversion-zrepl/pkg-descr
@@ -0,0 +1,4 @@
Sphinx extension for building self-hosted versioned docs.

This extension aims to provide a clean implementation that tries
to avoid messing with Sphinx internals as much as possible.
3 changes: 3 additions & 0 deletions textproc/py-sphinx-multiversion/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sphinx-multiversion
DISTVERSION= 0.2.4
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -15,6 +16,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=2.1:textproc/py-sphinx@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils

CONFLICTS_INSTALL= sphinx-multiversion-zrepl

NO_ARCH= yes

.include <bsd.port.mk>

0 comments on commit 063eecd

Please sign in to comment.