aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-02-28 23:27:50 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-02-28 23:27:50 +0800
commit043b732a8fbcaff8d1f533b67cc39316b0f8cd48 (patch)
tree78505e69dd097f57023f94598956d5c332cdd89a
parenta986abdf775b7f4e56ef52cdd58554d87982b1e7 (diff)
downloadfreebsd-ports-gnome-043b732a8fbcaff8d1f533b67cc39316b0f8cd48.tar.gz
freebsd-ports-gnome-043b732a8fbcaff8d1f533b67cc39316b0f8cd48.tar.zst
freebsd-ports-gnome-043b732a8fbcaff8d1f533b67cc39316b0f8cd48.zip
- 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)
-rw-r--r--graphics/pysvg/Makefile20
-rw-r--r--graphics/pysvg/distinfo5
-rw-r--r--graphics/pysvg/pkg-plist17
3 files changed, 23 insertions, 19 deletions
diff --git a/graphics/pysvg/Makefile b/graphics/pysvg/Makefile
index e6d4b3d9d034..1cdae3bc5740 100644
--- a/graphics/pysvg/Makefile
+++ b/graphics/pysvg/Makefile
@@ -6,27 +6,17 @@
#
PORTNAME= pysvg
-PORTVERSION= 0.2.0
+PORTVERSION= 0.2.1
CATEGORIES= graphics python
-MASTER_SITES= http://www.codeboje.de/downloads/
-DISTNAME= ${PORTNAME:S|svg|SVG|}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= duchateau.olivier@gmail.com
COMMENT= pySVG - creating svg with python
-NO_WRKSUBDIR= yes
-
-USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+USE_PYTHON= -2.7
USE_ZIP= yes
-PYDISTUTILS_BUILDARGS+= --prefix=${PREFIX}
-
-do-build:
- @cd ${WRKSRC}/src && \
- ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build
-do-install:
- @cd ${WRKSRC}/src && \
- ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} \
- install ${PYDISTUTILS_BUILDARGS}
+PLIST_SUB= PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
.include <bsd.port.mk>
diff --git a/graphics/pysvg/distinfo b/graphics/pysvg/distinfo
index 7be6ea256748..f235f18f0bb9 100644
--- a/graphics/pysvg/distinfo
+++ b/graphics/pysvg/distinfo
@@ -1,3 +1,2 @@
-MD5 (pySVG.zip) = c48b6f19b9d50dce557e3b0d384c17ff
-SHA256 (pySVG.zip) = 9e5d4ec74c855c778276d70512f4bc207f2a873c9a1cae0e78381fa3256c5471
-SIZE (pySVG.zip) = 353029
+SHA256 (pysvg-0.2.1.zip) = f447d39d47674176d277a21616597812c662d62834e136360e86d3f914270f36
+SIZE (pysvg-0.2.1.zip) = 24216
diff --git a/graphics/pysvg/pkg-plist b/graphics/pysvg/pkg-plist
index 41bc927388a6..b5d661be0c39 100644
--- a/graphics/pysvg/pkg-plist
+++ b/graphics/pysvg/pkg-plist
@@ -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__.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/__init__.pyo
%%PYTHON_SITELIBDIR%%/pysvg/animate.py
%%PYTHON_SITELIBDIR%%/pysvg/animate.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/animate.pyo
%%PYTHON_SITELIBDIR%%/pysvg/attributes.py
%%PYTHON_SITELIBDIR%%/pysvg/attributes.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/attributes.pyo
%%PYTHON_SITELIBDIR%%/pysvg/builders.py
%%PYTHON_SITELIBDIR%%/pysvg/builders.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/builders.pyo
%%PYTHON_SITELIBDIR%%/pysvg/core.py
%%PYTHON_SITELIBDIR%%/pysvg/core.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/core.pyo
%%PYTHON_SITELIBDIR%%/pysvg/filter.py
%%PYTHON_SITELIBDIR%%/pysvg/filter.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/filter.pyo
%%PYTHON_SITELIBDIR%%/pysvg/gradient.py
%%PYTHON_SITELIBDIR%%/pysvg/gradient.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/gradient.pyo
%%PYTHON_SITELIBDIR%%/pysvg/linking.py
%%PYTHON_SITELIBDIR%%/pysvg/linking.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/linking.pyo
%%PYTHON_SITELIBDIR%%/pysvg/parser.py
%%PYTHON_SITELIBDIR%%/pysvg/parser.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/parser.pyo
%%PYTHON_SITELIBDIR%%/pysvg/script.py
%%PYTHON_SITELIBDIR%%/pysvg/script.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/script.pyo
%%PYTHON_SITELIBDIR%%/pysvg/shape.py
%%PYTHON_SITELIBDIR%%/pysvg/shape.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/shape.pyo
%%PYTHON_SITELIBDIR%%/pysvg/structure.py
%%PYTHON_SITELIBDIR%%/pysvg/structure.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/structure.pyo
%%PYTHON_SITELIBDIR%%/pysvg/style.py
%%PYTHON_SITELIBDIR%%/pysvg/style.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/style.pyo
%%PYTHON_SITELIBDIR%%/pysvg/text.py
%%PYTHON_SITELIBDIR%%/pysvg/text.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/text.pyo
%%PYTHON_SITELIBDIR%%/pysvg/util.py
%%PYTHON_SITELIBDIR%%/pysvg/util.pyc
+%%PYTHON_SITELIBDIR%%/pysvg/util.pyo
@dirrm %%PYTHON_SITELIBDIR%%/pysvg
@dirrm %%PYTHON_SITELIBDIR%%
@dirrm %%PYTHON_LIBDIR%%