summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-07-20 19:58:31 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-07-20 19:58:31 +0000
commit23a30f90fa539442661797e990a865f1638e0531 (patch)
tree0039a3bfd3f27777174ad0e357284a5a79334220 /sci-libs
parentVersion bump. Adds python and guile bindings as well as algorithms. Switched ... (diff)
downloadhistorical-23a30f90fa539442661797e990a865f1638e0531.tar.gz
historical-23a30f90fa539442661797e990a865f1638e0531.tar.bz2
historical-23a30f90fa539442661797e990a865f1638e0531.zip
Added calls to python_mod_optimize
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/nlopt/Manifest8
-rw-r--r--sci-libs/nlopt/nlopt-2.2.ebuild10
2 files changed, 13 insertions, 5 deletions
diff --git a/sci-libs/nlopt/Manifest b/sci-libs/nlopt/Manifest
index 4f0c5162dff1..a0195b622396 100644
--- a/sci-libs/nlopt/Manifest
+++ b/sci-libs/nlopt/Manifest
@@ -4,13 +4,13 @@ Hash: SHA1
DIST nlopt-1.2.tar.gz 2143629 RMD160 1e8373cf4630c10f4c0a23b5d0f91e6e1d545ab2 SHA1 8cf141172b88f53365c3cac7ff0c1a753555b36a SHA256 5e5143abcb5334d1c67a41794a554a9105117c42c13832abf6c21c88e7351944
DIST nlopt-2.2.tar.gz 2306197 RMD160 4442db99416926cdc3641157bb017a5f487f00a2 SHA1 6681d63b1c53feeb1c90d2c45f38184cfc55528c SHA256 e04ad51d287fdb7e5546d660ce6bf811aa7d00a23b1a2d3559dab00bcba09e58
EBUILD nlopt-1.2.ebuild 958 RMD160 a4be9b64bb1d93fc1fba7111962e83ced9bc4e1d SHA1 b3644f5f04d594b9e66fa196a70b6e5a3293bea3 SHA256 8e55e0930e792f72aa3fb84822bab2061c1ef0fc029f1ae2f74071b1082f1647
-EBUILD nlopt-2.2.ebuild 2034 RMD160 167e94091fbca42aa4077abacadd6cd4fed6174f SHA1 34609a69ae5aa72513b819e34df46fb6818c9dfa SHA256 6fea8451cd4ea462948acb37dc5a6c01357d87129b2014782871d2421e579c7d
+EBUILD nlopt-2.2.ebuild 2159 RMD160 1bb4db651ce043c603a17dcfe3337383f4ef27d0 SHA1 6cea7a479714766d21ecb23469c53d064383d434 SHA256 9d9db496f287c311d55381a944fe0f8a3135e9349eff3d38b844d5dafe3b2abc
MISC ChangeLog 957 RMD160 1948c026ae1840102c670f1a584b0fca5af96e61 SHA1 ba6f681fb5c58d61541a69c6b074631c6b5a50fd SHA256 b05e17c78422b83c07243806c0194cd47ad33c5e032f8e30496d1bbb743f551a
MISC metadata.xml 989 RMD160 6f55880019b7536e9d06ec148a89b1a78549739c SHA1 cf38e876466795bf3f1a346109735250deb110ce SHA256 bb292895a0e7ea7abba5a9588b702755fcd85918ea1c58b8ad71f9d4ddde52cc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkxF/H8ACgkQ1ycZbhPLE2AR6ACdHpw3OjPLXvRcWu99am1PBcDD
-lQUAn05d7EqohHq8+R4rbA1q8aLYxbA1
-=6Op6
+iEYEARECAAYFAkxF//EACgkQ1ycZbhPLE2DxBACgs3c6+pjlQO4/A0O7dwj2e0aj
+VgAAoK2RgXX4MAIQS7+s7PbZydWvjujZ
+=5hUR
-----END PGP SIGNATURE-----
diff --git a/sci-libs/nlopt/nlopt-2.2.ebuild b/sci-libs/nlopt/nlopt-2.2.ebuild
index 03523f5d796e..9e30bd7e6f6c 100644
--- a/sci-libs/nlopt/nlopt-2.2.ebuild
+++ b/sci-libs/nlopt/nlopt-2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/nlopt/nlopt-2.2.ebuild,v 1.1 2010/07/20 19:43:50 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/nlopt/nlopt-2.2.ebuild,v 1.2 2010/07/20 19:58:31 bicatali Exp $
EAPI=3
SUPPORT_PYTHON_ABIS="1"
@@ -81,3 +81,11 @@ src_install() {
dodoc AUTHORS ChangeLog NEWS README
for r in */README; do newdoc ${r} README.$(dirname ${r}); done
}
+
+pkg_postinst() {
+ use python && python_mod_optimize ${PN}.py
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup ${PN}.py
+}