summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2004-12-02 12:09:25 +0000
committerDima Dorfman <dd@FreeBSD.org>2004-12-02 12:09:25 +0000
commitf699053fe5c7a257dba29b24e0d40d3ab2440bd4 (patch)
tree99ffc39f3d8a4c620aa536590899d2760ab89ff4 /textproc
parentSyck is a YAML parser for popular scripting languages (diff)
Python binding for Syck, a YAML parser and emitter
Notes
Notes: svn path=/head/; revision=122977
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-syck/Makefile29
-rw-r--r--textproc/py-syck/distinfo2
-rw-r--r--textproc/py-syck/pkg-descr10
-rw-r--r--textproc/py-syck/pkg-plist1
5 files changed, 43 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index bae87bf7f07d..b5c1f33b1130 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -512,6 +512,7 @@
SUBDIR += py-rdflib
SUBDIR += py-rxp
SUBDIR += py-sgrep
+ SUBDIR += py-syck
SUBDIR += py-wordnet
SUBDIR += py-xml
SUBDIR += py-xmltools
diff --git a/textproc/py-syck/Makefile b/textproc/py-syck/Makefile
new file mode 100644
index 000000000000..a3dd49a29e16
--- /dev/null
+++ b/textproc/py-syck/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: py-syck
+# Date created: 2 December 2004
+# Whom: dd
+#
+# $FreeBSD$
+#
+
+PORTNAME= syck
+PORTVERSION= 0.45
+CATEGORIES= textproc devel
+MASTER_SITES= http://rubyforge.org/frs/download.php/1371/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dd@FreeBSD.org
+COMMENT= Python binding for Syck, a YAML parser and emitter
+
+# Just a build dependency because the library will be linked into the extension
+BUILD_DEPENDS= syck:${PORTSDIR}/textproc/syck
+
+SITELIBDIR= %%PYTHON_SITELIBDIR%%/
+PYFILES= ypath.py ydump.py yaml2xml.py
+PYFILES_= ${PYFILES:S/^/${SITELIBDIR}/}
+PLIST_FILES= ${PYFILES_} ${PYFILES_:S/$/c/} ${PYFILES_:S/$/o/}
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/ext/python
+
+.include <bsd.port.mk>
diff --git a/textproc/py-syck/distinfo b/textproc/py-syck/distinfo
new file mode 100644
index 000000000000..07a6fd1f2cac
--- /dev/null
+++ b/textproc/py-syck/distinfo
@@ -0,0 +1,2 @@
+MD5 (syck-0.45.tar.gz) = 8071e1e2ee255576f025b4cef8feee62
+SIZE (syck-0.45.tar.gz) = 281607
diff --git a/textproc/py-syck/pkg-descr b/textproc/py-syck/pkg-descr
new file mode 100644
index 000000000000..17a8c9a72cfc
--- /dev/null
+++ b/textproc/py-syck/pkg-descr
@@ -0,0 +1,10 @@
+Python binding for Syck, which, according is, according to the web site:
+
+ Syck is an extension for reading and writing YAML swiftly in popular
+ scripting languages. As Syck loads the YAML, it stores the data
+ directly in your language's symbol table. This means speed. This
+ means power. This means Do not disturb Syck because it is so focused
+ on the task at hand that it will slay you mortally if you get in its
+ way.
+
+WWW: http://www.whytheluckystiff.net/syck/
diff --git a/textproc/py-syck/pkg-plist b/textproc/py-syck/pkg-plist
new file mode 100644
index 000000000000..aebc3195d783
--- /dev/null
+++ b/textproc/py-syck/pkg-plist
@@ -0,0 +1 @@
+%%PYTHON_SITELIBDIR%%/syck.so