summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-24 10:19:41 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-24 10:19:41 +0000
commita52d87da0097e4fd0fd3d54de9ee7187236aa3cf (patch)
tree2ee6d84e7fa011fe4665712ace85cef7d3bd2833 /dev-python/PyAmanith
parentstable on amd64 (diff)
downloadhistorical-a52d87da0097e4fd0fd3d54de9ee7187236aa3cf.tar.gz
historical-a52d87da0097e4fd0fd3d54de9ee7187236aa3cf.tar.bz2
historical-a52d87da0097e4fd0fd3d54de9ee7187236aa3cf.zip
initial import #143387
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'dev-python/PyAmanith')
-rw-r--r--dev-python/PyAmanith/ChangeLog8
-rw-r--r--dev-python/PyAmanith/Manifest30
-rw-r--r--dev-python/PyAmanith/PyAmanith-0.3.34.ebuild29
-rw-r--r--dev-python/PyAmanith/files/PyAmanith-0.3.34-build.patch44
-rw-r--r--dev-python/PyAmanith/files/digest-PyAmanith-0.3.343
-rw-r--r--dev-python/PyAmanith/metadata.xml6
6 files changed, 120 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..ca3f076268e8
--- /dev/null
+++ b/dev-python/PyAmanith/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 853 RMD160 d20be0148f43e0e5cf2aba2a570933ab626ab9b3 SHA1 984375b907532889c6a2a1343d659ae5d4855ae2 SHA256 87a7bcb46a2291fca38e3e7c8139f8cd8d19625e46b0e55386fc675784193549
+MD5 a91faca49228a632bbaed11fb1d7c60c PyAmanith-0.3.34.ebuild 853
+RMD160 d20be0148f43e0e5cf2aba2a570933ab626ab9b3 PyAmanith-0.3.34.ebuild 853
+SHA256 87a7bcb46a2291fca38e3e7c8139f8cd8d19625e46b0e55386fc675784193549 PyAmanith-0.3.34.ebuild 853
+MISC ChangeLog 367 RMD160 17d1e4314e70c7e321cd50aaf5d90e0253fdb87f SHA1 71b51ae33b8d8fac9282a18cc4e80e461ca10bcc SHA256 c743a7d1b58007c5fe7b11e8aa71cee256a6e81d760711ce5fc68589db8aa5a4
+MD5 abda076375124812bf20387f2a9e3fcc ChangeLog 367
+RMD160 17d1e4314e70c7e321cd50aaf5d90e0253fdb87f ChangeLog 367
+SHA256 c743a7d1b58007c5fe7b11e8aa71cee256a6e81d760711ce5fc68589db8aa5a4 ChangeLog 367
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFFlvDamhnQswr0vIRAqlSAJ4gyo2vPD+rRVfGVTMFpk0yiWDYzgCfRhaZ
+vfg9/EytCM0tXeaEOIWhvA4=
+=LxGo
+-----END PGP SIGNATURE-----
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>