Add py-mdv 1.6.3, terminal markdown viewer.

This commit is contained in:
Emanuel Haupt 2017-03-01 13:35:26 +00:00
parent ad85401fd0
commit cb5cceecea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435146
4 changed files with 41 additions and 0 deletions

View file

@ -4398,6 +4398,7 @@
SUBDIR += py-manuel
SUBDIR += py-matrix-angular-sdk
SUBDIR += py-mccabe
SUBDIR += py-mdv
SUBDIR += py-meliae
SUBDIR += py-memory_profiler
SUBDIR += py-mercurialserver

25
devel/py-mdv/Makefile Normal file
View file

@ -0,0 +1,25 @@
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= mdv
PORTVERSION= 1.6.3
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Terminal markdown viewer
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docopt>0:devel/py-docopt \
${PYTHON_PKGNAMEPREFIX}markdown>=2.0.3:textproc/py-markdown \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

3
devel/py-mdv/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1488372841
SHA256 (mdv-1.6.3.tar.gz) = 13f8d0489ad24ab11def95f04b40a4ce9306c2542510d6ee1710b7bafd0b8df4
SIZE (mdv-1.6.3.tar.gz) = 40918

12
devel/py-mdv/pkg-descr Normal file
View file

@ -0,0 +1,12 @@
When you edit multiple md files remotely, like in a larger mkdocs project,
context switches between editing terminal(s) and viewing browser may have some
efficiency impact. Also sometimes there is just no browser, like via security
gateways offering just a fixed set of applications on the hop in machine.
Further, reading efficiency and convenience is often significantly improved by
using colors. And lastly, using such a thing for cli applications might improve
user output, e.g. for help texts.
This is where mdv, a Python based Markdown viewer for the terminal might be a
good option.
WWW: https://pypi.python.org/pypi/mdv