aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-06-24 20:05:48 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-06-24 20:05:48 +0000
commit4da42450e92f75685d6887ef24b0c5066093970e (patch)
tree6fa7340176ebbf5a423e72fff598fe33a20e4049 /textproc
parentcdc3df02d167d9d1ba4cd01ad5985273787a3d8c (diff)
downloadports-4da42450e92f75685d6887ef24b0c5066093970e.tar.gz
ports-4da42450e92f75685d6887ef24b0c5066093970e.zip
Add py-pyaml 17.12.1
PyYAML-based python module to produce pretty and readable YAML-serialized data. This module is for serialization only, see ruamel.yaml module for literate YAML parsing (keeping track of comments, spacing, line/column numbers of values, etc). WWW: https://github.com/mk-fg/pretty-yaml
Notes
Notes: svn path=/head/; revision=473215
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-pyaml/Makefile22
-rw-r--r--textproc/py-pyaml/distinfo3
-rw-r--r--textproc/py-pyaml/pkg-descr7
4 files changed, 33 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index a06ab8b04a4a..af3595fccc38 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1341,6 +1341,7 @@
SUBDIR += py-pdfrw
SUBDIR += py-pss
SUBDIR += py-pyPEG2
+ SUBDIR += py-pyaml
SUBDIR += py-pyctpp2
SUBDIR += py-pyes
SUBDIR += py-pygments
diff --git a/textproc/py-pyaml/Makefile b/textproc/py-pyaml/Makefile
new file mode 100644
index 000000000000..80640c9a5715
--- /dev/null
+++ b/textproc/py-pyaml/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pyaml
+PORTVERSION= 17.12.1
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Produce pretty and readable YAML-serialized data
+
+LICENSE= WTFPL
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
+
+NO_ARCH= yes
+USE_PYTHON= autoplist concurrent distutils
+USES= python
+
+.include <bsd.port.mk>
diff --git a/textproc/py-pyaml/distinfo b/textproc/py-pyaml/distinfo
new file mode 100644
index 000000000000..b6dd2202011e
--- /dev/null
+++ b/textproc/py-pyaml/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529727949
+SHA256 (pyaml-17.12.1.tar.gz) = 66623c52f34d83a2c0fc963e08e8b9d0c13d88404e3b43b1852ef71eda19afa3
+SIZE (pyaml-17.12.1.tar.gz) = 15780
diff --git a/textproc/py-pyaml/pkg-descr b/textproc/py-pyaml/pkg-descr
new file mode 100644
index 000000000000..c1b1142404a4
--- /dev/null
+++ b/textproc/py-pyaml/pkg-descr
@@ -0,0 +1,7 @@
+PyYAML-based python module to produce pretty and readable YAML-serialized data.
+
+This module is for serialization only, see ruamel.yaml module for literate YAML
+parsing (keeping track of comments, spacing, line/column numbers of values,
+etc).
+
+WWW: https://github.com/mk-fg/pretty-yaml