Date: Tue, 26 Sep 2006 04:43:48 +0400 (MSD) From: Dmitry Marakasov <amdmi3@mail.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/103655: [NEW PORT] graphics/py-amanith Python wrapper for the Amanith 2D vector graphics library Message-ID: <20060926004348.8E91F4235@hades.panopticon> Resent-Message-ID: <200609260050.k8Q0oLuh075356@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 103655 >Category: ports >Synopsis: [NEW PORT] graphics/py-amanith Python wrapper for the Amanith 2D vector graphics library >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: Tue Sep 26 00:50:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 6.1-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #0: Fri Sep 1 14:24:31 MSD 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: PyAmanith is a Python wrapper for the Amanith 2D vector graphics library. It strives to offer a pythonic interface to the library and make all its features accessible. WWW: http://louhi.kempele.fi/~skyostil/projects/pyamanith/ --- Yes, the next step is amazing Frets On Fire :)) >How-To-Repeat: >Fix: --- py-amanith-0.3.34.shar begins here --- # 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-amanith # py-amanith/Makefile # py-amanith/pkg-plist # py-amanith/pkg-descr # py-amanith/distinfo # py-amanith/files # py-amanith/files/patch-ignore.i # py-amanith/files/patch-setup.py # echo c - py-amanith mkdir -p py-amanith > /dev/null 2>&1 echo x - py-amanith/Makefile sed 's/^X//' >py-amanith/Makefile << 'END-of-py-amanith/Makefile' X# New ports collection makefile for: py-amanith X# Date created: 25 Sep 2006 X# Whom: Dmitry Marakasov <amdmi3@mail.ru> X# X# $FreeBSD$ X# X XPORTNAME= amanith XPORTVERSION= 0.3.34 XCATEGORIES= graphics python XMASTER_SITES= http://louhi.kempele.fi/~skyostil/projects/pyamanith/dist/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= PyAmanith-${PORTVERSION} X XMAINTAINER= amdmi3@mail.ru XCOMMENT= Python wrapper for the Amanith 2D vector graphics library X XLIB_DEPENDS= GLEW.1:${PORTSDIR}/graphics/glew \ X amanith.1:${PORTSDIR}/graphics/amanith XBUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 X XUSE_PYTHON= 2.4+ XUSE_PYDISTUTILS= yes XUSE_PYTHON_PREFIX= yes X Xpost-patch: X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g; s|/usr/X11R6|${X11BASE}|g' \ X ${WRKSRC}/setup.py X X.include <bsd.port.mk> END-of-py-amanith/Makefile echo x - py-amanith/pkg-plist sed 's/^X//' >py-amanith/pkg-plist << 'END-of-py-amanith/pkg-plist' X%%PYTHON_SITELIBDIR%%/amanith.py X%%PYTHON_SITELIBDIR%%/_amanith.so X%%PYTHON_SITELIBDIR%%/amanith.pyc X%%PYTHON_SITELIBDIR%%/amanith.pyo END-of-py-amanith/pkg-plist echo x - py-amanith/pkg-descr sed 's/^X//' >py-amanith/pkg-descr << 'END-of-py-amanith/pkg-descr' XPyAmanith is a Python wrapper for the Amanith 2D vector graphics Xlibrary. It strives to offer a pythonic interface to the library Xand make all its features accessible. X XWWW: http://louhi.kempele.fi/~skyostil/projects/pyamanith/ END-of-py-amanith/pkg-descr echo x - py-amanith/distinfo sed 's/^X//' >py-amanith/distinfo << 'END-of-py-amanith/distinfo' XMD5 (PyAmanith-0.3.34.tar.gz) = e6d44980ba8d1260f4e8dc73b93c63d4 XSHA256 (PyAmanith-0.3.34.tar.gz) = d4923309473ae037316e5294a612823ee5812e62e77979ffc70e14ff8f57afb2 XSIZE (PyAmanith-0.3.34.tar.gz) = 53214 END-of-py-amanith/distinfo echo c - py-amanith/files mkdir -p py-amanith/files > /dev/null 2>&1 echo x - py-amanith/files/patch-ignore.i sed 's/^X//' >py-amanith/files/patch-ignore.i << 'END-of-py-amanith/files/patch-ignore.i' X--- ignore.i.orig Fri May 5 01:23:47 2006 X+++ ignore.i Tue Sep 26 03:54:57 2006 X@@ -15,6 +15,7 @@ X %ignore Amanith::GEllipseCurve2D::YAxis; X %ignore Amanith::GFont2D::CharMap; X %ignore Amanith::GRenderingContext::GRenderingContext; X+%ignore Amanith::GDrawBoard::DrawEllipseArc; X X /* Don't mind these unsupported things */ X %warnfilter(362) Amanith::GInterval::operator=; END-of-py-amanith/files/patch-ignore.i echo x - py-amanith/files/patch-setup.py sed 's/^X//' >py-amanith/files/patch-setup.py << 'END-of-py-amanith/files/patch-setup.py' X--- setup.py.orig Thu Sep 14 23:30:45 2006 X+++ setup.py Tue Sep 26 04:05:01 2006 X@@ -13,10 +13,10 @@ X X debug = False X libs = ["amanith"] X-inc = [join("changes", "include"), join(amanith_base, "include"), "include"] X-lib = [join(amanith_base, "lib")] X+inc = [ "changes/include", "include", "/usr/local/include", "/usr/X11R6/include" ] X+lib = [ "/usr/local/lib", "/usr/X11R6/lib" ] X cc_args = [] X-swig_args = ["-Ibuild/amanith"] X+swig_args = ["-Ibuild/amanith/include"] X X if os.name == "nt": X if debug: X@@ -41,10 +41,10 @@ X def run(self): X # Ultimately this should use patch(1) or something, but for now X # we just copy the stuff over. X- if not os.path.isdir(join("build", "amanith")): X- os.makedirs(join("build", "amanith")) X- shutil.copytree(join(amanith_base, "include"), join("build", "amanith", "include")) X- self.copy("changes", join("build", "amanith")) X+ if not os.path.isdir("build/amanith"): X+ os.makedirs("build/amanith/include") X+ shutil.copytree("/usr/local/include/amanith", "build/amanith/include/amanith") X+ self.copy("changes", "build/amanith") X _build_ext.run(self) X X ext_amanith = Extension('_amanith', ['amanith.i'], END-of-py-amanith/files/patch-setup.py exit --- py-amanith-0.3.34.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060926004348.8E91F4235>