mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
www/py-ghp-import: Add py-ghp-import 2.0.2
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. WWW: https://github.com/c-w/ghp-import
This commit is contained in:
parent
c71c5b210b
commit
edcdb5ee34
@ -1635,6 +1635,7 @@
|
||||
SUBDIR += py-frozen-flask
|
||||
SUBDIR += py-gandi.cli
|
||||
SUBDIR += py-gevent-websocket
|
||||
SUBDIR += py-ghp-import
|
||||
SUBDIR += py-google
|
||||
SUBDIR += py-google-api-core
|
||||
SUBDIR += py-google-api-python-client
|
||||
|
22
www/py-ghp-import/Makefile
Normal file
22
www/py-ghp-import/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
|
||||
PORTNAME= ghp-import
|
||||
PORTVERSION= 2.0.2
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Copy your docs directly to the gh-pages branch
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.1:devel/py-dateutil@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-ghp-import/distinfo
Normal file
3
www/py-ghp-import/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1632773097
|
||||
SHA256 (ghp-import-2.0.2.tar.gz) = 947b3771f11be850c852c64b561c600fdddf794bab363060854c1ee7ad05e071
|
||||
SIZE (ghp-import-2.0.2.tar.gz) = 10928
|
16
www/py-ghp-import/pkg-descr
Normal file
16
www/py-ghp-import/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
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.
|
||||
|
||||
WWW: https://github.com/c-w/ghp-import
|
Loading…
Reference in New Issue
Block a user