summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Strzygowski <lucass@gentoo.org>2007-07-03 07:29:10 +0000
committerLukasz Strzygowski <lucass@gentoo.org>2007-07-03 07:29:10 +0000
commitb9f7f622572483d3a3f3dab619704b7844dcc39b (patch)
tree8e5721832cbd4f04c2bbf66a84e4da1d7dcf095c /dev-python/pyode
parentclean-up DEPEND; exchange manual make calls with emake (diff)
downloadgentoo-2-b9f7f622572483d3a3f3dab619704b7844dcc39b.tar.gz
gentoo-2-b9f7f622572483d3a3f3dab619704b7844dcc39b.tar.bz2
gentoo-2-b9f7f622572483d3a3f3dab619704b7844dcc39b.zip
Dropped old versions. Cleanup. Added examples use-flag.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'dev-python/pyode')
-rw-r--r--dev-python/pyode/ChangeLog7
-rw-r--r--dev-python/pyode/files/digest-pyode-1.0.03
-rw-r--r--dev-python/pyode/files/digest-pyode-1.1.03
-rw-r--r--dev-python/pyode/files/odepath.patch18
-rw-r--r--dev-python/pyode/pyode-1.0.0.ebuild25
-rw-r--r--dev-python/pyode/pyode-1.1.0.ebuild41
-rw-r--r--dev-python/pyode/pyode-1.1.0_p20060728.ebuild11
-rw-r--r--dev-python/pyode/pyode-1.2.0.ebuild14
8 files changed, 20 insertions, 102 deletions
diff --git a/dev-python/pyode/ChangeLog b/dev-python/pyode/ChangeLog
index 7873bce0a10f..a07d53476349 100644
--- a/dev-python/pyode/ChangeLog
+++ b/dev-python/pyode/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyode
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/ChangeLog,v 1.9 2007/02/12 19:44:17 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/ChangeLog,v 1.10 2007/07/03 07:29:10 lucass Exp $
+
+ 03 Jul 2007; Lukasz Strzygowski <lucass@gentoo.org> -files/odepath.patch,
+ -pyode-1.0.0.ebuild, -pyode-1.1.0.ebuild, pyode-1.1.0_p20060728.ebuild,
+ pyode-1.2.0.ebuild:
+ Dropped old versions. Cleanup. Added examples use-flag.
*pyode-1.2.0 (12 Feb 2007)
diff --git a/dev-python/pyode/files/digest-pyode-1.0.0 b/dev-python/pyode/files/digest-pyode-1.0.0
deleted file mode 100644
index b9e7f8f6c1fb..000000000000
--- a/dev-python/pyode/files/digest-pyode-1.0.0
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 cc88fde823368d6c7843491cc5b4399e PyODE-1.0.0.tar.bz2 94550
-RMD160 0e51241c0211af41628906e5bb66d0f310502675 PyODE-1.0.0.tar.bz2 94550
-SHA256 d349f65afa841ebeaef7176a26613ff43f9c68857852ab70296b23760720c11b PyODE-1.0.0.tar.bz2 94550
diff --git a/dev-python/pyode/files/digest-pyode-1.1.0 b/dev-python/pyode/files/digest-pyode-1.1.0
deleted file mode 100644
index 2bd42decad1d..000000000000
--- a/dev-python/pyode/files/digest-pyode-1.1.0
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 ad7873c0977e275a9061898ac2e611cd PyODE-1.1.0.tar.bz2 140371
-RMD160 3e6807f6177de437569ed4a36c1188faae067b45 PyODE-1.1.0.tar.bz2 140371
-SHA256 5811121e25f81e55d65d4235baec623726096ce5cfdb980ed223ffde91ec066a PyODE-1.1.0.tar.bz2 140371
diff --git a/dev-python/pyode/files/odepath.patch b/dev-python/pyode/files/odepath.patch
deleted file mode 100644
index 9a1bce12b988..000000000000
--- a/dev-python/pyode/files/odepath.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Only in PyODE-1.0.0: _trimesh_switch.pyx
-Only in PyODE-1.0.0: build
-Common subdirectories: PyODE-1.0.0-orig/examples and PyODE-1.0.0/examples
-diff -u PyODE-1.0.0-orig/setup.py PyODE-1.0.0/setup.py
---- PyODE-1.0.0-orig/setup.py 2004-11-16 14:50:02.000000000 -0500
-+++ PyODE-1.0.0/setup.py 2004-12-12 16:47:02.000000000 -0500
-@@ -26,7 +26,7 @@
- # Linux (and other)
- else:
-
-- ODE_BASE = "../ode"
-+ ODE_BASE = "/usr"
-
- INC_DIRS = [os.path.join(ODE_BASE, "include")]
- LIB_DIRS = [os.path.join(ODE_BASE, "lib")]
-Common subdirectories: PyODE-1.0.0-orig/src and PyODE-1.0.0/src
-Common subdirectories: PyODE-1.0.0-orig/tests and PyODE-1.0.0/tests
-Common subdirectories: PyODE-1.0.0-orig/xode and PyODE-1.0.0/xode
diff --git a/dev-python/pyode/pyode-1.0.0.ebuild b/dev-python/pyode/pyode-1.0.0.ebuild
deleted file mode 100644
index eb4159aabe59..000000000000
--- a/dev-python/pyode/pyode-1.0.0.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/pyode-1.0.0.ebuild,v 1.3 2005/02/27 09:58:32 lucass Exp $
-
-inherit distutils
-
-MY_P="${P/pyode/PyODE}"
-DESCRIPTION="python bindings to the ode physics engine"
-HOMEPAGE="http://pyode.sourceforge.net/"
-SRC_URI="mirror://sourceforge/pyode/${MY_P}.tar.bz2"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-DEPEND="virtual/python
- >=dev-games/ode-0.5
- >=dev-python/pyrex-0.9.3"
-
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}/odepath.patch"
-}
diff --git a/dev-python/pyode/pyode-1.1.0.ebuild b/dev-python/pyode/pyode-1.1.0.ebuild
deleted file mode 100644
index f5712567502b..000000000000
--- a/dev-python/pyode/pyode-1.1.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/pyode-1.1.0.ebuild,v 1.4 2006/12/10 02:25:25 dirtyepic Exp $
-
-inherit distutils
-
-MY_P=${P/pyode/PyODE}
-DESCRIPTION="python bindings to the ode physics engine"
-HOMEPAGE="http://pyode.sourceforge.net/"
-SRC_URI="mirror://sourceforge/pyode/${MY_P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-IUSE=""
-
-DEPEND="virtual/python
- ~dev-games/ode-0.5
- >=dev-python/pyrex-0.9.4.1"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i \
- -e "s:#ODE_BASE = .*:ODE_BASE = '/usr/share/ode-0.5':" \
- setup.py || die
-
- # These files were generated with pyrex-0.9.3, which is incompatable with
- # GCC-4.x. We delete them so they will be regenerated with
- # >=pyrex-0.9.4.1. Bug #135029
- rm ode_notrimesh.c ode_trimesh.c
-}
-
-src_install() {
- distutils_src_install
- # The build system doesnt error if it fails to build
- # the ode library so we need our own sanity check
- [[ -z $(find "${D}" -name ode.so) ]] && die "failed to build/install :("
-}
diff --git a/dev-python/pyode/pyode-1.1.0_p20060728.ebuild b/dev-python/pyode/pyode-1.1.0_p20060728.ebuild
index b6febcbfe2ba..03fdccaf7ccd 100644
--- a/dev-python/pyode/pyode-1.1.0_p20060728.ebuild
+++ b/dev-python/pyode/pyode-1.1.0_p20060728.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/pyode-1.1.0_p20060728.ebuild,v 1.3 2006/12/10 02:25:25 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/pyode-1.1.0_p20060728.ebuild,v 1.4 2007/07/03 07:29:10 lucass Exp $
inherit distutils
-DESCRIPTION="python bindings to the ode physics engine"
+DESCRIPTION="Python bindings to the ODE physics engine"
HOMEPAGE="http://pyode.sourceforge.net/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
@@ -13,15 +13,14 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc x86 ~x86-fbsd"
IUSE=""
-DEPEND="virtual/python
- >=dev-games/ode-0.5
+DEPEND=">=dev-games/ode-0.5
>=dev-python/pyrex-0.9.4.1"
S="$WORKDIR/${PN}"
src_unpack() {
unpack ${A}
- cp ${FILESDIR}/setup.py ${S}
+ cp "${FILESDIR}"/setup.py "${S}"
}
src_install() {
diff --git a/dev-python/pyode/pyode-1.2.0.ebuild b/dev-python/pyode/pyode-1.2.0.ebuild
index 07a2a5f5cd6f..b3d12f85d075 100644
--- a/dev-python/pyode/pyode-1.2.0.ebuild
+++ b/dev-python/pyode/pyode-1.2.0.ebuild
@@ -1,21 +1,20 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/pyode-1.2.0.ebuild,v 1.1 2007/02/12 19:44:17 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/pyode-1.2.0.ebuild,v 1.2 2007/07/03 07:29:10 lucass Exp $
inherit distutils
MY_P=${P/pyode/PyODE}
-DESCRIPTION="python bindings to the ode physics engine"
+DESCRIPTION="Python bindings to the ODE physics engine"
HOMEPAGE="http://pyode.sourceforge.net/"
SRC_URI="mirror://sourceforge/pyode/${MY_P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-IUSE=""
+IUSE="examples"
-DEPEND="virtual/python
- >=dev-games/ode-0.7
+DEPEND=">=dev-games/ode-0.7
>=dev-python/pyrex-0.9.4.1"
S="$WORKDIR/${MY_P}"
@@ -25,4 +24,9 @@ src_install() {
# The build system doesnt error if it fails to build
# the ode library so we need our own sanity check
[[ -z $(find "${D}" -name ode.so) ]] && die "failed to build/install :("
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
}