BSD Ports

www/py-ghp-import 2.1.0_2 FreeBSD

Copy your docs directly to the gh-pages branch

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
www, python
Package size
18.0 KiB, 68.4 KiB installed

Description

GitHub Pages is a pretty awesome service that GitHub provides for hosting project documentation. The only thing is that it requires a gh-pages branch that is the site's document root. This means that keeping documentation sources in the branch with code is a bit difficult. And it really turns into a head scratcher for things like Sphinx that want to access documentation sources and code sources at the same time.

Then I stumbled across an interesting looking package called github-tools that looked almost like what I wanted. It was a tad complicated and more involved than I wanted but it gave me an idea. Why not just write a script that can copy a directory to the gh-pages branch of the repository. This saves me from even having to think about the branch and everything becomes magical.

This is what ghp-import was written for.

In the other systems

SystemPortVersion
FreeBSDwww/py-ghp-import2.1.0_2
DragonFlywww/py-ghp-import2.1.0_2
MidnightBSDwww/py-ghp-import2.1.0_1
HardenedBSDwww/py-ghp-import2.1.0_2
GhostBSDwww/py-ghp-import2.1.0_2

Install

Binary package:

pkg install py312-ghp-import

From the ports tree:

cd /usr/ports/www/py-ghp-import/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-ghp-import>0:www/py-ghp-import

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.1.0_22.1.0_22.1.02.1.0_22.1.0_2
FreeBSD:14:quarterly2.1.0_22.1.0_2n/a2.1.0_22.1.0_2
FreeBSD:15:latest2.1.0_22.1.0_2n/a2.1.0_22.1.0_2
FreeBSD:15:quarterly2.1.0_22.1.0_2n/an/an/a
FreeBSD:16:latest2.1.0_22.1.0_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 9

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
ghp-import-2.1.0.tar.gz109439c535c4c61193c2df8871222567d7fd7e5014d835f97dc7b7439069e2413d343
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.