diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2005-09-28 22:48:58 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2005-09-28 22:48:58 +0800 |
commit | 4b1b17b01a5dffa338db958ca2f89c04b3a0e251 (patch) | |
tree | d79b7ffa638a54b50c0c934de864a8a97ce22419 /www/py-cssutils | |
parent | 129d4e4bce32c95eeed8dcdfdde7649247993ec7 (diff) | |
download | freebsd-ports-graphics-4b1b17b01a5dffa338db958ca2f89c04b3a0e251.tar.gz freebsd-ports-graphics-4b1b17b01a5dffa338db958ca2f89c04b3a0e251.tar.zst freebsd-ports-graphics-4b1b17b01a5dffa338db958ca2f89c04b3a0e251.zip |
- Update to version 0.8a6 that is considered by author as
more or less stable
- Move to static plist
- Fix mode of world writeable files
Diffstat (limited to 'www/py-cssutils')
-rw-r--r-- | www/py-cssutils/Makefile | 15 | ||||
-rw-r--r-- | www/py-cssutils/distinfo | 4 | ||||
-rw-r--r-- | www/py-cssutils/pkg-plist | 99 |
3 files changed, 107 insertions, 11 deletions
diff --git a/www/py-cssutils/Makefile b/www/py-cssutils/Makefile index 5f6410ff8f0..33d0f755429 100644 --- a/www/py-cssutils/Makefile +++ b/www/py-cssutils/Makefile @@ -7,7 +7,8 @@ # PORTNAME= cssutils -PORTVERSION= 0.53 +PORTVERSION= 0.8a6 +PORTEPOCH= 1 CATEGORIES= www python MASTER_SITES= http://cthedot.de/cssutils/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,17 +19,13 @@ COMMENT= CSS Cascading Style Sheets library for Python RUN_DEPENDS= ${PYXML} USE_ZIP= yes -USE_PYTHON= yes +USE_PYTHON= 2.3+ USE_PYDISTUTILS= yes USE_REINPLACE= yes post-patch: - @${REINPLACE_CMD} -e "s#.*data_files.*##" ${WRKSRC}/setup.py - -post-install: - @${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + @${REINPLACE_CMD} -e 's,\((.\)examples\(.\),\1${EXAMPLESDIR:S,${PREFIX}/,,}\2,' \ + -e '/.*LICENSE.*/d' ${WRKSRC}/setup.py + @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} 0644 .include <bsd.port.mk> diff --git a/www/py-cssutils/distinfo b/www/py-cssutils/distinfo index 612fec0f913..6d053e4c0f3 100644 --- a/www/py-cssutils/distinfo +++ b/www/py-cssutils/distinfo @@ -1,2 +1,2 @@ -MD5 (cssutils-0.53.zip) = cb91bcdce7846a910f5fca92707e4fa1 -SIZE (cssutils-0.53.zip) = 56141 +MD5 (cssutils-0.8a6.zip) = 892f8bf94d53c60ff6859ff2393b6da5 +SIZE (cssutils-0.8a6.zip) = 82793 diff --git a/www/py-cssutils/pkg-plist b/www/py-cssutils/pkg-plist new file mode 100644 index 00000000000..8e5258f9749 --- /dev/null +++ b/www/py-cssutils/pkg-plist @@ -0,0 +1,99 @@ +bin/csscapture.py +bin/cssparser.py +%%PYTHON_SITELIBDIR%%/cssutils/__init__.py +%%PYTHON_SITELIBDIR%%/cssutils/__init__.pyc +%%PYTHON_SITELIBDIR%%/cssutils/__init__.pyo +%%PYTHON_SITELIBDIR%%/cssutils/_lexer.py +%%PYTHON_SITELIBDIR%%/cssutils/_lexer.pyc +%%PYTHON_SITELIBDIR%%/cssutils/_lexer.pyo +%%PYTHON_SITELIBDIR%%/cssutils/_loghandler.py +%%PYTHON_SITELIBDIR%%/cssutils/_loghandler.pyc +%%PYTHON_SITELIBDIR%%/cssutils/_loghandler.pyo +%%PYTHON_SITELIBDIR%%/cssutils/_normalizer.py +%%PYTHON_SITELIBDIR%%/cssutils/_normalizer.pyc +%%PYTHON_SITELIBDIR%%/cssutils/_normalizer.pyo +%%PYTHON_SITELIBDIR%%/cssutils/_parser.py +%%PYTHON_SITELIBDIR%%/cssutils/_parser.pyc +%%PYTHON_SITELIBDIR%%/cssutils/_parser.pyo +%%PYTHON_SITELIBDIR%%/cssutils/_valuevalidator.py +%%PYTHON_SITELIBDIR%%/cssutils/_valuevalidator.pyc +%%PYTHON_SITELIBDIR%%/cssutils/_valuevalidator.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/__init__.py +%%PYTHON_SITELIBDIR%%/cssutils/css/__init__.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/__init__.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssmediarule.py +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssmediarule.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssmediarule.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/_csspagerule.py +%%PYTHON_SITELIBDIR%%/cssutils/css/_csspagerule.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/_csspagerule.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssprimitivevalue.py +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssprimitivevalue.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssprimitivevalue.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssvalue_other.py +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssvalue_other.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssvalue_other.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssvaluelist.py +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssvaluelist.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/_cssvaluelist.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/comment.py +%%PYTHON_SITELIBDIR%%/cssutils/css/comment.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/comment.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/csscharsetrule.py +%%PYTHON_SITELIBDIR%%/cssutils/css/csscharsetrule.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/csscharsetrule.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/cssimportrule.py +%%PYTHON_SITELIBDIR%%/cssutils/css/cssimportrule.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/cssimportrule.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/cssrule.py +%%PYTHON_SITELIBDIR%%/cssutils/css/cssrule.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/cssrule.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/cssrulelist.py +%%PYTHON_SITELIBDIR%%/cssutils/css/cssrulelist.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/cssrulelist.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/cssstyledeclaration.py +%%PYTHON_SITELIBDIR%%/cssutils/css/cssstyledeclaration.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/cssstyledeclaration.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/cssstylerule.py +%%PYTHON_SITELIBDIR%%/cssutils/css/cssstylerule.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/cssstylerule.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/cssstylesheet.py +%%PYTHON_SITELIBDIR%%/cssutils/css/cssstylesheet.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/cssstylesheet.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/cssunknownrule.py +%%PYTHON_SITELIBDIR%%/cssutils/css/cssunknownrule.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/cssunknownrule.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/cssvalue.py +%%PYTHON_SITELIBDIR%%/cssutils/css/cssvalue.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/cssvalue.pyo +%%PYTHON_SITELIBDIR%%/cssutils/css/node.py +%%PYTHON_SITELIBDIR%%/cssutils/css/node.pyc +%%PYTHON_SITELIBDIR%%/cssutils/css/node.pyo +%%PYTHON_SITELIBDIR%%/cssutils/csscapture.py +%%PYTHON_SITELIBDIR%%/cssutils/csscapture.pyc +%%PYTHON_SITELIBDIR%%/cssutils/csscapture.pyo +%%PYTHON_SITELIBDIR%%/cssutils/cssparser.py +%%PYTHON_SITELIBDIR%%/cssutils/cssparser.pyc +%%PYTHON_SITELIBDIR%%/cssutils/cssparser.pyo +%%PYTHON_SITELIBDIR%%/cssutils/encutils.py +%%PYTHON_SITELIBDIR%%/cssutils/encutils.pyc +%%PYTHON_SITELIBDIR%%/cssutils/encutils.pyo +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/__init__.py +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/__init__.pyc +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/__init__.pyo +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/medialist.py +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/medialist.pyc +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/medialist.pyo +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/stylesheet.py +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/stylesheet.pyc +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/stylesheet.pyo +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/stylesheetlist.py +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/stylesheetlist.pyc +%%PYTHON_SITELIBDIR%%/cssutils/stylesheets/stylesheetlist.pyo +%%EXAMPLESDIR%%/example_build.py +%%EXAMPLESDIR%%/example_parse.py +%%EXAMPLESDIR%%/selectors_tolower.py +@dirrm %%EXAMPLESDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/cssutils/stylesheets +@dirrm %%PYTHON_SITELIBDIR%%/cssutils/css +@dirrm %%PYTHON_SITELIBDIR%%/cssutils |