New port: www/py-grip

Grip (GitHub Readme Instant Preview) is a command-line server
application written in Python that uses the GitHub markdown API to
render a local readme file. The styles come directly from GitHub,
so you'll know exactly how it will appear. Changes you make to the
Readme will be instantly reflected in the browser without requiring
a page refresh.

WWW: https://github.com/joeyespo/grip
This commit is contained in:
Jason E. Hale 2018-08-01 00:34:28 +00:00
parent fc1f1c15a2
commit 850d268396
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=476144
4 changed files with 39 additions and 0 deletions

View File

@ -1694,6 +1694,7 @@
SUBDIR += py-graphite-api
SUBDIR += py-graphite-web
SUBDIR += py-grequests
SUBDIR += py-grip
SUBDIR += py-gunicorn
SUBDIR += py-h2
SUBDIR += py-horizon

27
www/py-grip/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= grip
PORTVERSION= 4.5.2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jhale@FreeBSD.org
COMMENT= Preview GitHub Markdown files locally before committing
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docopt>=0.4.0:devel/py-docopt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown>=2.5.1:textproc/py-markdown@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Flask>=0.10.1:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}path-and-address>=2.0.1:www/py-path-and-address@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.4.1:www/py-requests@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
CONFLICTS_INSTALL= grip
NO_ARCH= yes
.include <bsd.port.mk>

3
www/py-grip/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1525012738
SHA256 (grip-4.5.2.tar.gz) = 048b7e5c738ed80bee345bd10840f27eb31687eb67132b40f2473dc1cf67aa0f
SIZE (grip-4.5.2.tar.gz) = 145644

8
www/py-grip/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
Grip (GitHub Readme Instant Preview) is a command-line server
application written in Python that uses the GitHub markdown API to
render a local readme file. The styles come directly from GitHub,
so you'll know exactly how it will appear. Changes you make to the
Readme will be instantly reflected in the browser without requiring
a page refresh.
WWW: https://github.com/joeyespo/grip