diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-09-24 10:19:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-09-24 10:19:41 +0000 |
commit | b248ee729f882e874e96055a48e5fa2092fdcd69 (patch) | |
tree | 4ac301817393366a3ff192faaa348120e7015eec /dev-python/PyAmanith | |
parent | stable on amd64 wrt bug 147654 (diff) | |
download | gentoo-2-b248ee729f882e874e96055a48e5fa2092fdcd69.tar.gz gentoo-2-b248ee729f882e874e96055a48e5fa2092fdcd69.tar.bz2 gentoo-2-b248ee729f882e874e96055a48e5fa2092fdcd69.zip |
initial import #143387
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'dev-python/PyAmanith')
-rw-r--r-- | dev-python/PyAmanith/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/PyAmanith/Manifest | 20 | ||||
-rw-r--r-- | dev-python/PyAmanith/PyAmanith-0.3.34.ebuild | 29 | ||||
-rw-r--r-- | dev-python/PyAmanith/files/PyAmanith-0.3.34-build.patch | 44 | ||||
-rw-r--r-- | dev-python/PyAmanith/files/digest-PyAmanith-0.3.34 | 3 | ||||
-rw-r--r-- | dev-python/PyAmanith/metadata.xml | 6 |
6 files changed, 110 insertions, 0 deletions
diff --git a/dev-python/PyAmanith/ChangeLog b/dev-python/PyAmanith/ChangeLog new file mode 100644 index 000000000000..1c512f4348a6 --- /dev/null +++ b/dev-python/PyAmanith/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-python/PyAmanith +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyAmanith/ChangeLog,v 1.1 2006/09/24 10:19:41 vapier Exp $ + +*PyAmanith-0.3.34 (24 Sep 2006) + + 24 Sep 2006; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Trevor Hardcastle/me #143387. diff --git a/dev-python/PyAmanith/Manifest b/dev-python/PyAmanith/Manifest new file mode 100644 index 000000000000..11e0de4ce659 --- /dev/null +++ b/dev-python/PyAmanith/Manifest @@ -0,0 +1,20 @@ +AUX PyAmanith-0.3.34-build.patch 1658 RMD160 83996a343de438d00d7c612eaabcf9ec69e02d8a SHA1 5b210488c7a4400cd30699262fa45c92a969bdbe SHA256 7d57b262edb0376a345e0b2cc9308c3f53a9c61ee5d6b58236aaa39c8ee9271a +MD5 84de1853c55c6ead74ec3ef26c41f0d6 files/PyAmanith-0.3.34-build.patch 1658 +RMD160 83996a343de438d00d7c612eaabcf9ec69e02d8a files/PyAmanith-0.3.34-build.patch 1658 +SHA256 7d57b262edb0376a345e0b2cc9308c3f53a9c61ee5d6b58236aaa39c8ee9271a files/PyAmanith-0.3.34-build.patch 1658 +DIST PyAmanith-0.3.34.tar.gz 53214 RMD160 9609ce288e51bf9c58df90abbef879d8816adabd SHA1 8e6cfde017a86c792b8eed15ea703af77a7037f8 SHA256 d4923309473ae037316e5294a612823ee5812e62e77979ffc70e14ff8f57afb2 +EBUILD PyAmanith-0.3.34.ebuild 747 RMD160 94555872658e44f8d5ffa6e4b006abf0d6f00061 SHA1 8be2f9a93b5f4947bcc07aa3160cf100d30eb3c9 SHA256 04f311aaab77ae10bd68e1b0641951f740804069899958c652b12f9fd7b68830 +MD5 5203072eba9336dc84c382f85f26a391 PyAmanith-0.3.34.ebuild 747 +RMD160 94555872658e44f8d5ffa6e4b006abf0d6f00061 PyAmanith-0.3.34.ebuild 747 +SHA256 04f311aaab77ae10bd68e1b0641951f740804069899958c652b12f9fd7b68830 PyAmanith-0.3.34.ebuild 747 +MISC ChangeLog 275 RMD160 28a10fc841d2e65abf236b23b2bd529d0a37e025 SHA1 409bdc5969db1e0b5e73895de4e7d0c04c252c2e SHA256 10d209baeb58bc49528250222cdff415c4c682ce1a052e5f4c44d6477f6828bf +MD5 f4415305cccac6a25a867d75ec157242 ChangeLog 275 +RMD160 28a10fc841d2e65abf236b23b2bd529d0a37e025 ChangeLog 275 +SHA256 10d209baeb58bc49528250222cdff415c4c682ce1a052e5f4c44d6477f6828bf ChangeLog 275 +MISC metadata.xml 178 RMD160 50b06f07cc928377b42394b62368ad7859d319d1 SHA1 f86a3741d3ffab818e8fa521984a4bd04feb45bc SHA256 710d69266fb695e82211f87b2dd5d159f261acbe61927d90e42b50dccd5b8208 +MD5 77b3606970c7d600dddb48f95bdd621f metadata.xml 178 +RMD160 50b06f07cc928377b42394b62368ad7859d319d1 metadata.xml 178 +SHA256 710d69266fb695e82211f87b2dd5d159f261acbe61927d90e42b50dccd5b8208 metadata.xml 178 +MD5 771027b35f619fe21c4a000fffe378f4 files/digest-PyAmanith-0.3.34 247 +RMD160 047e604ceb5aac55fce78d8390632a1ee22f21c0 files/digest-PyAmanith-0.3.34 247 +SHA256 9b1fe5295b5cf849554b4b07fac1b135476c9baa0de24afcb9e6ed9b5ac802e2 files/digest-PyAmanith-0.3.34 247 diff --git a/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild b/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild new file mode 100644 index 000000000000..fc0c8a0f0acd --- /dev/null +++ b/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyAmanith/PyAmanith-0.3.34.ebuild,v 1.1 2006/09/24 10:19:41 vapier Exp $ + +inherit eutils distutils + +DESCRIPTION="Python wrapper for the Amanith 2D vector graphics library" +HOMEPAGE="http://louhi.kempele.fi/~skyostil/projects/pyamanith/" +SRC_URI="http://louhi.kempele.fi/~skyostil/projects/pyamanith/dist/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-lang/python-2.3 + >=media-libs/amanith-0.3 + >=dev-lang/swig-1.3.25" + +src_unpack() { + unpack ${A} + cd "${S}" + # perhaps someone with more swig/distutils clout can make this + # package stop sucking so hard + sed -i \ + -e '/include/s:build/amanith/include/::' \ + headers.i + epatch "${FILESDIR}"/${P}-build.patch +} diff --git a/dev-python/PyAmanith/files/PyAmanith-0.3.34-build.patch b/dev-python/PyAmanith/files/PyAmanith-0.3.34-build.patch new file mode 100644 index 000000000000..a1b8e835209a --- /dev/null +++ b/dev-python/PyAmanith/files/PyAmanith-0.3.34-build.patch @@ -0,0 +1,44 @@ +--- include/pyamanith.h ++++ include/pyamanith.h +@@ -59,7 +59,7 @@ + #include <amanith/numerics/geigen.h> + #include <amanith/numerics/gfilter.h> + #include <amanith/numerics/gintegration.h> +-#include <amanith/rendering/gdrawboard.h> ++#include <amanith/rendering/gdrawboard.swig.h> + #include <amanith/rendering/gdrawstyle.h> + #include <amanith/rendering/gopenglboard.h> + #include <amanith/support/gavltree.h> +--- setup.py ++++ setup.py +@@ -16,7 +16,7 @@ + inc = [join("changes", "include"), join(amanith_base, "include"), "include"] + lib = [join(amanith_base, "lib")] + cc_args = [] +-swig_args = ["-Ibuild/amanith"] ++swig_args = ["-Ichanges/include", "-Iinclude", "-I/usr/include"] + + if os.name == "nt": + if debug: +@@ -39,20 +39,9 @@ + relPath = join(root, file).replace(source + os.sep, "") + shutil.copy(join(source, relPath), join(target, relPath)) + +- def run(self): +- # Ultimately this should use patch(1) or something, but for now +- # we just copy the stuff over. +- if not os.path.isdir(join("build", "amanith")): +- os.makedirs(join("build", "amanith")) +- shutil.copytree(join(amanith_base, "include"), join("build", "amanith", "include")) +- self.copy("changes", join("build", "amanith")) +- _build_ext.run(self) + + ext_amanith = Extension('_amanith', ['amanith.i'], +- include_dirs = inc, +- library_dirs = lib, +- libraries = libs, +- extra_compile_args = cc_args) ++ swig_opts = swig_args, extra_compile_args = swig_args) + + setup(name = 'PyAmanith', + version = '0.3.34', diff --git a/dev-python/PyAmanith/files/digest-PyAmanith-0.3.34 b/dev-python/PyAmanith/files/digest-PyAmanith-0.3.34 new file mode 100644 index 000000000000..a6aadc459647 --- /dev/null +++ b/dev-python/PyAmanith/files/digest-PyAmanith-0.3.34 @@ -0,0 +1,3 @@ +MD5 e6d44980ba8d1260f4e8dc73b93c63d4 PyAmanith-0.3.34.tar.gz 53214 +RMD160 9609ce288e51bf9c58df90abbef879d8816adabd PyAmanith-0.3.34.tar.gz 53214 +SHA256 d4923309473ae037316e5294a612823ee5812e62e77979ffc70e14ff8f57afb2 PyAmanith-0.3.34.tar.gz 53214 diff --git a/dev-python/PyAmanith/metadata.xml b/dev-python/PyAmanith/metadata.xml new file mode 100644 index 000000000000..9b2fd781c1d0 --- /dev/null +++ b/dev-python/PyAmanith/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +<herd>games</herd> +</pkgmetadata> |