diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-11-04 10:00:55 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-11-04 10:00:55 +0000 |
commit | f58278654eaa319da6af53189ef4fa8f8e6b46d5 (patch) | |
tree | eb8c835f0bf495063ecd228390e2fca9ea565cdd /sci-libs/mmtk | |
parent | Move sci-chemistry/mmtk to sci-libs/mmtk due to duplication, #441648 (diff) | |
download | gentoo-2-f58278654eaa319da6af53189ef4fa8f8e6b46d5.tar.gz gentoo-2-f58278654eaa319da6af53189ef4fa8f8e6b46d5.tar.bz2 gentoo-2-f58278654eaa319da6af53189ef4fa8f8e6b46d5.zip |
sci-libs/mmtk: Version BUmp
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'sci-libs/mmtk')
-rw-r--r-- | sci-libs/mmtk/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/mmtk/metadata.xml | 2 | ||||
-rw-r--r-- | sci-libs/mmtk/mmtk-2.7.3.ebuild | 25 | ||||
-rw-r--r-- | sci-libs/mmtk/mmtk-2.7.5.ebuild | 57 |
4 files changed, 77 insertions, 15 deletions
diff --git a/sci-libs/mmtk/ChangeLog b/sci-libs/mmtk/ChangeLog index 7d19f439b814..cb34c9028cd0 100644 --- a/sci-libs/mmtk/ChangeLog +++ b/sci-libs/mmtk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/mmtk # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mmtk/ChangeLog,v 1.10 2012/02/28 12:41:48 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mmtk/ChangeLog,v 1.11 2012/11/04 10:00:55 jlec Exp $ + +*mmtk-2.7.5 (04 Nov 2012) + + 04 Nov 2012; Justin Lecher <jlec@gentoo.org> mmtk-2.7.3.ebuild, + +mmtk-2.7.5.ebuild, metadata.xml: + Version BUmp 28 Feb 2012; Patrick Lauer <patrick@gentoo.org> mmtk-2.7.3.ebuild: Restricting pypy and jython diff --git a/sci-libs/mmtk/metadata.xml b/sci-libs/mmtk/metadata.xml index 9ac9ffdb3a41..e42d0af60f42 100644 --- a/sci-libs/mmtk/metadata.xml +++ b/sci-libs/mmtk/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>sci-chemistry</herd> + <herd>sci-chemistry</herd> </pkgmetadata> diff --git a/sci-libs/mmtk/mmtk-2.7.3.ebuild b/sci-libs/mmtk/mmtk-2.7.3.ebuild index c7f161bbf1e5..1302c6f9e05d 100644 --- a/sci-libs/mmtk/mmtk-2.7.3.ebuild +++ b/sci-libs/mmtk/mmtk-2.7.3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mmtk/mmtk-2.7.3.ebuild,v 1.4 2012/02/28 12:41:48 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mmtk/mmtk-2.7.3.ebuild,v 1.5 2012/11/04 10:00:55 jlec Exp $ -EAPI="2" +EAPI=5 PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" @@ -17,18 +17,21 @@ NUMBER="3421" MY_PN=${PN/mmtk/MMTK} MY_P=${MY_PN}-${PV} +PYTHON_MODNAME="${MY_PN}" + DESCRIPTION="Molecular Modeling ToolKit for Python" HOMEPAGE="http://dirac.cnrs-orleans.fr/MMTK/" SRC_URI="http://sourcesup.cru.fr/frs/download.php/${NUMBER}/${MY_P}.tar.gz" SLOT="0" LICENSE="CeCILL-2" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="~amd64 ~x86 ~ppc ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND=" - >=dev-python/scientificpython-2.6 - dev-python/cython" + dev-python/cython + dev-python/numpy + dev-python/scientificpython" DEPEND="${RDEPEND}" S="${WORKDIR}"/${MY_P} @@ -44,15 +47,11 @@ src_prepare() { src_install() { distutils_src_install - dodoc README* Doc/CHANGELOG || die - dohtml -r Doc/HTML/* || die + dodoc README* Doc/CHANGELOG + dohtml -r Doc/HTML/* if use examples; then - insinto /usr/share/doc/${PF} - doins -r Examples || die -# Needs to wait for EAPI=4 -# dodoc -r Doc/Examples || die + insinto /usr/share/${P} + doins -r Examples fi } - -PYTHON_MODNAME="${MY_PN}" diff --git a/sci-libs/mmtk/mmtk-2.7.5.ebuild b/sci-libs/mmtk/mmtk-2.7.5.ebuild new file mode 100644 index 000000000000..992fd65f4e55 --- /dev/null +++ b/sci-libs/mmtk/mmtk-2.7.5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mmtk/mmtk-2.7.5.ebuild,v 1.1 2012/11/04 10:00:55 jlec Exp $ + +EAPI=5 + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython" + +inherit distutils + +# This number identifies each release on the CRU website. +# Can't figure out how to avoid hardcoding it. +NUMBER="3794" + +MY_PN=${PN/mmtk/MMTK} +MY_P=${MY_PN}-${PV} + +PYTHON_MODNAME="${MY_PN}" + +DESCRIPTION="Molecular Modeling ToolKit for Python" +HOMEPAGE="http://dirac.cnrs-orleans.fr/MMTK/" +SRC_URI="http://sourcesup.cru.fr/frs/download.php/${NUMBER}/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="CeCILL-2" +KEYWORDS="~amd64 ~x86 ~ppc ~amd64-linux ~x86-linux" +IUSE="examples" + +RDEPEND=" + dev-python/cython + dev-python/numpy + dev-python/scientificpython" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + export MMTK_USE_CYTHON="1" + sed -i -e "/ext_package/d" \ + "${S}"/setup.py \ + || die + distutils_src_prepare +} + +src_install() { + distutils_src_install + + dodoc README* Doc/CHANGELOG + dohtml -r Doc/HTML/* + + if use examples; then + insinto /usr/share/${P} + doins -r Examples + fi +} |