From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/pyode/Manifest | 1 + dev-python/pyode/metadata.xml | 12 +++++++ dev-python/pyode/pyode-1.2.0_p20100322-r1.ebuild | 43 ++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 dev-python/pyode/Manifest create mode 100644 dev-python/pyode/metadata.xml create mode 100644 dev-python/pyode/pyode-1.2.0_p20100322-r1.ebuild (limited to 'dev-python/pyode') diff --git a/dev-python/pyode/Manifest b/dev-python/pyode/Manifest new file mode 100644 index 000000000000..18b5d69da1a7 --- /dev/null +++ b/dev-python/pyode/Manifest @@ -0,0 +1 @@ +DIST PyODE-snapshot-2010-03-22.tar.bz2 55651 BLAKE2B 4ef1337f4a4c7e2bcbece57af0eff4d2da08dce1ad63d6772fe76a473559a7b102c8282ada3abf2add2b78e8609ca3fc3d67e3f520bdda4186ff6a854b4a5012 SHA512 fd9457d9a9c42a5e9834ce45886d6b57c9ecfdc68868353d986fa219eb57246d4dc175ca5d12c876c359c5bdac5bcdaf6dfc2ee65fff52f53337b1d10458e54c diff --git a/dev-python/pyode/metadata.xml b/dev-python/pyode/metadata.xml new file mode 100644 index 000000000000..da57a1287377 --- /dev/null +++ b/dev-python/pyode/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + Python + + + pyode + + gentoo-staging + diff --git a/dev-python/pyode/pyode-1.2.0_p20100322-r1.ebuild b/dev-python/pyode/pyode-1.2.0_p20100322-r1.ebuild new file mode 100644 index 000000000000..3b8fa61d3bb0 --- /dev/null +++ b/dev-python/pyode/pyode-1.2.0_p20100322-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit distutils-r1 + +MY_P="${P/pyode/PyODE}" +SNAPSHOT_DATE="2010-03-22" # This is a snapshot + +DESCRIPTION="Python bindings to the ODE physics engine" +HOMEPAGE="http://pyode.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/PyODE-snapshot-${SNAPSHOT_DATE}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples" + +RDEPEND=">=dev-games/ode-0.7 + >=dev-python/pyrex-0.9.4.1[${PYTHON_USEDEP}]" +DEPEND=${RDEPEND} + +S=${WORKDIR}/PyODE-snapshot-${SNAPSHOT_DATE} + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +src_install() { + distutils-r1_src_install + + # The build system doesnt error if it fails to build + # the ode library so we need our own sanity check + [[ -n $(find "${D}" -name ode.so) ]] || die "ode.so is missing" + + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + insinto /usr/share/doc/${PF} + doins -r examples + fi +} -- cgit v1.3.1