import p5-YAML-Tiny

The YAML specification is huge.  Really, really huge.  It contains all
the functionality of XML, except with flexibility and choice, which
makes it easier to read, but with a formal specification that is more
complex than XML.
The original pure-Perl implementation YAML costs just over 4 megabytes
of memory to load.  Just like with Windows .ini files (3 meg to load)
and CSS (3.5 meg to load) the situation is just asking for a YAML::Tiny
module, an incomplete but correct and usable subset of the
functionality, in as little code as possible.
This commit is contained in:
simon 2009-05-07 10:30:16 +00:00
parent 150ef1161f
commit 396242c4c7
4 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/07 10:30:16 simon Exp $
COMMENT = read/write YAML files with as little code as possible
MODULES = cpan
DISTNAME = YAML-Tiny-1.36
CATEGORIES = devel
# Perl
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
REGRESS_DEPENDS = ::devel/p5-YAML \
::devel/p5-YAML-Syck \
::devel/p5-YAML-XS
MAKE_ENV += AUTOMATED_TESTING=1
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (YAML-Tiny-1.36.tar.gz) = TSsZKY6fUAs//5Ydr0WKAQ==
RMD160 (YAML-Tiny-1.36.tar.gz) = 5yGZf2juEP/d1vP7R5Nc+K38WuI=
SHA1 (YAML-Tiny-1.36.tar.gz) = K3tEaA8Z6iuFu9LaKQwCC/HJt28=
SHA256 (YAML-Tiny-1.36.tar.gz) = 4y1W7adgLpEwaBiC2/dM3cEJ1hsOahJMOndAhxwMVfo=
SIZE (YAML-Tiny-1.36.tar.gz) = 33823

View File

@ -0,0 +1,9 @@
The YAML specification is huge. Really, really huge. It contains all
the functionality of XML, except with flexibility and choice, which
makes it easier to read, but with a formal specification that is more
complex than XML.
The original pure-Perl implementation YAML costs just over 4 megabytes
of memory to load. Just like with Windows .ini files (3 meg to load)
and CSS (3.5 meg to load) the situation is just asking for a YAML::Tiny
module, an incomplete but correct and usable subset of the
functionality, in as little code as possible.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/05/07 10:30:16 simon Exp $
${P5SITE}/YAML/
${P5SITE}/YAML/Tiny.pm
@man man/man3p/YAML::Tiny.3p