Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/pulp/
Date: Wed, 30 Dec 2020 12:44:13
Message-Id: 1609332241.540c6b56d784ce6b800997e26e80d37872a30d0c.epsilon-0@gentoo
1 commit: 540c6b56d784ce6b800997e26e80d37872a30d0c
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Wed Dec 30 12:30:39 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Wed Dec 30 12:44:01 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=540c6b56
7
8 sci-mathematics/pulp: version bump, EAPI bump, bump py targets
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12 Closes: https://github.com/gentoo/sci/pull/1003
13 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
14
15 sci-mathematics/pulp/pulp-1.5.6-r1.ebuild | 39 -------------------------------
16 sci-mathematics/pulp/pulp-2.4.ebuild | 23 ++++++++++++++++++
17 2 files changed, 23 insertions(+), 39 deletions(-)
18
19 diff --git a/sci-mathematics/pulp/pulp-1.5.6-r1.ebuild b/sci-mathematics/pulp/pulp-1.5.6-r1.ebuild
20 deleted file mode 100644
21 index 88878fdcc..000000000
22 --- a/sci-mathematics/pulp/pulp-1.5.6-r1.ebuild
23 +++ /dev/null
24 @@ -1,39 +0,0 @@
25 -# Copyright 1999-2016 Gentoo Foundation
26 -# Distributed under the terms of the GNU General Public License v2
27 -
28 -EAPI=5
29 -
30 -PYTHON_COMPAT=( python{2_7,3_4} pypy )
31 -
32 -inherit distutils-r1
33 -
34 -MY_PN="PuLP"
35 -MY_P="${MY_PN}-${PV}"
36 -
37 -DESCRIPTION="Create MPS/LP files, call solvers, and present results"
38 -HOMEPAGE="http://pulp-or.googlecode.com/"
39 -SRC_URI="mirror://pypi/P/PuLP/${MY_P}.zip"
40 -
41 -LICENSE="BSD-2"
42 -KEYWORDS="~amd64"
43 -SLOT="0"
44 -IUSE="examples"
45 -
46 -DEPEND="dev-python/setuptools"
47 -RDEPEND="
48 - dev-python/setuptools
49 - dev-python/pyparsing
50 - sci-libs/coinor-cbc
51 - >=sci-mathematics/glpk-4.35"
52 -
53 -S="${WORKDIR}/${MY_P}"
54 -
55 -python_prepare_all() {
56 - rm -rf ./src/pulp/solverdir/cbc* || die
57 - distutils-r1_python_prepare_all
58 -}
59 -
60 -python_install_all() {
61 - use examples && EXAMPLES=( examples/. )
62 - distutils-r1_python_install_all
63 -}
64
65 diff --git a/sci-mathematics/pulp/pulp-2.4.ebuild b/sci-mathematics/pulp/pulp-2.4.ebuild
66 new file mode 100644
67 index 000000000..ce0c34a2a
68 --- /dev/null
69 +++ b/sci-mathematics/pulp/pulp-2.4.ebuild
70 @@ -0,0 +1,23 @@
71 +# Copyright 1999-2020 Gentoo Authors
72 +# Distributed under the terms of the GNU General Public License v2
73 +
74 +EAPI=7
75 +
76 +PYTHON_COMPAT=( python3_{7,8,9} )
77 +DISTUTILS_USE_SETUPTOOLS=rdepend
78 +
79 +inherit distutils-r1
80 +
81 +DESCRIPTION="Create MPS/LP files, call solvers, and present results"
82 +HOMEPAGE="http://pulp-or.googlecode.com/"
83 +SRC_URI="https://github.com/coin-or/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
84 +
85 +LICENSE="BSD-2"
86 +KEYWORDS="~amd64"
87 +SLOT="0"
88 +
89 +RDEPEND="dev-python/amply[${PYTHON_USEDEP}]"
90 +
91 +distutils_enable_tests setup.py
92 +# ToDo: package theme
93 +#distutils_enable_sphinx doc/source dev-python/sphinx_glpi_theme