* [gentoo-commits] repo/gentoo:master commit in: dev-python/oosuite/
@ 2016-11-16 17:16 Patrice Clement
0 siblings, 0 replies; only message in thread
From: Patrice Clement @ 2016-11-16 17:16 UTC (permalink / raw
To: gentoo-commits
commit: a584bbda4f070e45e6f2f7146815e4ff3dc60864
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 16 17:14:29 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Nov 16 17:16:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a584bbda
dev-python/oosuite: removal.
dev-python/oosuite/Manifest | 2 -
dev-python/oosuite/metadata.xml | 26 --------
dev-python/oosuite/oosuite-0.45.ebuild | 109 ---------------------------------
dev-python/oosuite/oosuite-0.50.ebuild | 109 ---------------------------------
4 files changed, 246 deletions(-)
diff --git a/dev-python/oosuite/Manifest b/dev-python/oosuite/Manifest
deleted file mode 100644
index 2505fe4..00000000
--- a/dev-python/oosuite/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST OOSuite-0.45.zip 520692 SHA256 62bae3f45d256c63858f5acb4caeffd1c93d0b8748a2cdfed8ac9323258eb6fe SHA512 9908da3fd5919a18770f45ff1e995d8345e3dca22b90aa4cec439485d261e482633e481fb1f57aa6e1da43505da3a009ad97aa9a306171eb885dd7ee19f48c74 WHIRLPOOL 1674fe4d0bd5df81724d40d6b2b9947315c116c242e5699d91fe3c72cec4b8333db1b3c28e394fe1fca9243e8a1478a36aaa96c715f716ca1e195669df0431b5
-DIST OOSuite-0.50.zip 529690 SHA256 64954e7f22fb8218d24d0c479671dcf53442896c2dcacd50dae27ea9510f9c59 SHA512 b8dcdb750bd623050702c40e221f681a1b226975532dfe9b2e8d9b4cda7948612782c049ea46f582bf38a99e7b746e0d20afba5693f7ab36f8288cec7c44a7d2 WHIRLPOOL 5a4be22c24274b94d0259ffe48fa8156733ad5e814b1783cb4db10f9c9f424d3600b3c43595fc915e59d374105f89756b9b9d71d03bad3cfd3353a67bc672c52
diff --git a/dev-python/oosuite/metadata.xml b/dev-python/oosuite/metadata.xml
deleted file mode 100644
index f3b2c61..00000000
--- a/dev-python/oosuite/metadata.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>sci-mathematics@gentoo.org</email>
- <name>Gentoo Mathematics Project</name>
-</maintainer>
-<longdescription lang="en">
- The OpenOpt suite of Python packages contains the following modules:
- * openopt: universal numerical optimization package with
- several solvers (e.g. ralg) and connections to tens of other,
- graphical output of convergence.
- * FuncDesigner: tool to rapidly build functions over
- variables/arrays and get their dense/sparse derivatives via
- automatic differentiation, integration (with specifiable accuracy by
- interalg), interpolation, uncertainty analysis and interval
- analysis, eigenvalue analysis, solve systems of linear/nonlinear/ODE
- equations and numerical optimization problems coded in FuncDesigner
- by OpenOpt.
- * DerApproximator: tool to get (or check user-supplied) derivatives
- via finite-difference approximation
- * SpaceFuncs: tool for 2D, 3D, N-dimensional geometric modeling with
- possibilities of parametrized calculations, numerical optimization
- and solving systems of geometrical equations.
-</longdescription>
-</pkgmetadata>
diff --git a/dev-python/oosuite/oosuite-0.45.ebuild b/dev-python/oosuite/oosuite-0.45.ebuild
deleted file mode 100644
index 832d389..00000000
--- a/dev-python/oosuite/oosuite-0.45.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE='tk?'
-
-inherit distutils-r1 eutils
-
-MYPN="OOSuite"
-MYPID="f/f3"
-
-DESCRIPTION="OpenOpt suite of Python modules for numerical optimization"
-HOMEPAGE="http://openopt.org/"
-SRC_URI="http://openopt.org/images/${MYPID}/${MYPN}.zip -> ${MYPN}-${PV}.zip"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="examples minimal tk"
-
-RDEPEND="
- dev-python/numpy[${PYTHON_USEDEP}]
- !minimal? (
- dev-python/cvxopt[glpk,${PYTHON_USEDEP}]
- dev-python/lp_solve[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/setproctitle[${PYTHON_USEDEP}]
- sci-libs/nlopt[python]
- sci-libs/scipy[${PYTHON_USEDEP}] )"
-DEPEND="
- app-arch/unzip
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]"
-
-S="${WORKDIR}/PythonPackages"
-
-OO_DIRS="DerApproximator FuncDesigner OpenOpt SpaceFuncs"
-
-python_prepare() {
- # reorganize SpaceFuncs
- pushd SpaceFuncs > /dev/null
- mkdir SpaceFuncs
- cp __version__.py SpaceFuncs || die
- mv SpaceFuncs.py __init__.py kernel SpaceFuncs || die
- popd > /dev/null
- local d
- for d in ${OO_DIRS}; do
- pushd ${d} > /dev/null
- find . -name "*COPYING*" -delete
- find . -type d -name examples -or -name tests -or -name doc \
- -exec rm -r '{}' +
- distutils-r1_python_prepare
- popd > /dev/null
- done
-}
-
-src_prepare() {
- distutils-r1_src_prepare
- # move all examples and tests to ease installation in proper directory
- mkdir "${WORKDIR}/examples"
- local d e
- for d in ${OO_DIRS}; do
- mkdir "${WORKDIR}/examples/${d}" || die
- for e in $(find ${d} -type d -name examples -or -name tests -or -name doc); do
- mv ${e} "${WORKDIR}/examples/${d}/" || die
- done
- done
-}
-
-python_compile() {
- local d
- for d in ${OO_DIRS}; do
- pushd ${d} > /dev/null
- distutils-r1_python_compile
- popd > /dev/null
- done
-}
-
-python_test() {
- local d t oldpath=${PYTHONPATH}
- for d in ${OO_DIRS}; do
- PYTHONPATH="${BUILD_DIR}/${d}/build/lib:${PYTHONPATH}"
- done
- export PYTHONPATH
- cd "${WORKDIR}"/examples
- # limit the tests, other need more dependencies
- for t in \
- DerApproximator/tests/t_check.py \
- FuncDesigner/examples/sle1.py \
- OpenOpt/examples/nlp_1.py \
- SpaceFuncs/examples/triangle.py
- do
- "${PYTHON}" ${t} || die "test ${t} failed"
- done
- export PYTHONPATH=${oldpath}
-}
-
-python_install() {
- local d
- for d in ${OO_DIRS}; do
- pushd ${d} > /dev/null
- distutils-r1_python_install
- popd > /dev/null
- done
- use examples && EXAMPLES="${WORKDIR}"/examples
-}
diff --git a/dev-python/oosuite/oosuite-0.50.ebuild b/dev-python/oosuite/oosuite-0.50.ebuild
deleted file mode 100644
index 832d389..00000000
--- a/dev-python/oosuite/oosuite-0.50.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE='tk?'
-
-inherit distutils-r1 eutils
-
-MYPN="OOSuite"
-MYPID="f/f3"
-
-DESCRIPTION="OpenOpt suite of Python modules for numerical optimization"
-HOMEPAGE="http://openopt.org/"
-SRC_URI="http://openopt.org/images/${MYPID}/${MYPN}.zip -> ${MYPN}-${PV}.zip"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="examples minimal tk"
-
-RDEPEND="
- dev-python/numpy[${PYTHON_USEDEP}]
- !minimal? (
- dev-python/cvxopt[glpk,${PYTHON_USEDEP}]
- dev-python/lp_solve[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/setproctitle[${PYTHON_USEDEP}]
- sci-libs/nlopt[python]
- sci-libs/scipy[${PYTHON_USEDEP}] )"
-DEPEND="
- app-arch/unzip
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]"
-
-S="${WORKDIR}/PythonPackages"
-
-OO_DIRS="DerApproximator FuncDesigner OpenOpt SpaceFuncs"
-
-python_prepare() {
- # reorganize SpaceFuncs
- pushd SpaceFuncs > /dev/null
- mkdir SpaceFuncs
- cp __version__.py SpaceFuncs || die
- mv SpaceFuncs.py __init__.py kernel SpaceFuncs || die
- popd > /dev/null
- local d
- for d in ${OO_DIRS}; do
- pushd ${d} > /dev/null
- find . -name "*COPYING*" -delete
- find . -type d -name examples -or -name tests -or -name doc \
- -exec rm -r '{}' +
- distutils-r1_python_prepare
- popd > /dev/null
- done
-}
-
-src_prepare() {
- distutils-r1_src_prepare
- # move all examples and tests to ease installation in proper directory
- mkdir "${WORKDIR}/examples"
- local d e
- for d in ${OO_DIRS}; do
- mkdir "${WORKDIR}/examples/${d}" || die
- for e in $(find ${d} -type d -name examples -or -name tests -or -name doc); do
- mv ${e} "${WORKDIR}/examples/${d}/" || die
- done
- done
-}
-
-python_compile() {
- local d
- for d in ${OO_DIRS}; do
- pushd ${d} > /dev/null
- distutils-r1_python_compile
- popd > /dev/null
- done
-}
-
-python_test() {
- local d t oldpath=${PYTHONPATH}
- for d in ${OO_DIRS}; do
- PYTHONPATH="${BUILD_DIR}/${d}/build/lib:${PYTHONPATH}"
- done
- export PYTHONPATH
- cd "${WORKDIR}"/examples
- # limit the tests, other need more dependencies
- for t in \
- DerApproximator/tests/t_check.py \
- FuncDesigner/examples/sle1.py \
- OpenOpt/examples/nlp_1.py \
- SpaceFuncs/examples/triangle.py
- do
- "${PYTHON}" ${t} || die "test ${t} failed"
- done
- export PYTHONPATH=${oldpath}
-}
-
-python_install() {
- local d
- for d in ${OO_DIRS}; do
- pushd ${d} > /dev/null
- distutils-r1_python_install
- popd > /dev/null
- done
- use examples && EXAMPLES="${WORKDIR}"/examples
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-16 17:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-16 17:16 [gentoo-commits] repo/gentoo:master commit in: dev-python/oosuite/ Patrice Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox