ports/82821: New port: graphics/py-gdchart2: python library to gdchart

Choe, Cheng-Dae whitekid at gmail.com
Thu Jun 30 13:30:16 UTC 2005


>Number:         82821
>Category:       ports
>Synopsis:       New port: graphics/py-gdchart2: python library to gdchart
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 30 13:30:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     "Choe, Cheng-Dae"
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD w.comdongin.com 5.4-STABLE FreeBSD 5.4-STABLE #1: Fri Jun 24 16:11:55 KST 2005 root at w.comdongin.com:/usr/obj/data/src/sys/CDI i386
>Description:
- py-gdchart2 is new python interface to gdchart.
- already exists in graphics/py-gchart but py-gdchart2 was completely re-writed with OO interfaces.
- It confict with graphics/py-gdchart ports
>How-To-Repeat:
      N/A
>Fix:
# 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-gdchart2
#	py-gdchart2/pkg-descr
#	py-gdchart2/Makefile
#	py-gdchart2/pkg-plist
#	py-gdchart2/distinfo
#	py-gdchart2/files
#	py-gdchart2/files/patch-setup.py
#
echo c - py-gdchart2
mkdir -p py-gdchart2 > /dev/null 2>&1
echo x - py-gdchart2/pkg-descr
sed 's/^X//' >py-gdchart2/pkg-descr << 'END-of-py-gdchart2/pkg-descr'
XThis is a simple python interface to gdchart which is
Xexcellent for creating charts and graphs in PNG, JPEG,
Xand GIF format.
X
XWWW:	http://www.nullcube.com/software/pygdchart2.html
END-of-py-gdchart2/pkg-descr
echo x - py-gdchart2/Makefile
sed 's/^X//' >py-gdchart2/Makefile << 'END-of-py-gdchart2/Makefile'
X# New ports collection makefile for:	py-gdchart2
X# Date created:		2005-06-30
X# Whom:			Choe, Cheng-Dae
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gdchart
XPORTVERSION=	2.0
X#PORTREVISION=	0
XCATEGORIES=	graphics python
XMASTER_SITES=	http://www.nullcube.com/software/pygdchart2/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XPKGNAMESUFFIX=	-beta
XDISTNAME=	pygdchart2
X#EXTRACT_SUFX=
X
XMAINTAINER=	whitekid at gmail.com
XCOMMENT=	Python interface to GDChart2
X
XLIB_DEPENDS=	gdc.1:${PORTSDIR}/graphics/gdchart
X
XCONFLICTS=	${PYTHON_PKGNAMEPREFIX}gdchart-0.*
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=yes
XUSE_REINPLACE=	yes
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
X
X.include <bsd.port.mk>
END-of-py-gdchart2/Makefile
echo x - py-gdchart2/pkg-plist
sed 's/^X//' >py-gdchart2/pkg-plist << 'END-of-py-gdchart2/pkg-plist'
X at comment $FreeBSD$
X%%PYTHON_SITELIBDIR%%/gdchart.py
X%%PYTHON_SITELIBDIR%%/_gdchartc.so
X%%PYTHON_SITELIBDIR%%/gdchart.pyc
X%%PYTHON_SITELIBDIR%%/gdchart.pyo
END-of-py-gdchart2/pkg-plist
echo x - py-gdchart2/distinfo
sed 's/^X//' >py-gdchart2/distinfo << 'END-of-py-gdchart2/distinfo'
XMD5 (pygdchart2.tar.gz) = 9beabe40589d5e567ee090602e4e8336
XSIZE (pygdchart2.tar.gz) = 1947995
END-of-py-gdchart2/distinfo
echo c - py-gdchart2/files
mkdir -p py-gdchart2/files > /dev/null 2>&1
echo x - py-gdchart2/files/patch-setup.py
sed 's/^X//' >py-gdchart2/files/patch-setup.py << 'END-of-py-gdchart2/files/patch-setup.py'
X
X$FreeBSD$
X
X--- setup.py.orig
X+++ setup.py
X@@ -1,7 +1,7 @@
X from distutils.core import setup, Extension
X 
X-GDCHART_PATH = "../gdchart0.11.4dev"
X-GD_PATH = "../gd-1.8.4"
X+GDCHART_PATH = "%%LOCALBASE%%/include"
X+GD_PATH = "%%LOCALBASE%%/lib"
X setup(
X             name="pygdchart",
X             version="2.0 Beta",
END-of-py-gdchart2/files/patch-setup.py
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list