diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-11-26 09:28:45 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-11-26 09:28:45 +0000 |
commit | ff7dc11ecd2f32f35699cbeb0c84615fa4d15398 (patch) | |
tree | 1e07803c07821992f80253a01096728555e0f6cf /dev-util/nvidia-cuda-toolkit | |
parent | nova-2013.2; delete white space & fix, revbump; add IUSE test, test deps, tes... (diff) | |
download | historical-ff7dc11ecd2f32f35699cbeb0c84615fa4d15398.tar.gz historical-ff7dc11ecd2f32f35699cbeb0c84615fa4d15398.tar.bz2 historical-ff7dc11ecd2f32f35699cbeb0c84615fa4d15398.zip |
dev-util/nvidia-cuda-toolkit: Use MERGE_TYPE wrap for postinst check, thanks lxnay pointing this out
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'dev-util/nvidia-cuda-toolkit')
8 files changed, 76 insertions, 34 deletions
diff --git a/dev-util/nvidia-cuda-toolkit/ChangeLog b/dev-util/nvidia-cuda-toolkit/ChangeLog index 7fc8f3912cac..368271a41376 100644 --- a/dev-util/nvidia-cuda-toolkit/ChangeLog +++ b/dev-util/nvidia-cuda-toolkit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/nvidia-cuda-toolkit # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.74 2013/09/19 14:16:41 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.75 2013/11/26 09:28:44 jlec Exp $ + + 26 Nov 2013; Justin Lecher <jlec@gentoo.org> + nvidia-cuda-toolkit-4.2.9-r2.ebuild, nvidia-cuda-toolkit-4.2.9-r3.ebuild, + nvidia-cuda-toolkit-5.0.35-r2.ebuild, nvidia-cuda-toolkit-5.0.35-r3.ebuild, + nvidia-cuda-toolkit-5.0.35-r4.ebuild, nvidia-cuda-toolkit-5.5.22.ebuild: + Use MERGE_TYPE wrap for postinst check, thanks lxnay pointing this out 19 Sep 2013; Justin Lecher <jlec@gentoo.org> nvidia-cuda-toolkit-5.5.22.ebuild: diff --git a/dev-util/nvidia-cuda-toolkit/Manifest b/dev-util/nvidia-cuda-toolkit/Manifest index 04037e97986d..7e757be0fdef 100644 --- a/dev-util/nvidia-cuda-toolkit/Manifest +++ b/dev-util/nvidia-cuda-toolkit/Manifest @@ -8,28 +8,28 @@ DIST cuda_5.5.22_linux_32.run 686412076 SHA256 0e7aad303807bb0ede8f6f6e825cfcd0f DIST cuda_5.5.22_linux_64.run 849417929 SHA256 b997e1dbe95704e0e806e0cedc5fd370a385351fef565c7bae0917baf3a29aa4 SHA512 25233b34a35fdb5ee3479a87c89484a00dcd760837436c263c3eb8731cbd24a9ed3fb57ce2d4e5bf7cd31abb9b0d990b45720a5f6a376b2488de4506a7c57c20 WHIRLPOOL 550594121a53feae4e74a4dc9ba40c4cd2ac91305f23397cd7ea421fcb801e3ce8fcf90f439c966accca44d586bc51d85ef3e211f35fd751dc9299dd07d65175 DIST cudatoolkit_4.2.9_linux_32_ubuntu11.04.run 209998124 SHA256 0c91d51e49c7cabc13fafa75cbf547c6902557cb5c3e19b4cf3c83c26172a03f SHA512 f1ca065e9cbe6273f165388d3579e28868c7b1330b341cabab9fdd6695fd3450dd8c77978a5aa3063617b371c68c37661b4f2d8fcbc4e585bb508254bef064ef WHIRLPOOL 9cbb668a1fba9748c0a42ce9a93ba0e7ff592c48155b0d87c22999f90aea29fc02120febcf4b07b8bd1ded96ca057ca0450261ea30ffdf5076e0991b10474a18 DIST cudatoolkit_4.2.9_linux_64_ubuntu11.04.run 282394341 SHA256 22d857db6b3831670bc2ca7ed22ac257b6946f68f6e4b6f534ec98b69690ad38 SHA512 3a54c278f486cbc92a7e262f39183c7babca8ab6d04c5f85ff875d3b2bcdd699631049be375fde2a3ba2746bd5ea04ba0149616e245556257c470632b91b4b1c WHIRLPOOL eac55ac70ac986772b4cbd1b76940b41eaca20276ac68e59ccfb5a09eb41de7c023d78dc85392ebfb9e5d36ee7f29e31e0173aeca0b89a510e7c89c087b72f1f -EBUILD nvidia-cuda-toolkit-4.2.9-r2.ebuild 3096 SHA256 0d3a9b6225b8cc6d6889b30a3d54266aa01942582099298202f483dfc4893486 SHA512 ad9779f5e870ae1500924a41e29bfbe09912b82a3a18741658c615593d2620dbe6f3c99e7a906e9869fc0fdfafbf0c583116523fa1d81e34cb42bf02bd9762f7 WHIRLPOOL 6fcc086cf7b7faff95a9104ee1d11c29e32497deb2f939487b3edcf9b9343efc2b5f96dbeda309f76cb5ef8d95c435cf80f70ec7e36bc0461648be765e89742a -EBUILD nvidia-cuda-toolkit-4.2.9-r3.ebuild 3104 SHA256 212ff812a78f97a5aff99b20d76cccb98a8f67ba3de7e9d8ff7f672fffa3b1b0 SHA512 d026bf98e55d9c54f915bb88fae79d8e51d83da9cfd7222122e24180f4eeb926380ce6db0ae951b7f3e3f869ca680a0875a4ac622a09f7d706d18c128a7358db WHIRLPOOL 7c36ee4aaa411d6dec0cc85808b1724e820e666a2a3fb4ceecefdd81cd79c946fd754cfe38644bd70a3b0a340cc6e29de11c1df6e87414b91c7bcb07dd180608 -EBUILD nvidia-cuda-toolkit-5.0.35-r2.ebuild 3143 SHA256 1f1329088db9919cb046d5a966442a649ded763e4f66a7553be616879f20a3ed SHA512 cae1aa21f52f20cb9e6ccf28c829636f6d8a4b72f3c78e9beafcbd1a4d82545a9726ef50d57ca824e749f0af9990a8552ef1c8cf61c554393d1a2ee0be1b7604 WHIRLPOOL ca8be444b6741f82c693ce4bd70ef1556f1cd183a0bb9898512c4b8e26307626276aa37f1300b9f02a54f1e1aa49499e5a66426b55640063b843f28d874900e4 -EBUILD nvidia-cuda-toolkit-5.0.35-r3.ebuild 3348 SHA256 f2dd80668a90a3345d8b68fd7c67ef512bcd89c1f661e959059565a697e754f5 SHA512 ea4e0e257c31a468f1bcb9c1d633b0c11305f890f962b5d3b2ce68065cebb6a64b023a6b2b811cbb5c51874f763eb4671f967e033dd4fe79392011961d9d4cb3 WHIRLPOOL e845074617fac22abc093ab80b2d49e5ba8b9e9ed3c665289d0166981566738a2f091d01a5a802bc0d85eb7256d01825fc026a078b16cf3fbfc936ffb1b66563 -EBUILD nvidia-cuda-toolkit-5.0.35-r4.ebuild 3354 SHA256 d5c5291a13f4855144ffd25352257707968ee34dfaa7aaf9baee9217ea3dbb3e SHA512 d378e99935ff3c21dbabf50fdaadca698ea60452de151f9ff068c8d796660a296acdc96bc9197a0321c1ca9387c3bc923f32de7d1070eac366bc84801950d80e WHIRLPOOL 70eee7faf270810c214219cbe2f8b180adb4bad67e0f786c5a87c29b0dce377e5e412d84445660e61d4802069f002e4edd63e6215a0fa1dc0ee4f3e1b6978eb9 -EBUILD nvidia-cuda-toolkit-5.5.22.ebuild 3364 SHA256 97b508df170b0f5c1c4852b88443902bf56806e3bfb182b49df89806af16d252 SHA512 73301ea37fa973ac0e052204b5619b5568f5fbfff53fb7da898719c5e5f648701e2cad23f4339f66e153c28e028732a6016837d7bb2072c2728689f8b88ccf31 WHIRLPOOL 4f7704d23b754e75f302c4cb69b5248d51fe725d564591a0cacc6f240f96f860b8b80a8fa3d96dc32e6d2097e9689f93c6c654d28d6201743b5a28e4e8f4b18d -MISC ChangeLog 14415 SHA256 99be5b73409db75be8c9c34a46144220995b35d8e335f5d5e39bb77b0b174631 SHA512 ea4ada6d5c8080bd4822fd4b9c8ac30797040e4c9b4c2c43da3e0dbb63ed01fd1678842ad3beb12229ab7c54eb1a6f158794bfe181a8fe0ffcfe5344931e1a97 WHIRLPOOL 1a09e463840ddfd9d5bf7bc0a38a157a2faf18cd6da361c2a4c8999f2f59bf82929280743869c694af574359a0472d6af3b53e7d0e4e97a91b04ed20acef6f5c +EBUILD nvidia-cuda-toolkit-4.2.9-r2.ebuild 3187 SHA256 61938e090be590b47484c8be060c5c952a742c58f3762d423f5a513b72ae700c SHA512 247ea2cbf37814d1c7846058f1d36ab7b324911a3c2e419e86e72a802090e043601bdff4ec605c530d261c62fd3deb6912964e3045243b91e3ececfb0166e12d WHIRLPOOL 061c44843eb893fea46cd60b84d402679a14ea1ad14fcf7a4b962bfaec475c1f18e487537847def33481682b764c9be81f2396da521fe4c3b55cde38c878b9ac +EBUILD nvidia-cuda-toolkit-4.2.9-r3.ebuild 3195 SHA256 8ac4bb608f949dbf2a3eaf569b1444bfdd5db217ed394a8ba2639ed85bf62162 SHA512 5d8302d6329d4b0c01b2201adbfc31c7d83bdc2385b1b6b2a66ddb284da602aebd64fc12d3a3b10e47bc671bd75145c033c423ecce470722cf19fa3ee68dc624 WHIRLPOOL a2adf7de9d765e7442773e3df3894109cbad764c3f8b68a6c18727f69b903869fa88071694196b1f38d150a989f465e87f5708c0d01d941315ac84c3b66ff041 +EBUILD nvidia-cuda-toolkit-5.0.35-r2.ebuild 3234 SHA256 0e0ab3170ea1d0c026947d22a4d256b05ed1a7c846cf1aa0dddee5677d060295 SHA512 df1f4581bdceb8e6ddb2dfb4a327069cce0c56da13f31173e1462d1f1c408035da612056f87704ec673cb988599677db95105f28bb287b24a1f306b06c1ed1ee WHIRLPOOL 8d3b6ad3ce2bf359047cf06a416496cd89868b4769e67d344158fbec95f9bd71969ee6e2ba7202d120fc4350d9db8943c75bfbdeacd51adaf495635665cdf04b +EBUILD nvidia-cuda-toolkit-5.0.35-r3.ebuild 3439 SHA256 f55b65a28422ce1ffbddce4ec24cba53ddf7151126e44af193bbd7549efb2c2a SHA512 493710109f16744fb4ac655e494bdb702e6c0fe80886e9fe3d2c1d5327fc31793290792c4e5544f104d7a2d492623a6eb3338eb1e052abaecf5f9a6c78bb3ea0 WHIRLPOOL c98c20ae3eb41f98148850c4bc89d4a31dd441878e236a60e0b7cfba2007bca260b554957bf514d8f502aa3260b2dc5b0c2726526616812564ebc95f4f544ea9 +EBUILD nvidia-cuda-toolkit-5.0.35-r4.ebuild 3445 SHA256 a00afdf6fe6964f386918f0cd08c5a806844f29f8f01cbb019fec02a33a1ae7c SHA512 d88e43adcd5750e40958fee58d306f33d588b6d151dbf775b59b028c8728a16701a37324e98b4423be15f727312b5b3731fd8678e418d384ed7f5caa0efde901 WHIRLPOOL a1b6a546bebbb77eaaa9e7d88fc4a8490e21ada5413926a6c97a603f20321fbe8f4386d60f0f390782d8cd71d6d0d211b2aaedb267ce696e7ae3d553fd08bcee +EBUILD nvidia-cuda-toolkit-5.5.22.ebuild 3455 SHA256 41c6d57f7039618208642b3b88c57047eed77d71d54d4d802dc989288ab60a35 SHA512 969c675b77c7f7908246a42c96f9f99914b5ebe4ec936a4dad948bc1ded0c790581895c46721969b665339c6c46eb5cce9bb98b0ad7e256403a984291db202a9 WHIRLPOOL 45cdbe1b500ec23073da88bdb93293ac5aa0a4b1b0751fc2407e212ae0e16f4cb22f3e4167fa623c9e4397f78974cd8b17fec14c2aadbf18123e495e82a16d05 +MISC ChangeLog 14765 SHA256 d625f423f7a9350f861cc7dc8afabf0f4c2909403e72ab2b4b6a75d84f77d5bb SHA512 ca11df083baff10d3d22c6e45bc56050efc1868c5f79c884cc56fda520b8e5d50c34c39551428ca66405bb286fc49155f19adbece55562500fb0262ba784bf38 WHIRLPOOL cfc8640eb32343c816b8260909c8ef28bb3fda48b6646e8e2fa6f1b291eecafa7837a0c6902bb95c9b9f8a9cb8b884bd7ad75b397f8eba08915018b619319e6f MISC metadata.xml 506 SHA256 16d98da28f74ec82ae271f04e456547db8da2a9c576bf262ad897f4a3259fb56 SHA512 c1be2bc00a75ee9db0339938964d80214648df5a6cc16f3d1250f80d3142a1e511750dba34b54794227457db0d1a0f5ca4f692f34b9566ac3f58fef43196626e WHIRLPOOL 02f0c08cb4ab40b543e23c51ae81a7f04e452f3949808bd29a2790c565c2739d131d4d19fc3d4d279381a5ed05ad0623ba560aba82f7a3b510e44f8cf35c6473 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.21 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCgAGBQJSOwdAAAoJELnU8jG9FVire1wP/2Y61mqigLr0tO5/bhsYOD9Q -drwbCDW/xE8XmH3rlSgD4zrKdKDLq/csofBiKRYtjKdcH5FloOLYszrV5zgS3h/W -LcXCz7Fl5/J7mHL+nrmWl/0PhKpwtS7rR0nPIq7u13oDpPGBRZZ0vRc2VHKbJEv1 -f7U5goxEbyfCEDVMHXK/4eRWf3F9NuMbvd0ddRS2d5OUBjOf+1WHd/Oqu6Jfle1U -tWFWULbj/eIfn1on7NyU8IJy+in1+FlurK71wscg86jdb/PNeqvwIpH9eY7db6RI -di1kqsXWIk9N/q7WxGrJRAOrx8G9/l0mK1d3lIYGxE69T/JGKdAAESjbRXMb2Lak -LTgBkS1T3An66AU1vN0gKpGOe+JFfLbuqYWjIoN143sJQRW2EkcQTkMA8vqyxKxT -B8rXGnhwwST09rDjHxAqXJMvVftMopP105voH59u3HCKWPJEKXroRfwuDZXB1vL0 -CyRg4TprKhKSurKl/z/fzW30xBjj8yBwmq4ugWvve5eylc8r5kt9rxMAKqmzHiIq -0+zxuWVALBN8F13qbJv2PaztKVtBX4Ev/WA97Q2DzLB/WkCLFziEx6O/SPZhsqfJ -0d+G/qM5mT6nhkq/GTEOUlcAaZuU1rKohUfXvyB0dHbcemP3CR1E2uGFXD4WHSh0 -TQEdPab/MZ9ubE5E5BQy -=q7Lh +iQIcBAEBCgAGBQJSlGnNAAoJELnU8jG9FVir20EP/3bg4Ko41Qw8t6fC4kMv6s7b +/p+N0WP7Bgto2wpcvp4T3y4iiQyCL8q+UKbq2mdd0lpva10loEr/uQg0YcoIhrFZ +lZQDUCCkUDH4sMond67pZRKv3M8f+YZsXUjgMj2sj56II3KqYb1LyMDsXWy/t7QZ +KiA24Z4EYCrUgSEggH8Ff0HVypuHSxk63dEeALztgpf4exQ9jtNYZQ5K7/bfcSiK +dBmDlBgAfOl6HSAPuLTbaM/7VxTh84sr39DBTthrE7SOtQBOND1AG4+W5Yk+1Go8 +Bk+umEGv84c6HlQV936T6YPerhPtbrL6dXoiwJmSqCTsAYdCkZhlu+S3ve7GEQNw +DDyF/gRH5ypMal6SXMN65u94TCT3AHiR1UU+kvgzQ9qnOSclmZJTBs1lALUzD0vS +3SHXi6zgMy+E/Sxmqr827sWMq1ZOzPSZkR9KlIVRdDGNDc3D2Qv92wuMZ1LWEmmB +D/V6wx1868QwHS54h+xn86+8644SgBDWNj1aUrwjNCOaUMAzdjzmiXx7C4NoiwYp +reHea2XRyNs77Hbngls8jUakxd9M6SjMLpmNlhqTsGFhK2t+2S4H4F791X1OOGg6 +nf42FTFn2JrO8dPAycCwKH7X0NlJmSMjZRYZbCUc9BqP+KmW8znkdkZYvYXgc6kN +0rTryhfShYZUaxd2KytP +=wtfg -----END PGP SIGNATURE----- diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r2.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r2.ebuild index f1dea9b35d15..32c41859a979 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r2.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r2.ebuild,v 1.6 2013/08/11 12:16:42 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r2.ebuild,v 1.7 2013/11/26 09:28:44 jlec Exp $ EAPI=5 @@ -104,7 +104,7 @@ src_install() { dobin "${T}"/cuda-config } -pkg_postinst() { +pkg_postinst_check() { local a b a="$(version_sort $(cuda-config -s))"; a=( $a ) # greatest supported version @@ -122,3 +122,9 @@ pkg_postinst() { echo fi } + +pkg_postinst() { + if [[ ${MERGE_TYPE} != binary ]]; then + pkg_postinst_check + fi +} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r3.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r3.ebuild index 3871d1692d2f..a0d6ebd05d1a 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r3.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r3.ebuild,v 1.2 2013/08/11 12:16:42 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r3.ebuild,v 1.3 2013/11/26 09:28:44 jlec Exp $ EAPI=5 @@ -104,7 +104,7 @@ src_install() { dobin "${T}"/cuda-config } -pkg_postinst() { +pkg_postinst_check() { local a b a="$(version_sort $(cuda-config -s))"; a=( $a ) # greatest supported version @@ -122,3 +122,9 @@ pkg_postinst() { echo fi } + +pkg_postinst() { + if [[ ${MERGE_TYPE} != binary ]]; then + pkg_postinst_check + fi +} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r2.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r2.ebuild index 8ace64d6e14d..1b98c3e7abce 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r2.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r2.ebuild,v 1.5 2013/08/11 12:16:42 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r2.ebuild,v 1.6 2013/11/26 09:28:44 jlec Exp $ EAPI=5 @@ -110,7 +110,7 @@ src_install() { dobin "${T}"/cuda-config } -pkg_postinst() { +pkg_postinst_check() { local a b a="$(version_sort $(cuda-config -s))"; a=( $a ) # greatest supported version @@ -128,3 +128,9 @@ pkg_postinst() { echo fi } + +pkg_postinst() { + if [[ ${MERGE_TYPE} != binary ]]; then + pkg_postinst_check + fi +} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r3.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r3.ebuild index 585dc90709d1..3619f88f408f 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r3.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r3.ebuild,v 1.3 2013/08/11 12:16:42 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r3.ebuild,v 1.4 2013/11/26 09:28:44 jlec Exp $ EAPI=5 @@ -114,7 +114,7 @@ src_install() { dobin "${T}"/cuda-config } -pkg_postinst() { +pkg_postinst_check() { local a b a="$(version_sort $(cuda-config -s))"; a=( $a ) # greatest supported version @@ -132,3 +132,9 @@ pkg_postinst() { echo fi } + +pkg_postinst() { + if [[ ${MERGE_TYPE} != binary ]]; then + pkg_postinst_check + fi +} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r4.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r4.ebuild index a1a4d8f5c2c8..33a3ca802f28 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r4.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r4.ebuild,v 1.2 2013/08/11 12:16:42 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.0.35-r4.ebuild,v 1.3 2013/11/26 09:28:44 jlec Exp $ EAPI=5 @@ -114,7 +114,7 @@ src_install() { dobin "${T}"/cuda-config } -pkg_postinst() { +pkg_postinst_check() { local a b a="$(version_sort $(cuda-config -s))"; a=( $a ) # greatest supported version @@ -132,3 +132,9 @@ pkg_postinst() { echo fi } + +pkg_postinst() { + if [[ ${MERGE_TYPE} != binary ]]; then + pkg_postinst_check + fi +} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.5.22.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.5.22.ebuild index a03d27d06028..8ff20601646d 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.5.22.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.5.22.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.5.22.ebuild,v 1.5 2013/09/19 14:16:41 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-5.5.22.ebuild,v 1.6 2013/11/26 09:28:44 jlec Exp $ EAPI=5 @@ -114,7 +114,7 @@ src_install() { dobin "${T}"/cuda-config } -pkg_postinst() { +pkg_postinst_check() { local a b a="$(version_sort $(cuda-config -s))"; a=( $a ) # greatest supported version @@ -132,3 +132,9 @@ pkg_postinst() { echo fi } + +pkg_postinst() { + if [[ ${MERGE_TYPE} != binary ]]; then + pkg_postinst_check + fi +} |