www/py-ghp-import 2.1.0_1 MidnightBSD
Copy your docs directly to the gh-pages branch
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- Apache-2.0
- Categories
- www, python
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
The newest version among them is 2.1.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | www/py-ghp-import | 2.1.0_1 newest | no data | - | [email protected] | - |
| FreeBSD | www/py-ghp-import | 2.1.0_2 newest | none known | - | [email protected] | - |
| DragonFly | www/py-ghp-import | 2.1.0_2 newest | none known | - | [email protected] | - |
| HardenedBSD | www/py-ghp-import | 2.1.0_2 newest | no data | - | [email protected] | - |
| GhostBSD | www/py-ghp-import | 2.1.0_2 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}ghp-import
From mports:
cd /usr/mports/www/py-ghp-import && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ghp-import>0:www/py-ghp-import
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.1: devel/py-python-dateutil
Build dependencies 2
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ghp-import-2.1.0.tar.gz | 10943 | 9c535c4c61193c2df8871222567d7fd7e5014d835f97dc7b7439069e2413d343 |
Master sites 1
- PYPI