- Update to 0.2.1

- Fix USE_PYTHON as pySVG does not build with Python 3.x
- Fix PLIST for users not using Python 2.6

Changes:

http://codeboje.de/pysvg/ ("Release/History" section)

Added:
- Added kwargs to make life a bit easier when instantiating objects
- Added dropshadows (contributed by Bastian)
- Added patterns
- Added turtle graphics
- Added clip element
- Added use element
- Added some methods to get size/edge points or move an element (depends on element)
- Implemented feMergeNode subclassing
- Added filterprimitiveswithin
Corrections:
- Setfilter had wrong parameter
- Corrected intendation
- Documentation corrected

PR:		ports/155084
Submitted by:	sunpoet (myself)
Approved by:	Olivier Duchateau <duchateau.olivier@gmail.com> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-02-28 15:27:50 +00:00
parent 8c0de8c54f
commit dcacd097d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270001
3 changed files with 23 additions and 19 deletions

View File

@ -6,27 +6,17 @@
# #
PORTNAME= pysvg PORTNAME= pysvg
PORTVERSION= 0.2.0 PORTVERSION= 0.2.1
CATEGORIES= graphics python CATEGORIES= graphics python
MASTER_SITES= http://www.codeboje.de/downloads/ MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME:S|svg|SVG|}
MAINTAINER= duchateau.olivier@gmail.com MAINTAINER= duchateau.olivier@gmail.com
COMMENT= pySVG - creating svg with python COMMENT= pySVG - creating svg with python
NO_WRKSUBDIR= yes USE_PYDISTUTILS=yes
USE_PYTHON= -2.7
USE_PYTHON= yes
USE_ZIP= yes USE_ZIP= yes
PYDISTUTILS_BUILDARGS+= --prefix=${PREFIX}
do-build: PLIST_SUB= PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
@cd ${WRKSRC}/src && \
${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build
do-install:
@cd ${WRKSRC}/src && \
${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} \
install ${PYDISTUTILS_BUILDARGS}
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,2 @@
MD5 (pySVG.zip) = c48b6f19b9d50dce557e3b0d384c17ff SHA256 (pysvg-0.2.1.zip) = f447d39d47674176d277a21616597812c662d62834e136360e86d3f914270f36
SHA256 (pySVG.zip) = 9e5d4ec74c855c778276d70512f4bc207f2a873c9a1cae0e78381fa3256c5471 SIZE (pysvg-0.2.1.zip) = 24216
SIZE (pySVG.zip) = 353029

View File

@ -1,34 +1,49 @@
%%PYTHON_SITELIBDIR%%/pysvg-0.2.0-py2.6.egg-info %%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%%
%%PYTHON_SITELIBDIR%%/pysvg/__init__.py %%PYTHON_SITELIBDIR%%/pysvg/__init__.py
%%PYTHON_SITELIBDIR%%/pysvg/__init__.pyc %%PYTHON_SITELIBDIR%%/pysvg/__init__.pyc
%%PYTHON_SITELIBDIR%%/pysvg/__init__.pyo
%%PYTHON_SITELIBDIR%%/pysvg/animate.py %%PYTHON_SITELIBDIR%%/pysvg/animate.py
%%PYTHON_SITELIBDIR%%/pysvg/animate.pyc %%PYTHON_SITELIBDIR%%/pysvg/animate.pyc
%%PYTHON_SITELIBDIR%%/pysvg/animate.pyo
%%PYTHON_SITELIBDIR%%/pysvg/attributes.py %%PYTHON_SITELIBDIR%%/pysvg/attributes.py
%%PYTHON_SITELIBDIR%%/pysvg/attributes.pyc %%PYTHON_SITELIBDIR%%/pysvg/attributes.pyc
%%PYTHON_SITELIBDIR%%/pysvg/attributes.pyo
%%PYTHON_SITELIBDIR%%/pysvg/builders.py %%PYTHON_SITELIBDIR%%/pysvg/builders.py
%%PYTHON_SITELIBDIR%%/pysvg/builders.pyc %%PYTHON_SITELIBDIR%%/pysvg/builders.pyc
%%PYTHON_SITELIBDIR%%/pysvg/builders.pyo
%%PYTHON_SITELIBDIR%%/pysvg/core.py %%PYTHON_SITELIBDIR%%/pysvg/core.py
%%PYTHON_SITELIBDIR%%/pysvg/core.pyc %%PYTHON_SITELIBDIR%%/pysvg/core.pyc
%%PYTHON_SITELIBDIR%%/pysvg/core.pyo
%%PYTHON_SITELIBDIR%%/pysvg/filter.py %%PYTHON_SITELIBDIR%%/pysvg/filter.py
%%PYTHON_SITELIBDIR%%/pysvg/filter.pyc %%PYTHON_SITELIBDIR%%/pysvg/filter.pyc
%%PYTHON_SITELIBDIR%%/pysvg/filter.pyo
%%PYTHON_SITELIBDIR%%/pysvg/gradient.py %%PYTHON_SITELIBDIR%%/pysvg/gradient.py
%%PYTHON_SITELIBDIR%%/pysvg/gradient.pyc %%PYTHON_SITELIBDIR%%/pysvg/gradient.pyc
%%PYTHON_SITELIBDIR%%/pysvg/gradient.pyo
%%PYTHON_SITELIBDIR%%/pysvg/linking.py %%PYTHON_SITELIBDIR%%/pysvg/linking.py
%%PYTHON_SITELIBDIR%%/pysvg/linking.pyc %%PYTHON_SITELIBDIR%%/pysvg/linking.pyc
%%PYTHON_SITELIBDIR%%/pysvg/linking.pyo
%%PYTHON_SITELIBDIR%%/pysvg/parser.py %%PYTHON_SITELIBDIR%%/pysvg/parser.py
%%PYTHON_SITELIBDIR%%/pysvg/parser.pyc %%PYTHON_SITELIBDIR%%/pysvg/parser.pyc
%%PYTHON_SITELIBDIR%%/pysvg/parser.pyo
%%PYTHON_SITELIBDIR%%/pysvg/script.py %%PYTHON_SITELIBDIR%%/pysvg/script.py
%%PYTHON_SITELIBDIR%%/pysvg/script.pyc %%PYTHON_SITELIBDIR%%/pysvg/script.pyc
%%PYTHON_SITELIBDIR%%/pysvg/script.pyo
%%PYTHON_SITELIBDIR%%/pysvg/shape.py %%PYTHON_SITELIBDIR%%/pysvg/shape.py
%%PYTHON_SITELIBDIR%%/pysvg/shape.pyc %%PYTHON_SITELIBDIR%%/pysvg/shape.pyc
%%PYTHON_SITELIBDIR%%/pysvg/shape.pyo
%%PYTHON_SITELIBDIR%%/pysvg/structure.py %%PYTHON_SITELIBDIR%%/pysvg/structure.py
%%PYTHON_SITELIBDIR%%/pysvg/structure.pyc %%PYTHON_SITELIBDIR%%/pysvg/structure.pyc
%%PYTHON_SITELIBDIR%%/pysvg/structure.pyo
%%PYTHON_SITELIBDIR%%/pysvg/style.py %%PYTHON_SITELIBDIR%%/pysvg/style.py
%%PYTHON_SITELIBDIR%%/pysvg/style.pyc %%PYTHON_SITELIBDIR%%/pysvg/style.pyc
%%PYTHON_SITELIBDIR%%/pysvg/style.pyo
%%PYTHON_SITELIBDIR%%/pysvg/text.py %%PYTHON_SITELIBDIR%%/pysvg/text.py
%%PYTHON_SITELIBDIR%%/pysvg/text.pyc %%PYTHON_SITELIBDIR%%/pysvg/text.pyc
%%PYTHON_SITELIBDIR%%/pysvg/text.pyo
%%PYTHON_SITELIBDIR%%/pysvg/util.py %%PYTHON_SITELIBDIR%%/pysvg/util.py
%%PYTHON_SITELIBDIR%%/pysvg/util.pyc %%PYTHON_SITELIBDIR%%/pysvg/util.pyc
%%PYTHON_SITELIBDIR%%/pysvg/util.pyo
@dirrm %%PYTHON_SITELIBDIR%%/pysvg @dirrm %%PYTHON_SITELIBDIR%%/pysvg
@dirrm %%PYTHON_SITELIBDIR%% @dirrm %%PYTHON_SITELIBDIR%%
@dirrm %%PYTHON_LIBDIR%% @dirrm %%PYTHON_LIBDIR%%