mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
The SVGFig package lets you draw mathematical figures in Scalable
Vector Graphics format (SVG), using the Python language. More information at: http://code.google.com/p/svgfig/ Reviewed by: garga (mentor) Approved by: garga (mentor, implicit)
This commit is contained in:
parent
a878d849c7
commit
e9786637d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214255
27
graphics/svgfig/Makefile
Normal file
27
graphics/svgfig/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# New ports collection makefile for: svgfig
|
||||
# Date created: 01 June 2008
|
||||
# Whom: Wesley Shields <wxs@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= SVGFig
|
||||
PORTVERSION= 1.1.6
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= wxs@FreeBSD.org
|
||||
COMMENT= Draw mathematical figures in SVG using Python
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME:L}
|
||||
|
||||
USE_PYTHON= 2.4+
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|1.1.2|${PORTVERSION}|' ${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/svgfig/distinfo
Normal file
3
graphics/svgfig/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (svgfig-1.1.6.tgz) = 3e283bd6fd6e3ade1d3a21f33e805045
|
||||
SHA256 (svgfig-1.1.6.tgz) = cfc98c662178011b4e5edf64a5bb4190eec523ddabfec3355e8e9101e499cd46
|
||||
SIZE (svgfig-1.1.6.tgz) = 25552
|
21
graphics/svgfig/pkg-descr
Normal file
21
graphics/svgfig/pkg-descr
Normal file
@ -0,0 +1,21 @@
|
||||
The SVGFig package lets you draw mathematical figures in Scalable
|
||||
Vector Graphics format (SVG), using the Python language.
|
||||
|
||||
As a tool, its usefulness lies somewhere between freehand drawing
|
||||
programs, which don't give you quantitative control over your figures,
|
||||
and traditional plotting packages, which fit your data into a prescribed
|
||||
template. SVGFig allows you to draw anything you can express in Python.
|
||||
|
||||
SVGFig is particularly suited to handle non-linear geometries. All
|
||||
lines, including the coordinate axis, curve if passed through a
|
||||
non-linear coordinate transformation, and coordinate systems can be
|
||||
nested in trees. This generalizes all the tools necessary for making
|
||||
plots, so it is easy to create polar plots of radial data, Hammer-Aitoff
|
||||
projections of the sky, translations in hyperbolic spaces, or experiment
|
||||
with new representations.
|
||||
|
||||
SVGFig also maintains a convenient representation of SVG images as
|
||||
Python constructs, so you can load graphics from SVG files, dissect
|
||||
them, manipulate them with an automated script, and save them in batch.
|
||||
|
||||
WWW: http://code.google.com/p/svgfig/
|
4
graphics/svgfig/pkg-plist
Normal file
4
graphics/svgfig/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
%%PYTHON_SITELIBDIR%%/svgfig.py
|
||||
%%PYTHON_SITELIBDIR%%/svgfig.pyo
|
||||
%%PYTHON_SITELIBDIR%%/svgfig.pyc
|
||||
@dirrmtry %%PYTHON_SITELIBDIR%%
|
Loading…
Reference in New Issue
Block a user