ports/128752: [NEW PORT]converters/py-svglib:An Library For Reading And Converting SVG
Wen heping
wenheping at gmail.com
Mon Nov 10 14:40:04 UTC 2008
>Number: 128752
>Category: ports
>Synopsis: [NEW PORT]converters/py-svglib:An Library For Reading And Converting SVG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 10 14:40:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Wen heping
>Release: FreeBSD 7.0 release
>Organization:
ChangAn Middle School
>Environment:
FreeBSD tinderbox.wenjing.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Svglib is an experimental library for reading SVG files and converting
them(to a reasonable degree) to other formats using the Open Source
ReportLab Toolkit. As a package it reads existing SVG files and returns
them converted to ReportLab Drawing objects that can be used in a
variety of ReportLab-related contexts, e.g. as Platypus Flowable objects
or in RML2PDF. As a command-line tool it converts SVG files into PDF
ones.
WWW: http://pypi.python.org/pypi/svglib/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# py-svglib
# py-svglib/pkg-plist
# py-svglib/pkg-descr
# py-svglib/distinfo
# py-svglib/Makefile
#
echo c - py-svglib
mkdir -p py-svglib > /dev/null 2>&1
echo x - py-svglib/pkg-plist
sed 's/^X//' >py-svglib/pkg-plist << 'END-of-py-svglib/pkg-plist'
Xbin/svg2pdf
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
END-of-py-svglib/pkg-plist
echo x - py-svglib/pkg-descr
sed 's/^X//' >py-svglib/pkg-descr << 'END-of-py-svglib/pkg-descr'
XSvglib is an experimental library for reading SVG files and converting
Xthem(to a reasonable degree) to other formats using the Open Source
XReportLab Toolkit. As a package it reads existing SVG files and returns
Xthem converted to ReportLab Drawing objects that can be used in a
Xvariety of ReportLab-related contexts, e.g. as Platypus Flowable objects
Xor in RML2PDF. As a command-line tool it converts SVG files into PDF
Xones.
X
XWWW: http://pypi.python.org/pypi/svglib/
END-of-py-svglib/pkg-descr
echo x - py-svglib/distinfo
sed 's/^X//' >py-svglib/distinfo << 'END-of-py-svglib/distinfo'
XMD5 (svglib-0.6.1.tar.gz) = a387fc691e700b76dc1d706ac900ac81
XSHA256 (svglib-0.6.1.tar.gz) = cc8e505c8467b689a999ea6885796144731bca1c0810d3c464c5553cef32d275
XSIZE (svglib-0.6.1.tar.gz) = 551565
END-of-py-svglib/distinfo
echo x - py-svglib/Makefile
sed 's/^X//' >py-svglib/Makefile << 'END-of-py-svglib/Makefile'
X# New ports collection makefile for: py-svglib
X# Date created: 2008-11-11
X# Whom: Wen Heping <wenheping at wenheping.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= svglib
XPORTVERSION= 0.6.1
XCATEGORIES= converters python
XMASTER_SITES= CHEESESHOP \
X http://www.dinu-gherman.net/tmp/
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER= wenheping at gmail.com
XCOMMENT= An Library For Reading And Converting SVG
X
XUSE_PYTHON= yes
XUSE_PYDISTUTILS= easy_install
X
X.include <bsd.port.mk>
END-of-py-svglib/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list