commit:     99f7dde1517d52d1c1a9a2cc8d2cc28117e768f2
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  9 11:03:04 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Apr  9 11:03:04 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=99f7dde1

sci-mathematics/pulp: Version BUmp; fix distutils-r1 eclass usage

Package-Manager: portage-2.2.10

---
 sci-mathematics/pulp/ChangeLog                           |  6 +++++-
 .../pulp/{pulp-1.5.3.ebuild => pulp-1.5.6.ebuild}        | 16 ++++++++--------
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/sci-mathematics/pulp/ChangeLog b/sci-mathematics/pulp/ChangeLog
index 7f207db..83a1448 100644
--- a/sci-mathematics/pulp/ChangeLog
+++ b/sci-mathematics/pulp/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-mathematics/pulp
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  09 Apr 2014; Justin Lecher <[email protected]> -pulp-1.5.3.ebuild,
+  +pulp-1.5.6.ebuild:
+  Version BUmp; fix distutils-r1 eclass usage
+
 *pulp-1.5.3 (14 Jan 2013)
 
   14 Jan 2013; Justin Lecher <[email protected]> -pulp-1.4.9.ebuild,

diff --git a/sci-mathematics/pulp/pulp-1.5.3.ebuild 
b/sci-mathematics/pulp/pulp-1.5.6.ebuild
similarity index 69%
rename from sci-mathematics/pulp/pulp-1.5.3.ebuild
rename to sci-mathematics/pulp/pulp-1.5.6.ebuild
index c6f6c8d..a3d76e6 100644
--- a/sci-mathematics/pulp/pulp-1.5.3.ebuild
+++ b/sci-mathematics/pulp/pulp-1.5.6.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_6,2_7} pypy{1_9,2_0} )
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy )
 
 inherit distutils-r1
 
@@ -13,7 +13,7 @@ MY_P="${MY_PN}-${PV}"
 
 DESCRIPTION="Create MPS/LP files, call solvers, and present results"
 HOMEPAGE="http://pulp-or.googlecode.com/";
-SRC_URI="mirror://pypi/P/PuLP/${MY_P}.tar.gz"
+SRC_URI="mirror://pypi/P/PuLP/${MY_P}.zip"
 
 LICENSE="BSD-2"
 KEYWORDS="~amd64"
@@ -23,19 +23,19 @@ IUSE="examples"
 DEPEND="dev-python/setuptools"
 RDEPEND="
        dev-python/setuptools
+       dev-python/pyparsing
        sci-libs/coinor-cbc
-       >=sci-mathematics/glpk-4.35
-       virtual/pyparsing"
+       >=sci-mathematics/glpk-4.35"
 
 S="${WORKDIR}/${MY_P}"
 
-src_prepare() {
+python_prepare_all() {
        rm -rf ./src/pulp/solverdir/cbc* || die
-       distutils-r1_src_prepare
+       distutils-r1_python_prepare_all
 }
 
-src_install() {
-       distutils-r1_src_install
+pyhton_install_all() {
+       distutils-r1_python_install_all
        if use examples; then
                insinto /usr/share/doc/"${PF}"/
                doins -r examples

Reply via email to