diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/pyode | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/pyode')
| -rw-r--r-- | dev-python/pyode/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyode/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-python/pyode/pyode-1.2.0_p20100322-r1.ebuild | 43 |
3 files changed, 56 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">pyode</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> 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 +} |
