summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-05-01 09:20:46 +0000
committerobache <obache@pkgsrc.org>2011-05-01 09:20:46 +0000
commit2f10d19e2c2332618f39aedc7a0a9aa888fe124e (patch)
tree79e2be8321f913965dee32313ddae8518e6f172b /textproc
parentcbc60f081c87cd3599616ec1a9b8ad8f11cf8d2e (diff)
downloadpkgsrc-2f10d19e2c2332618f39aedc7a0a9aa888fe124e.tar.gz
Import py26-cssutils-0.9.7 as textproc/py-cssutils.
Based on PR#44867 by Olaf 'Rhialto' Seibert. A Python package to parse and build CSS Cascading Style Sheets. Querying a parsed stylesheet on a given document or element is planned for a future release, for now see the example examples/style.py.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-cssutils/DESCR4
-rw-r--r--textproc/py-cssutils/Makefile23
-rw-r--r--textproc/py-cssutils/PLIST153
-rw-r--r--textproc/py-cssutils/distinfo5
4 files changed, 185 insertions, 0 deletions
diff --git a/textproc/py-cssutils/DESCR b/textproc/py-cssutils/DESCR
new file mode 100644
index 00000000000..fca04940b9a
--- /dev/null
+++ b/textproc/py-cssutils/DESCR
@@ -0,0 +1,4 @@
+A Python package to parse and build CSS Cascading Style Sheets.
+
+Querying a parsed stylesheet on a given document or element is planned for a
+future release, for now see the example examples/style.py.
diff --git a/textproc/py-cssutils/Makefile b/textproc/py-cssutils/Makefile
new file mode 100644
index 00000000000..3de6b83fbb9
--- /dev/null
+++ b/textproc/py-cssutils/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/05/01 09:20:46 obache Exp $
+#
+
+DISTNAME= cssutils-0.9.7
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= http://cssutils.googlecode.com/files/ \
+ http://pypi.python.org/packages/source/c/cssutils/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= rhialto@falu.nl
+HOMEPAGE= http://cthedot.de/cssutils/
+COMMENT= Cascading Style Sheets parser and library for Python
+LICENSE= gnu-lgpl-v3
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+# all files are group/others writable.
+post-extract:
+ chmod -R go-w ${WRKSRC}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-cssutils/PLIST b/textproc/py-cssutils/PLIST
new file mode 100644
index 00000000000..9bb1edd7662
--- /dev/null
+++ b/textproc/py-cssutils/PLIST
@@ -0,0 +1,153 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/01 09:20:46 obache Exp $
+bin/csscapture
+bin/csscombine
+bin/cssparse
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/cssutils/__init__.py
+${PYSITELIB}/cssutils/__init__.pyc
+${PYSITELIB}/cssutils/__init__.pyo
+${PYSITELIB}/cssutils/_fetch.py
+${PYSITELIB}/cssutils/_fetch.pyc
+${PYSITELIB}/cssutils/_fetch.pyo
+${PYSITELIB}/cssutils/_fetchgae.py
+${PYSITELIB}/cssutils/_fetchgae.pyc
+${PYSITELIB}/cssutils/_fetchgae.pyo
+${PYSITELIB}/cssutils/codec.py
+${PYSITELIB}/cssutils/codec.pyc
+${PYSITELIB}/cssutils/codec.pyo
+${PYSITELIB}/cssutils/css/__init__.py
+${PYSITELIB}/cssutils/css/__init__.pyc
+${PYSITELIB}/cssutils/css/__init__.pyo
+${PYSITELIB}/cssutils/css/csscharsetrule.py
+${PYSITELIB}/cssutils/css/csscharsetrule.pyc
+${PYSITELIB}/cssutils/css/csscharsetrule.pyo
+${PYSITELIB}/cssutils/css/csscomment.py
+${PYSITELIB}/cssutils/css/csscomment.pyc
+${PYSITELIB}/cssutils/css/csscomment.pyo
+${PYSITELIB}/cssutils/css/cssfontfacerule.py
+${PYSITELIB}/cssutils/css/cssfontfacerule.pyc
+${PYSITELIB}/cssutils/css/cssfontfacerule.pyo
+${PYSITELIB}/cssutils/css/cssimportrule.py
+${PYSITELIB}/cssutils/css/cssimportrule.pyc
+${PYSITELIB}/cssutils/css/cssimportrule.pyo
+${PYSITELIB}/cssutils/css/cssmediarule.py
+${PYSITELIB}/cssutils/css/cssmediarule.pyc
+${PYSITELIB}/cssutils/css/cssmediarule.pyo
+${PYSITELIB}/cssutils/css/cssnamespacerule.py
+${PYSITELIB}/cssutils/css/cssnamespacerule.pyc
+${PYSITELIB}/cssutils/css/cssnamespacerule.pyo
+${PYSITELIB}/cssutils/css/csspagerule.py
+${PYSITELIB}/cssutils/css/csspagerule.pyc
+${PYSITELIB}/cssutils/css/csspagerule.pyo
+${PYSITELIB}/cssutils/css/cssproperties.py
+${PYSITELIB}/cssutils/css/cssproperties.pyc
+${PYSITELIB}/cssutils/css/cssproperties.pyo
+${PYSITELIB}/cssutils/css/cssrule.py
+${PYSITELIB}/cssutils/css/cssrule.pyc
+${PYSITELIB}/cssutils/css/cssrule.pyo
+${PYSITELIB}/cssutils/css/cssrulelist.py
+${PYSITELIB}/cssutils/css/cssrulelist.pyc
+${PYSITELIB}/cssutils/css/cssrulelist.pyo
+${PYSITELIB}/cssutils/css/cssstyledeclaration.py
+${PYSITELIB}/cssutils/css/cssstyledeclaration.pyc
+${PYSITELIB}/cssutils/css/cssstyledeclaration.pyo
+${PYSITELIB}/cssutils/css/cssstylerule.py
+${PYSITELIB}/cssutils/css/cssstylerule.pyc
+${PYSITELIB}/cssutils/css/cssstylerule.pyo
+${PYSITELIB}/cssutils/css/cssstylesheet.py
+${PYSITELIB}/cssutils/css/cssstylesheet.pyc
+${PYSITELIB}/cssutils/css/cssstylesheet.pyo
+${PYSITELIB}/cssutils/css/cssunknownrule.py
+${PYSITELIB}/cssutils/css/cssunknownrule.pyc
+${PYSITELIB}/cssutils/css/cssunknownrule.pyo
+${PYSITELIB}/cssutils/css/cssvalue.py
+${PYSITELIB}/cssutils/css/cssvalue.pyc
+${PYSITELIB}/cssutils/css/cssvalue.pyo
+${PYSITELIB}/cssutils/css/cssvariablesdeclaration.py
+${PYSITELIB}/cssutils/css/cssvariablesdeclaration.pyc
+${PYSITELIB}/cssutils/css/cssvariablesdeclaration.pyo
+${PYSITELIB}/cssutils/css/cssvariablesrule.py
+${PYSITELIB}/cssutils/css/cssvariablesrule.pyc
+${PYSITELIB}/cssutils/css/cssvariablesrule.pyo
+${PYSITELIB}/cssutils/css/property.py
+${PYSITELIB}/cssutils/css/property.pyc
+${PYSITELIB}/cssutils/css/property.pyo
+${PYSITELIB}/cssutils/css/selector.py
+${PYSITELIB}/cssutils/css/selector.pyc
+${PYSITELIB}/cssutils/css/selector.pyo
+${PYSITELIB}/cssutils/css/selectorlist.py
+${PYSITELIB}/cssutils/css/selectorlist.pyc
+${PYSITELIB}/cssutils/css/selectorlist.pyo
+${PYSITELIB}/cssutils/css2productions.py
+${PYSITELIB}/cssutils/css2productions.pyc
+${PYSITELIB}/cssutils/css2productions.pyo
+${PYSITELIB}/cssutils/cssproductions.py
+${PYSITELIB}/cssutils/cssproductions.pyc
+${PYSITELIB}/cssutils/cssproductions.pyo
+${PYSITELIB}/cssutils/errorhandler.py
+${PYSITELIB}/cssutils/errorhandler.pyc
+${PYSITELIB}/cssutils/errorhandler.pyo
+${PYSITELIB}/cssutils/helper.py
+${PYSITELIB}/cssutils/helper.pyc
+${PYSITELIB}/cssutils/helper.pyo
+${PYSITELIB}/cssutils/parse.py
+${PYSITELIB}/cssutils/parse.pyc
+${PYSITELIB}/cssutils/parse.pyo
+${PYSITELIB}/cssutils/prodparser.py
+${PYSITELIB}/cssutils/prodparser.pyc
+${PYSITELIB}/cssutils/prodparser.pyo
+${PYSITELIB}/cssutils/profiles.py
+${PYSITELIB}/cssutils/profiles.pyc
+${PYSITELIB}/cssutils/profiles.pyo
+${PYSITELIB}/cssutils/sac.py
+${PYSITELIB}/cssutils/sac.pyc
+${PYSITELIB}/cssutils/sac.pyo
+${PYSITELIB}/cssutils/script.py
+${PYSITELIB}/cssutils/script.pyc
+${PYSITELIB}/cssutils/script.pyo
+${PYSITELIB}/cssutils/scripts/__init__.py
+${PYSITELIB}/cssutils/scripts/__init__.pyc
+${PYSITELIB}/cssutils/scripts/__init__.pyo
+${PYSITELIB}/cssutils/scripts/csscapture.py
+${PYSITELIB}/cssutils/scripts/csscapture.pyc
+${PYSITELIB}/cssutils/scripts/csscapture.pyo
+${PYSITELIB}/cssutils/scripts/csscombine.py
+${PYSITELIB}/cssutils/scripts/csscombine.pyc
+${PYSITELIB}/cssutils/scripts/csscombine.pyo
+${PYSITELIB}/cssutils/scripts/cssparse.py
+${PYSITELIB}/cssutils/scripts/cssparse.pyc
+${PYSITELIB}/cssutils/scripts/cssparse.pyo
+${PYSITELIB}/cssutils/serialize.py
+${PYSITELIB}/cssutils/serialize.pyc
+${PYSITELIB}/cssutils/serialize.pyo
+${PYSITELIB}/cssutils/settings.py
+${PYSITELIB}/cssutils/settings.pyc
+${PYSITELIB}/cssutils/settings.pyo
+${PYSITELIB}/cssutils/stylesheets/__init__.py
+${PYSITELIB}/cssutils/stylesheets/__init__.pyc
+${PYSITELIB}/cssutils/stylesheets/__init__.pyo
+${PYSITELIB}/cssutils/stylesheets/medialist.py
+${PYSITELIB}/cssutils/stylesheets/medialist.pyc
+${PYSITELIB}/cssutils/stylesheets/medialist.pyo
+${PYSITELIB}/cssutils/stylesheets/mediaquery.py
+${PYSITELIB}/cssutils/stylesheets/mediaquery.pyc
+${PYSITELIB}/cssutils/stylesheets/mediaquery.pyo
+${PYSITELIB}/cssutils/stylesheets/stylesheet.py
+${PYSITELIB}/cssutils/stylesheets/stylesheet.pyc
+${PYSITELIB}/cssutils/stylesheets/stylesheet.pyo
+${PYSITELIB}/cssutils/stylesheets/stylesheetlist.py
+${PYSITELIB}/cssutils/stylesheets/stylesheetlist.pyc
+${PYSITELIB}/cssutils/stylesheets/stylesheetlist.pyo
+${PYSITELIB}/cssutils/tokenize2.py
+${PYSITELIB}/cssutils/tokenize2.pyc
+${PYSITELIB}/cssutils/tokenize2.pyo
+${PYSITELIB}/cssutils/util.py
+${PYSITELIB}/cssutils/util.pyc
+${PYSITELIB}/cssutils/util.pyo
+${PYSITELIB}/encutils/__init__.py
+${PYSITELIB}/encutils/__init__.pyc
+${PYSITELIB}/encutils/__init__.pyo
diff --git a/textproc/py-cssutils/distinfo b/textproc/py-cssutils/distinfo
new file mode 100644
index 00000000000..820a92fd7aa
--- /dev/null
+++ b/textproc/py-cssutils/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/05/01 09:20:46 obache Exp $
+
+SHA1 (cssutils-0.9.7.zip) = 95a25352ab067c7b13aa82c5f6a5408cf82a2678
+RMD160 (cssutils-0.9.7.zip) = 6119363eb9b8e38188cb8943c59d6d345681b227
+Size (cssutils-0.9.7.zip) = 447664 bytes