[Midnightbsd-cvs] mports [20311] trunk/www: py html5lib
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Sep 27 14:33:54 EDT 2015
Revision: 20311
http://svnweb.midnightbsd.org/mports/?rev=20311
Author: laffer1
Date: 2015-09-27 14:33:53 -0400 (Sun, 27 Sep 2015)
Log Message:
-----------
py html5lib
Modified Paths:
--------------
trunk/www/Makefile
Added Paths:
-----------
trunk/www/py-html5lib/
trunk/www/py-html5lib/Makefile
trunk/www/py-html5lib/distinfo
trunk/www/py-html5lib/pkg-descr
Modified: trunk/www/Makefile
===================================================================
--- trunk/www/Makefile 2015-09-27 18:32:38 UTC (rev 20310)
+++ trunk/www/Makefile 2015-09-27 18:33:53 UTC (rev 20311)
@@ -93,6 +93,7 @@
SUBDIR += pmwiki
SUBDIR += polipo
SUBDIR += privoxy
+SUBDIR += py-html5lib
SUBDIR += py-httplib2
SUBDIR += retsina
SUBDIR += seamonkey
Added: trunk/www/py-html5lib/Makefile
===================================================================
--- trunk/www/py-html5lib/Makefile (rev 0)
+++ trunk/www/py-html5lib/Makefile 2015-09-27 18:33:53 UTC (rev 20311)
@@ -0,0 +1,43 @@
+# Created by: ijliao
+# $MidnightBSD$
+# $FreeBSD: head/www/py-html5lib/Makefile 392400 2015-07-18 00:10:54Z rm $
+
+PORTNAME= html5lib
+PORTVERSION= 0.999999
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP \
+ http://magemana.nl/ports/dist/:test
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Python based HTML parser based on the HTML5 spec
+
+LICENSE= mit
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
+
+OPTIONS_DEFINE= TEST
+
+NO_ARCH= yes
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.mport.options.mk>
+
+.if !empty(PORT_OPTIONS:MTEST)
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:master \
+ ${DISTNAME}-testdata${EXTRACT_SUFX}:test
+BUILD_DEPENDS+= ${TEST_DEPENDS}
+.endif
+
+regression-test: build
+ @${ECHO_MSG} "===> Testing ${PORTNAME} (patience...)"
+ @cd ${WRKSRC} && nosetests -q
+
+.if !empty(PORT_OPTIONS:MTEST)
+pre-install: regression-test
+.endif
+
+.include <bsd.port.mk>
Property changes on: trunk/www/py-html5lib/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/py-html5lib/distinfo
===================================================================
--- trunk/www/py-html5lib/distinfo (rev 0)
+++ trunk/www/py-html5lib/distinfo 2015-09-27 18:33:53 UTC (rev 20311)
@@ -0,0 +1,4 @@
+SHA256 (html5lib-0.999999.tar.gz) = e372b66f4997f8e1de970ea755d0a528d7222d2aa9bd55aac078c7ef39b8f6c3
+SIZE (html5lib-0.999999.tar.gz) = 889015
+SHA256 (html5lib-0.999-testdata.tar.gz) = 27c6b2d9668aecf893a34a25ce19af324d5d8ba3acd734ea2915321a3d03a9cd
+SIZE (html5lib-0.999-testdata.tar.gz) = 788956
Property changes on: trunk/www/py-html5lib/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/py-html5lib/pkg-descr
===================================================================
--- trunk/www/py-html5lib/pkg-descr (rev 0)
+++ trunk/www/py-html5lib/pkg-descr 2015-09-27 18:33:53 UTC (rev 20311)
@@ -0,0 +1,9 @@
+HTML parser designed to follow the WHATWG HTML5 specification. The parser is
+designed to handle all flavours of HTML and parses invalid documents using
+well-defined error handling rules compatible with the behaviour of major
+desktop web browsers.
+
+Output is to a tree structure; the current release supports output to a custom
+tree similar to DOM and to ElementTree.
+
+WWW: https://github.com/html5lib
Property changes on: trunk/www/py-html5lib/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list