commit: 540c6b56d784ce6b800997e26e80d37872a30d0c Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Wed Dec 30 12:30:39 2020 +0000 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> CommitDate: Wed Dec 30 12:44:01 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=540c6b56
sci-mathematics/pulp: version bump, EAPI bump, bump py targets Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> Closes: https://github.com/gentoo/sci/pull/1003 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> sci-mathematics/pulp/pulp-1.5.6-r1.ebuild | 39 ------------------------------- sci-mathematics/pulp/pulp-2.4.ebuild | 23 ++++++++++++++++++ 2 files changed, 23 insertions(+), 39 deletions(-) diff --git a/sci-mathematics/pulp/pulp-1.5.6-r1.ebuild b/sci-mathematics/pulp/pulp-1.5.6-r1.ebuild deleted file mode 100644 index 88878fdcc..000000000 --- a/sci-mathematics/pulp/pulp-1.5.6-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_4} pypy ) - -inherit distutils-r1 - -MY_PN="PuLP" -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}.zip" - -LICENSE="BSD-2" -KEYWORDS="~amd64" -SLOT="0" -IUSE="examples" - -DEPEND="dev-python/setuptools" -RDEPEND=" - dev-python/setuptools - dev-python/pyparsing - sci-libs/coinor-cbc - >=sci-mathematics/glpk-4.35" - -S="${WORKDIR}/${MY_P}" - -python_prepare_all() { - rm -rf ./src/pulp/solverdir/cbc* || die - distutils-r1_python_prepare_all -} - -python_install_all() { - use examples && EXAMPLES=( examples/. ) - distutils-r1_python_install_all -} diff --git a/sci-mathematics/pulp/pulp-2.4.ebuild b/sci-mathematics/pulp/pulp-2.4.ebuild new file mode 100644 index 000000000..ce0c34a2a --- /dev/null +++ b/sci-mathematics/pulp/pulp-2.4.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Create MPS/LP files, call solvers, and present results" +HOMEPAGE="http://pulp-or.googlecode.com/" +SRC_URI="https://github.com/coin-or/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="dev-python/amply[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py +# ToDo: package theme +#distutils_enable_sphinx doc/source dev-python/sphinx_glpi_theme
