diff options
author | Johan Bergström (jbergstroem) <bugs@bergstroem.nu> | 2010-07-20 19:57:11 +0000 |
---|---|---|
committer | Johan Bergström (jbergstroem) <bugs@bergstroem.nu> | 2010-07-20 19:57:11 +0000 |
commit | 7d4c289012510669b082afb95fa7bb07031c7f02 (patch) | |
tree | ece1a9aa798b756c48b00a11008a26b7f6c0bb33 /dev-python | |
parent | net-news/canto: Fixed PYTHON_NEED deprecation warnings for both ebuilds. (diff) | |
download | sunrise-7d4c289012510669b082afb95fa7bb07031c7f02.tar.gz sunrise-7d4c289012510669b082afb95fa7bb07031c7f02.tar.bz2 sunrise-7d4c289012510669b082afb95fa7bb07031c7f02.zip |
dev-python/openopt: Version bump, don't install examples/docs into site-packages, adapt to new python ebuild syntax and add optional examples use-flag
svn path=/sunrise/; revision=11034
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/openopt/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/openopt/Manifest | 6 | ||||
-rw-r--r-- | dev-python/openopt/openopt-0.25.ebuild | 27 | ||||
-rw-r--r-- | dev-python/openopt/openopt-0.29.ebuild | 41 |
4 files changed, 50 insertions, 31 deletions
diff --git a/dev-python/openopt/ChangeLog b/dev-python/openopt/ChangeLog index b628c6b7e..ba34b061d 100644 --- a/dev-python/openopt/ChangeLog +++ b/dev-python/openopt/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for dev-python/openopt -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 20 Jul 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> + -openopt-0.25.ebuild, +openopt-0.29.ebuild: + Version bump, don't install examples/docs into site-packages, adapt to new + python ebuild syntax and add optional examples use-flag + 20 Oct 2009; Jean-Francis Roy (jeanfrancis) <jeanfrancisroy@gmail.com> +openopt-0.25.ebuild, +metadata.xml: New Ebuild for bug 289363 thanks for jlec, chiiph and Tommy[D] diff --git a/dev-python/openopt/Manifest b/dev-python/openopt/Manifest index 12a0dc87a..29339e324 100644 --- a/dev-python/openopt/Manifest +++ b/dev-python/openopt/Manifest @@ -1,4 +1,4 @@ -DIST OpenOpt0.25.zip 252231 RMD160 6efbaf07ddb5aa4d3003c37d80bcb4944d9f1f2e SHA1 e37b0ea28cdefa9b3962d2d6a9deef4898f3cb34 SHA256 4ff62906613f273675c71fb53fea1f850991887009b9255c2e3d56d486f8b79e -EBUILD openopt-0.25.ebuild 562 RMD160 45c6d61eaebe1593e52fb3c673364eda083562df SHA1 a2d77797e032b8d69232820a407ff95583fde83a SHA256 9a8b14021745c35a1dd077d3fe7ce6708a9a9c1f69b65efd9b4f63bfd5cecef3 -MISC ChangeLog 297 RMD160 58232c0f17c9593aa7ea411d03c93484b1751a4d SHA1 9c6f9a0e31b4a05303b43a7763023d79fd10b5b4 SHA256 e75719503a5b74b7668f059152667257e670663c2d1270328198b551b90cf9b5 +DIST OpenOpt.zip 283390 RMD160 c7e23f95fdfd4af7c5df960e23641fc1d6a784ba SHA1 f60213b5c01e133b3c06a9698b34484fe1948f2e SHA256 d131c55894b3071b6f679ddb499fc6d2b5b844548878ae6ab2bde2ef96a87978 +EBUILD openopt-0.29.ebuild 838 RMD160 5d4226612f8ded2bb9ee1842741631262e37538f SHA1 08aaa105c416b50da228224a12cbbf6b783bab89 SHA256 8baf5f5ac3fb560726bf9f1005a6c00e45474050eb11c1513e55ba3661610891 +MISC ChangeLog 546 RMD160 33a7065d76cf895db915176136b0f8c748538e23 SHA1 f1542438ccb3a7e968ffa16dbd93e6c22c7c7935 SHA256 dc25289e5e9c2147a00f12399c6e5f3e177d4bc1d645daec80f8394acb6848aa MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f diff --git a/dev-python/openopt/openopt-0.25.ebuild b/dev-python/openopt/openopt-0.25.ebuild deleted file mode 100644 index 680130ad2..000000000 --- a/dev-python/openopt/openopt-0.25.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -NEED_PYTHON="2.5" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.4 3.*" -PYTHON_MODNAME="openopt" - -inherit distutils - -MY_PN="OpenOpt" -MY_P=${MY_PN}${PV} - -DESCRIPTION="A python module for numerical optimization" -HOMEPAGE="http://openopt.org" -SRC_URI="ftp://ftp.linux.kiev.ua/pub/projects/${PN}/download/${MY_P}.zip" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND="app-arch/unzip" -RDEPEND="dev-python/numpy" - -S=${WORKDIR}/${MY_PN}/ diff --git a/dev-python/openopt/openopt-0.29.ebuild b/dev-python/openopt/openopt-0.29.ebuild new file mode 100644 index 000000000..e59a52929 --- /dev/null +++ b/dev-python/openopt/openopt-0.29.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +PYTHON_DEPEND="2:2.5" +SUPPORT_PYTHON_ABIS="1" +PYTHON_MODNAME="openopt" + +inherit distutils + +MY_PN="OpenOpt" + +DESCRIPTION="A python module for numerical optimization" +HOMEPAGE="http://openopt.org" +SRC_URI="http://openopt.org/images/3/33/${MY_PN}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND="dev-python/numpy" +DEPEND="${RDEPEND} + dev-python/setuptools" +RESTRICT_PYTHON_ABIS="2.4 3.*" + +S=${WORKDIR}/${MY_PN} + +src_prepare() { + sed -i -e 's/find_packages()/find_packages(exclude=["openopt.examples", "openopt.tests"])/' setup.py || die +} + +src_install() { + distutils_src_install + + if use examples; then + insinto /usr/share/${PF}/examples + doins -r openopt/examples/* || die + fi +} |