diff options
author | 2015-04-15 14:19:01 +0000 | |
---|---|---|
committer | 2015-04-15 14:19:01 +0000 | |
commit | fafe610d06eceb9e7cb0600da413b81ade33998b (patch) | |
tree | f41405887e0c41bcf48831c5a8605f053cfb5167 /sci-chemistry/prodecomp/prodecomp-3.0.ebuild | |
parent | Stable on ppc and ppc64. Bug #546560. (diff) | |
download | historical-fafe610d06eceb9e7cb0600da413b81ade33998b.tar.gz historical-fafe610d06eceb9e7cb0600da413b81ade33998b.tar.bz2 historical-fafe610d06eceb9e7cb0600da413b81ade33998b.zip |
Drop old; Bump EAPI and python eclasses
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'sci-chemistry/prodecomp/prodecomp-3.0.ebuild')
-rw-r--r-- | sci-chemistry/prodecomp/prodecomp-3.0.ebuild | 36 |
1 files changed, 15 insertions, 21 deletions
diff --git a/sci-chemistry/prodecomp/prodecomp-3.0.ebuild b/sci-chemistry/prodecomp/prodecomp-3.0.ebuild index 3212131e8bf9..6a00e7fd0696 100644 --- a/sci-chemistry/prodecomp/prodecomp-3.0.ebuild +++ b/sci-chemistry/prodecomp/prodecomp-3.0.ebuild @@ -1,52 +1,46 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/prodecomp/prodecomp-3.0.ebuild,v 1.1 2010/10/20 06:25:57 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/prodecomp/prodecomp-3.0.ebuild,v 1.2 2015/04/15 14:18:54 jlec Exp $ -EAPI="3" +EAPI=5 -PYTHON_DEPEND="2" -PYTHON_USE_WITH="tk" +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="tk" -inherit python +inherit python-single-r1 DESCRIPTION="Decomposition-based analysis of NMR projections" HOMEPAGE="http://www.lundberg.gu.se/nmr/software.php?program=PRODECOMP" SRC_URI="mirror://gentoo/${P}.tar.bz2" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="examples" -RDEPEND="sci-libs/scipy" +RDEPEND="sci-libs/scipy[${PYTHON_USEDEP}]" DEPEND="" S="${WORKDIR}"/NMRProjAnalys -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - src_install() { if use examples; then insinto /usr/share/${PN} - doins -r ExampleData Results || die + doins -r ExampleData Results fi - insinto /usr/share/doc/${PF} - doins ProjTools/Manual.pdf || die + dodoc ProjTools/Manual.pdf rm -rf ProjTools/Manual.pdf ProdecompOutput || die - insinto $(python_get_sitedir) - doins -r ProjTools || die - mv "${ED}"/$(python_get_sitedir)/{ProjTools,${PN}} || die + python_moduleinto ${PN} + python_domodule ProjTools/. + python_optimize cat >> "${T}"/${PN} <<- EOF #!/bin/bash - $(PYTHON) -O "${EPREFIX}"/$(python_get_sitedir)/${PN}/ProjAnalys.py $@ + ${PYTHON} -O "${EPREFIX}"/$(python_get_sitedir)/${PN}/ProjAnalys.py $@ EOF - dobin "${T}"/${PN} || die + dobin "${T}"/${PN} dosym ../../../../share/doc/${PF}/Manual.pdf $(python_get_sitedir)/${PN}/Manual.pdf } |