jlec        15/04/15 14:18:54

  Modified:             metadata.xml prodecomp-3.0.ebuild ChangeLog
  Log:
  Drop old; Bump EAPI and python eclasses
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.2                  sci-chemistry/prodecomp/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prodecomp/metadata.xml?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prodecomp/metadata.xml?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prodecomp/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/prodecomp/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml        20 Oct 2010 06:25:57 -0000      1.1
+++ metadata.xml        15 Apr 2015 14:18:54 -0000      1.2
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<herd>sci-chemistry</herd>
-<maintainer>
-  <email>[email protected]</email>
-</maintainer>
-<longdescription>
+  <herd>sci-chemistry</herd>
+  <maintainer>
+    <email>[email protected]</email>
+  </maintainer>
+  <longdescription>
        PRODECOMP (PROjection DECOMPosition) is a software tool for 
        decomposition of 2D projections of high-dimensional NMR spectra to a set
        of components (defined in turn by one-dimensional "shapes"). 



1.2                  sci-chemistry/prodecomp/prodecomp-3.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prodecomp/prodecomp-3.0.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prodecomp/prodecomp-3.0.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prodecomp/prodecomp-3.0.ebuild?r1=1.1&r2=1.2

Index: prodecomp-3.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/prodecomp/prodecomp-3.0.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- prodecomp-3.0.ebuild        20 Oct 2010 06:25:57 -0000      1.1
+++ prodecomp-3.0.ebuild        15 Apr 2015 14:18:54 -0000      1.2
@@ -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
 }



1.2                  sci-chemistry/prodecomp/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prodecomp/ChangeLog?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prodecomp/ChangeLog?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prodecomp/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/prodecomp/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog   20 Oct 2010 06:25:57 -0000      1.1
+++ ChangeLog   15 Apr 2015 14:18:54 -0000      1.2
@@ -1,10 +1,13 @@
 # ChangeLog for sci-chemistry/prodecomp
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/prodecomp/ChangeLog,v 1.1 
2010/10/20 06:25:57 jlec Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/prodecomp/ChangeLog,v 1.2 
2015/04/15 14:18:54 jlec Exp $
+
+  15 Apr 2015; Justin Lecher <[email protected]> metadata.xml,
+  prodecomp-3.0.ebuild:
+  Drop old; Bump EAPI and python eclasses
 
 *prodecomp-3.0 (20 Oct 2010)
 
   20 Oct 2010; Justin Lecher <[email protected]> +prodecomp-3.0.ebuild,
   +metadata.xml:
   Initital addition
-




Reply via email to