diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-11-01 19:31:19 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-11-01 19:31:19 +0000 |
commit | ae934ad46b66a6e6f5dd2f68073aa1da72baad4c (patch) | |
tree | bf4f5edb1b3ebba57ba8fc31286f2a76b39dacd9 /dev-python | |
parent | Added missing epatch and improved patches a bit btw. (diff) | |
download | historical-ae934ad46b66a6e6f5dd2f68073aa1da72baad4c.tar.gz historical-ae934ad46b66a6e6f5dd2f68073aa1da72baad4c.tar.bz2 historical-ae934ad46b66a6e6f5dd2f68073aa1da72baad4c.zip |
Version bump
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/oosuite/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/oosuite/Manifest | 14 | ||||
-rw-r--r-- | dev-python/oosuite/oosuite-0.42.ebuild | 95 |
3 files changed, 114 insertions, 2 deletions
diff --git a/dev-python/oosuite/ChangeLog b/dev-python/oosuite/ChangeLog index f1a9b9c9d31a..e21158408175 100644 --- a/dev-python/oosuite/ChangeLog +++ b/dev-python/oosuite/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/oosuite # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/oosuite/ChangeLog,v 1.5 2012/10/19 04:46:28 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/oosuite/ChangeLog,v 1.6 2012/11/01 19:30:56 bicatali Exp $ + +*oosuite-0.42 (01 Nov 2012) + + 01 Nov 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +oosuite-0.42.ebuild: + Version bump 19 Oct 2012; Patrick Lauer <patrick@gentoo.org> oosuite-0.38.ebuild, oosuite-0.39.ebuild: diff --git a/dev-python/oosuite/Manifest b/dev-python/oosuite/Manifest index 39848567e618..16ec1a6d088e 100644 --- a/dev-python/oosuite/Manifest +++ b/dev-python/oosuite/Manifest @@ -1,6 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST OOSuite-0.38.zip 503698 SHA256 faf93377d18f853435ee4fbddc47005e191b439c48d304a52ce713bc412512ae SHA512 00688044cc2de9c4acc968795bf74d5bb02faa79f1252c39827ba3197fefc3168eb9c5cda5691a74d3d8ea42b48c3eedfbfaf7e912a8b277d23a6dae30ece090 WHIRLPOOL 508a90c45d4cd2d5bfe3ddaf30d207ca2f69c6440b2647d560506d54995f8b0b46f87acf044e44b6c6496ed595e96111c7444fd1ffd99b26a57489b176ea9cbc DIST OOSuite-0.39.zip 526483 SHA256 eccf83ef0dcd6b5bc784fa858b09688239cd7a87ceec2e476284853667274482 SHA512 d47bbab643daa265a1098123c77c1357132bf084d30679112ea2cc6d9b3cc5013d7dad6056d4eb38206adad9143e9707564d3590a78ba9462a11fe7cd72c88fe WHIRLPOOL 2e5ea3cb91c19145eafb5867f59f62d5f64c7f080c659d1996b1c40e388321ff9780aa9f8f9a957dbdffb15f5605e0a5bfc62b630f5590a2ebbd3a105236ae39 +DIST OOSuite-0.42.zip 510613 SHA256 b70cf83cd9839028263bc96bbb54b5f3eacfe097f916d59562ce5e7a98f33e7d SHA512 4f71d7f5db5ea9e8d222f4f26242c645af1621a5f2ecbd49202bccc79acf555fd9eb399aae82bf6e56ea589fc21803a81389862723045cb135fd2606949e6ab2 WHIRLPOOL 261facfb9e1a6b616c4b3c7b31a82478d90655ccefde2548ae9c8d7c57dd92a2048b7c0a7e8790165bfe3c29c0b234744a82bdf6e13c4ed1ab98ffe5748523f8 EBUILD oosuite-0.38.ebuild 2220 SHA256 967f5830422b61c6e7613725e4969f8c080ee5e698b97fb71f94e0fb4e7b7056 SHA512 718367097b81ea11b18c3206caf0d8e6b1ac9faa71cee2c9d15466e8f6164eccf9cf552d1f51e2f0319c21d4cdc631d65894011e4372859a4adb92c41b0359e6 WHIRLPOOL 7d388c3343987a4bfb19e8afb2d917e2c64530074b6e37c610915c44381d0a0e94b17861813732624a62176e2e0b12bc176d78ba982be8974737a45c857bca23 EBUILD oosuite-0.39.ebuild 2191 SHA256 94f5abb9189e567acd0da66e1f38cd71c0ca3858a341f5b8746c6dca45e14630 SHA512 186e987335d9e99eb9f48d65cb6af293f8ac260804fe1c5e0e337143e06a2ff14d95b242ff99f3290e851b6269647fcf9ae49b10a3be729422a9730a7b7d2fe0 WHIRLPOOL b344b2229c69526dd88c0ca582bd4ad83c1273b26bef3426c62dcff23da360bcdf2988781dae42c25802186adbd65253e08a1f9df6f6d07e19d04cbdbefe4fe7 -MISC ChangeLog 972 SHA256 d29caf7bcb93a858200c17629dd7295142a0ca8edd255bd78ccb3140ac87e8ce SHA512 b1113c484e79d168b753839181e924a9d37a3ff766628e00cdf3b0673a706590b3cae4a58f20f0f1c057a00bc65410ec64ba23839ae8abdda784037d32eb7b64 WHIRLPOOL 2e256c6fcf1b4701867c22d45aa37cb1c82084699236120b477fa0e90ba9288340b8f81e0976fd5f56c0297e20678ac57b2e203578819f7a1077408a2541eb66 +EBUILD oosuite-0.42.ebuild 2192 SHA256 41ca50d7e858252a372c2c35b474ab441e14ddf8a74f8c304a0c5f3a8c562a30 SHA512 7ece881f2b42f17e26dc1661f444aa673017a2940fab064d1bfdec649bd3b1e0ac26f3016d003ba40657595f19622ea983d5654da5ca5371c167f450b00e27dc WHIRLPOOL 65a2eb74673d054210fbb694eae85c6550e7e491cf7cc4a0ebaf28b498c40c1e8e6ac15111c5eee7599a1f038b4bec4145a67a2f425605c3d2e492e9afbfbbd1 +MISC ChangeLog 1095 SHA256 e8d74f588fa60f77cb61f4a37dd3b7ab7d9c795a40843152c9a589b9317b7cad SHA512 d8f9d33598695f3e85266e2413d223788a0daed7856775b23faf76236162787fb1b1ede7e4e144a5538d56f3fb972b63ba181fcb211a18cf9ec566e861ed71fc WHIRLPOOL 89c8987739fa77f3f4b670d6a89cfd7645098fb19302d358228256f25cb9c422d3642d227c4f96c98597de74782de2bb9cf1784d03fcd8f257cb34e6e4fe0405 MISC metadata.xml 1170 SHA256 c1dc724ec82b665527c6857d834e378dd4f0435a75aee702d97bba45a3e61f11 SHA512 17ecfae83e0bd517aecb14c2106cc9ec6674ff615f45d56b3c36e947ff07bfda7de36c418427a30fe16aab56f035c09b042dddc3ba146e833277f042939e0c92 WHIRLPOOL 10d411a659dcb69c4632c6f93847dbc510e09e46b41d06941617fc23c40331e7dfeb8d0ddbcef438d74916492f014b7fc1f387807942a623ac8d5774185e299b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlCSzgIACgkQ1ycZbhPLE2CY6wCgi8o2LIuziAuSAeKjrOuxKyB7 +SbgAnjvfGnWRKgqDPE6h24ORVbNCnS9w +=N3oB +-----END PGP SIGNATURE----- diff --git a/dev-python/oosuite/oosuite-0.42.ebuild b/dev-python/oosuite/oosuite-0.42.ebuild new file mode 100644 index 000000000000..06c91f7139df --- /dev/null +++ b/dev-python/oosuite/oosuite-0.42.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/oosuite/oosuite-0.42.ebuild,v 1.1 2012/11/01 19:30:56 bicatali Exp $ + +EAPI=4 + +# python eclass cruft +SUPPORT_PYTHON_ABIS="1" +PYTHON_USE_WITH="tk?" +RESTRICT_PYTHON_ABIS="2.4 2.7-pypy-* *-jython 3.3" + +inherit distutils 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 + !minimal? ( + dev-python/cvxopt[glpk] + dev-python/lp_solve + dev-python/matplotlib + dev-python/setproctitle + sci-libs/nlopt[python] + sci-libs/scipy )" +DEPEND="app-arch/unzip + dev-python/numpy + dev-python/setuptools" + +S="${WORKDIR}/PythonPackages" + +src_prepare() { + OO_DIRS="DerApproximator FuncDesigner OpenOpt SpaceFuncs" + find . -name "*COPYING*" -delete + # 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}" + for e in $(find ${d} -type d -name examples -or -name tests -or -name doc); do + mv ${e} "${WORKDIR}/examples/${d}/" || die + done + done +} + +src_compile() { + local d + for d in ${OO_DIRS}; do + pushd ${d} > /dev/null + distutils_src_compile + popd > /dev/null + done +} + +src_test() { + testing() { + local d t oldpath=${PYTHONPATH} + for d in ${OO_DIRS}; do + PYTHONPATH="${S}/${d}/build-${PYTHON_ABI}/lib:${PYTHONPATH}" + done + export PYTHONPATH + cd "${WORKDIR}"/examples + for t in \ + DerApproximator/tests/t_check.py \ + FuncDesigner/examples/sle1.py \ + OpenOpt/examples/nlp_1.py \ + SpaceFuncs/examples/triangle.py + do + "$(PYTHON)" ${t} + done + export PYTHONPATH=${oldpath} + } + python_execute_function testing +} + +src_install() { + local d + for d in ${OO_DIRS}; do + pushd ${d} > /dev/null + distutils_src_install + popd > /dev/null + done + if use examples; then + insinto /usr/share/doc/${PF} + doins -r "${WORKDIR}"/examples + fi +} |