summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-08-20 14:49:56 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-08-20 14:49:56 +0000
commit67eeaf46eea2842c59d91b373b48ca8dc43bff3f (patch)
treea1eace041b3459446599f79c680522912f56e2b8 /dev-python
parentmedia-libs/amanith: Added CXX= since it didn't respect CXX (diff)
downloadsunrise-67eeaf46eea2842c59d91b373b48ca8dc43bff3f.tar.gz
sunrise-67eeaf46eea2842c59d91b373b48ca8dc43bff3f.tar.bz2
sunrise-67eeaf46eea2842c59d91b373b48ca8dc43bff3f.zip
dev-python/pyamanith: Moved from svndump/dev-zero to sunrise
svn path=/sunrise/; revision=970
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyamanith/ChangeLog13
-rw-r--r--dev-python/pyamanith/Manifest28
-rw-r--r--dev-python/pyamanith/files/digest-pyamanith-0.3.13
-rw-r--r--dev-python/pyamanith/files/pyamanith-0.3.1-gdrawboard.patch11
-rw-r--r--dev-python/pyamanith/files/pyamanith-0.3.1-setup_py.patch25
-rw-r--r--dev-python/pyamanith/files/pyamanith-0.3.1-typemaps_i.patch24
-rw-r--r--dev-python/pyamanith/metadata.xml5
-rw-r--r--dev-python/pyamanith/pyamanith-0.3.1.ebuild31
8 files changed, 140 insertions, 0 deletions
diff --git a/dev-python/pyamanith/ChangeLog b/dev-python/pyamanith/ChangeLog
new file mode 100644
index 000000000..8478deae1
--- /dev/null
+++ b/dev-python/pyamanith/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for dev-python/pyamanith
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 20 Aug 2006; Tiziano Müller <gentoo@dev-zero.ch> pyamanith-0.3.1.ebuild,
+ +files/pyamanith-0.3.1-gdrawboard.patch:
+ Patch for gdrawboard-compile-problems added, works now
+
+ 17 Aug 2006; Tiziano Müller <gentoo@dev-zero.ch> +pyamanith-0.3.1.ebuild,
+ +files/pyamanith-0.3.1-setup_py.patch,
+ +files/pyamanith-0.3.1-typemaps_i.patch, +metadata.xml:
+ New ebuild for bug 143387 (not complete yet)
+
diff --git a/dev-python/pyamanith/Manifest b/dev-python/pyamanith/Manifest
new file mode 100644
index 000000000..4fc8c7b36
--- /dev/null
+++ b/dev-python/pyamanith/Manifest
@@ -0,0 +1,28 @@
+AUX pyamanith-0.3.1-gdrawboard.patch 482 RMD160 d21a369cae34bb55f03d8d3a2a8e88856bfa2800 SHA1 7987d2e0746f1f41b077558c6570799ca977f44a SHA256 35d107ea3dafe11fac64e52dcbe564b630ca0fb3068acc237629e5ef805b2e97
+MD5 c48deb093120c52d4b5c54e1518ad0ac files/pyamanith-0.3.1-gdrawboard.patch 482
+RMD160 d21a369cae34bb55f03d8d3a2a8e88856bfa2800 files/pyamanith-0.3.1-gdrawboard.patch 482
+SHA256 35d107ea3dafe11fac64e52dcbe564b630ca0fb3068acc237629e5ef805b2e97 files/pyamanith-0.3.1-gdrawboard.patch 482
+AUX pyamanith-0.3.1-setup_py.patch 863 RMD160 ba0365a382ae2fc83cca2f921f2bcc85c56f2f80 SHA1 7ee6cae280bc86280bf80cf3521b7692203f6aa7 SHA256 cc2eb1f5b43c57948c0c52d7db6d925fb3f922958317de5c53027363d4d588c0
+MD5 73a3039dd202fff1ee87e950275077e5 files/pyamanith-0.3.1-setup_py.patch 863
+RMD160 ba0365a382ae2fc83cca2f921f2bcc85c56f2f80 files/pyamanith-0.3.1-setup_py.patch 863
+SHA256 cc2eb1f5b43c57948c0c52d7db6d925fb3f922958317de5c53027363d4d588c0 files/pyamanith-0.3.1-setup_py.patch 863
+AUX pyamanith-0.3.1-typemaps_i.patch 1253 RMD160 a1805c31f842020572a5a6970acfecac7ca4f76d SHA1 f3970290d2f3cca9057412055e538e0c2abf5ed0 SHA256 c25891fd780587a13f6c4349e0bf44ad9d406c3c71498583b3fcc84339398235
+MD5 947c9e4af1f5441618708c36aa422baa files/pyamanith-0.3.1-typemaps_i.patch 1253
+RMD160 a1805c31f842020572a5a6970acfecac7ca4f76d files/pyamanith-0.3.1-typemaps_i.patch 1253
+SHA256 c25891fd780587a13f6c4349e0bf44ad9d406c3c71498583b3fcc84339398235 files/pyamanith-0.3.1-typemaps_i.patch 1253
+DIST PyAmanith-0.3.1.tar.gz 53550 RMD160 520f540df4e9ed7864157179a75941cca9a4018c SHA1 4b6e2cd8e45c5b9e2e65714fd3a8566b91f60782 SHA256 68bcb80dc5d655e780e2aee9f6c0ce203b0270df887ccb986fbb9f5f61a7db1f
+EBUILD pyamanith-0.3.1.ebuild 714 RMD160 372c46135fc6f9b734c2af69537a8bcad67f60ad SHA1 30c5c857d0c0bad9920d493cf1fbeef8c1ee7c6c SHA256 d18a53efde6e2c8024bc4c2527eb3b6649a133f26646deb7117845b732a6eed8
+MD5 5c5168aaf166764a7ed2154b39d0772a pyamanith-0.3.1.ebuild 714
+RMD160 372c46135fc6f9b734c2af69537a8bcad67f60ad pyamanith-0.3.1.ebuild 714
+SHA256 d18a53efde6e2c8024bc4c2527eb3b6649a133f26646deb7117845b732a6eed8 pyamanith-0.3.1.ebuild 714
+MISC ChangeLog 522 RMD160 2d3b5b0c2252293a2827f4c12ff69b77b04d0874 SHA1 66b2f32ab055dea348abcb94d10fecd409d086b6 SHA256 d6da3f2f9e2703cb742d25235d73cd5d47a224f4fab5d43f77094e16f0781bed
+MD5 8e363fc7820a1ec2360cbcbda82089f4 ChangeLog 522
+RMD160 2d3b5b0c2252293a2827f4c12ff69b77b04d0874 ChangeLog 522
+SHA256 d6da3f2f9e2703cb742d25235d73cd5d47a224f4fab5d43f77094e16f0781bed ChangeLog 522
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 c140b5114cf29e79c6a13a56c58e407c files/digest-pyamanith-0.3.1 244
+RMD160 3987056a65b1b6e2aedf1ea28952031aea10ca01 files/digest-pyamanith-0.3.1 244
+SHA256 ea0f92a760f70518ea8cddf13769d0122006be241b82d8d6bf5390059cc63fa5 files/digest-pyamanith-0.3.1 244
diff --git a/dev-python/pyamanith/files/digest-pyamanith-0.3.1 b/dev-python/pyamanith/files/digest-pyamanith-0.3.1
new file mode 100644
index 000000000..44792a784
--- /dev/null
+++ b/dev-python/pyamanith/files/digest-pyamanith-0.3.1
@@ -0,0 +1,3 @@
+MD5 4e706aa8909ffa441e3b107ffc0a8717 PyAmanith-0.3.1.tar.gz 53550
+RMD160 520f540df4e9ed7864157179a75941cca9a4018c PyAmanith-0.3.1.tar.gz 53550
+SHA256 68bcb80dc5d655e780e2aee9f6c0ce203b0270df887ccb986fbb9f5f61a7db1f PyAmanith-0.3.1.tar.gz 53550
diff --git a/dev-python/pyamanith/files/pyamanith-0.3.1-gdrawboard.patch b/dev-python/pyamanith/files/pyamanith-0.3.1-gdrawboard.patch
new file mode 100644
index 000000000..9263b5945
--- /dev/null
+++ b/dev-python/pyamanith/files/pyamanith-0.3.1-gdrawboard.patch
@@ -0,0 +1,11 @@
+--- include/pyamanith.h.orig 2006-08-20 12:24:24.000000000 +0200
++++ include/pyamanith.h 2006-08-20 12:24:39.000000000 +0200
+@@ -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>
diff --git a/dev-python/pyamanith/files/pyamanith-0.3.1-setup_py.patch b/dev-python/pyamanith/files/pyamanith-0.3.1-setup_py.patch
new file mode 100644
index 000000000..7f8db0403
--- /dev/null
+++ b/dev-python/pyamanith/files/pyamanith-0.3.1-setup_py.patch
@@ -0,0 +1,25 @@
+--- setup.py.orig 2006-08-09 23:27:42.000000000 +0200
++++ setup.py 2006-08-09 23:28:02.000000000 +0200
+@@ -6,10 +6,7 @@
+ import os
+ from os.path import join
+
+-try:
+- amanith_base = os.environ["AMANITHDIR"]
+-except:
+- amanith_base = "amanith"
++amanith_base = "/usr"
+
+ debug = False
+ libs = ["amanith"]
+@@ -42,8 +39,8 @@
+ # 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"))
++ os.makedirs(join("build", "amanith", "include"))
++ shutil.copytree(join(amanith_base, "include/amanith"), join("build", "amanith", "include", "amanith"))
+ self.copy("changes", join("build", "amanith"))
+ _build_ext.run(self)
+
diff --git a/dev-python/pyamanith/files/pyamanith-0.3.1-typemaps_i.patch b/dev-python/pyamanith/files/pyamanith-0.3.1-typemaps_i.patch
new file mode 100644
index 000000000..104ab1144
--- /dev/null
+++ b/dev-python/pyamanith/files/pyamanith-0.3.1-typemaps_i.patch
@@ -0,0 +1,24 @@
+--- typemaps.i.orig 2006-08-17 01:17:39.000000000 +0200
++++ typemaps.i 2006-08-17 01:17:57.000000000 +0200
+@@ -104,13 +104,13 @@
+
+ namespace std
+ {
+- %template(GPoint2Vector) vector<::Amanith::GPoint2 >;
+- %template(GPoint3Vector) vector<::Amanith::GPoint3 >;
+- %template(GPoint4Vector) vector<::Amanith::GPoint4 >;
+- %template(GKeyValueVector) vector<::Amanith::GKeyValue >;
+- %template(GImpExpFeatureVector) vector<::Amanith::GImpExpFeature >;
+- %template(GPropertyVector) vector<::Amanith::GProperty >;
+- %template(GProxyStateVector) vector<::Amanith::GProxyState >;
++ %template(GPoint2Vector) vector<Amanith::GPoint2 >;
++ %template(GPoint3Vector) vector<Amanith::GPoint3 >;
++ %template(GPoint4Vector) vector<Amanith::GPoint4 >;
++ %template(GKeyValueVector) vector<Amanith::GKeyValue >;
++ %template(GImpExpFeatureVector) vector<Amanith::GImpExpFeature >;
++ %template(GPropertyVector) vector<Amanith::GProperty >;
++ %template(GProxyStateVector) vector<Amanith::GProxyState >;
+ %template(GRealVector) vector<GReal >;
+- %template(GHermiteKey1DVector) vector<::Amanith::GHermiteKey1D >;
++ %template(GHermiteKey1DVector) vector<Amanith::GHermiteKey1D >;
+ }
diff --git a/dev-python/pyamanith/metadata.xml b/dev-python/pyamanith/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/dev-python/pyamanith/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/dev-python/pyamanith/pyamanith-0.3.1.ebuild b/dev-python/pyamanith/pyamanith-0.3.1.ebuild
new file mode 100644
index 000000000..d0bbcbca8
--- /dev/null
+++ b/dev-python/pyamanith/pyamanith-0.3.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit distutils
+
+KEYWORDS="~x86"
+
+MY_P=${P/pya/PyA}
+
+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/${PN}/dist/${MY_P}.tar.gz"
+LICENSE="QPL"
+SLOT="0"
+IUSE=""
+
+DEPEND="~media-libs/amanith-0.3
+ media-libs/glew"
+RDEPEND="${DEPEND}
+ >=dev-lang/swig-1.3.29"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-setup_py.patch"
+ epatch "${FILESDIR}/${P}-typemaps_i.patch"
+ epatch "${FILESDIR}/${P}-gdrawboard.patch"
+}