Migrate to the bash-completion-r1 eclass
authorChristoph Junghans <ottxor@gentoo.org>
Sat, 10 Sep 2011 14:47:53 +0000 (14:47 +0000)
committerChristoph Junghans <ottxor@gentoo.org>
Sat, 10 Sep 2011 14:47:53 +0000 (14:47 +0000)
Package-Manager: portage-2.1.10.11/cvs/Linux i686

sci-chemistry/gromacs/ChangeLog
sci-chemistry/gromacs/Manifest
sci-chemistry/gromacs/gromacs-4.5.4-r1.ebuild
sci-chemistry/gromacs/gromacs-4.5.4-r2.ebuild

index 4b67a3f80778a06cb76930a0ab619237509a8713..922905ec9125b3fce8e3bb08978ab073a4cc3994 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for sci-chemistry/gromacs
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/ChangeLog,v 1.93 2011/07/18 18:20:14 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/ChangeLog,v 1.94 2011/09/10 14:47:53 ottxor Exp $
+
+  10 Sep 2011; Christoph Junghans <ottxor@gentoo.org> gromacs-4.5.4-r1.ebuild,
+  gromacs-4.5.4-r2.ebuild:
+  Migrate to the bash-completion-r1 eclass
 
   18 Jul 2011; Christoph Junghans <ottxor@gentoo.org> gromacs-4.5.4-r2.ebuild:
   fix for external blas/lapack (bug #373559)
index 1eddbca3d6ff8d3fa3c3070953d381627ac347d2..d932e98a0b8ec03188aedb99aee5298f02515864 100644 (file)
@@ -6,18 +6,18 @@ DIST 0002-Make-stack-non-executable-for-ATT-assembly.patch.gz 3868244 RMD160 1b9
 DIST gmxtest-4.0.4.tgz 14845017 RMD160 c7c583415438bdef4c9996da9064254e9460cf16 SHA1 998179aa2bfbc4f80514f10ed774762f85c854c3 SHA256 6a7f787f4bb7cbecb688115ff0854a5ffd2ef33487d7bce4b031e63848b6f361
 DIST gromacs-4.5.4.tar.gz 10353984 RMD160 96065d1a173231f75869764a08eb4feccc1ec597 SHA1 c7b3fbd2f3ddf915bc082e7effe76a8276563726 SHA256 301cc3d790f5036e230e02b1fb03c9b92e0db13df7ac6dbffb2a2fb03d7a1d1c
 DIST gromacs-manual-4.5.4.pdf 2463242 RMD160 309a1d9bc5f4821076d53f668c36f1c6bfc1714f SHA1 58c0261308212af29fa0c4f4a6d1b81da6d84766 SHA256 dc14504a7072b61e7aa576c48f04df03356824f3a9d9e744dfaf51529ab46252
-EBUILD gromacs-4.5.4-r1.ebuild 8146 RMD160 b670e00b237348ae063df3b50eb44a135a769ff4 SHA1 414aeb5ad9828903d731d33e2f7374b2827ed71b SHA256 f05aa8c3cda0df1c9fa438eb7d822272e5f1531e83bebbc8753b37eb0137e6d0
-EBUILD gromacs-4.5.4-r2.ebuild 7771 RMD160 05031bb4dc559826005cfd8989304d05fbf18bf4 SHA1 549d7dbaaafe2c2d0986c0c01b35bc9e99b1714b SHA256 1c736fab46c3fb77c81bd8ef0dd0e9cb0ef59302826957ee400c1e6952d69022
-MISC ChangeLog 16395 RMD160 8c31d39a8bd4a84db41c6147eb02d30acc6c31c1 SHA1 0346072742eb4a37552d45ed3171116a519db230 SHA256 741704da8a53a31960c012d70547283841f8e470c87c87579020df4fb9e6d1a5
+EBUILD gromacs-4.5.4-r1.ebuild 8120 RMD160 111791f7aff880a5622e622e41cd7a10efeb3a89 SHA1 84e6a5e0a57a8eabace6a35b7ce271f355721d37 SHA256 a26cacd6a0b51ea14ddfe10758afda7719f194c5562b05fa0f4ca18a445277c6
+EBUILD gromacs-4.5.4-r2.ebuild 7743 RMD160 611705b9c01b331991d60736cd8d53592bc94024 SHA1 f3f2d63cfe0178d2aee329429e65dcfa7c1c8683 SHA256 cd77028e836682a9f01319db5d4a57fc3b167295b1f45b4ce29f8f9355f403c8
+MISC ChangeLog 16545 RMD160 d00cb09dc3c3704859ce46a74b9340664cb369bc SHA1 c795b5b3a3379c9ff73871f48bb529bd2cf943ba SHA256 7900b3bb648e143ceaf11056014acf766c5ad6074dc1087a898003ff5d0e42b9
 MISC metadata.xml 516 RMD160 64f12e7dea05c39ad349ad44408cdaa787e9129f SHA1 9eeff9fd2cdc813796f2b5f605fd3ed9e559e3a6 SHA256 25d77da0c4b789ade2778652a4fbea6aff17ce177664ce1750684b636eebbc61
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iQEcBAEBAgAGBQJOJHlkAAoJEOeBhlrCAAWGMYUH/24milRRjjDVDPPa5prtDBak
-2N+wVyFF51GLaI2CT+vHE3zNgRbbNsBH6e9PI9P2swtZZ2DgMg3b3Rw9aAPR53KS
-TbpUVyjn6iy5iIvryDDhetgy6cobiYt7YpF7pkfUV+MKe8LUm5cTLR2BC/2/0gf8
-l07YcMIcJBuUu8J7tcHbiu1zJBUyysWMX3dbVH6A4l0xCfID9zJJTB7OwBvQONi5
-Aw9yvktgmS0l5x/7pyL2QygLmKE6pdyP/5xy4OkZObnVDcFk8LByZP5mN9L/216u
-WLqcpwnAMKs17fDNmIOT4xVl7L5obVDQ0X13Na9cUdDyjdMhWn+zSP6ec8iqBeI=
-=CVJg
+iQEcBAEBAgAGBQJOa3igAAoJEOeBhlrCAAWGwqMIAILx2XjRCx5wNmz+RKnrmkqe
+5RFOf4yCOsm2lH+hXmcSRn3W/pFWKh6+NuWQyZivUSxecJDOhQImHKn3aJRYiK0y
+ZiHQF56rFLDPDc5sU/H4XvX75j7i2/dy/SAk7F33xXVOvEDmegR/QLYs+u3qlkRW
++jVZMXWCdbt5yMW6NJVGEnNY2m74DqtdasV5jC2wnNcOSrNtMm1noSUDBs8f67mG
+cZSfkuXb2c8rd23kL1xDJvNILbgnqry1MNHxI1DIDlM/ycd184cChpoGXdqyyLfh
+qPMLSN55XQtjlwQUZa/L8q4SNMhmcwkXotkK75mjL9DtlTkixP5fmqxoJtsLsL8=
+=yG4f
 -----END PGP SIGNATURE-----
index 3578376a52cbd88794d23f4467a3cd09af840ee2..05d79b09a8987281125eca0b6c5b32b044ce94f6 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-4.5.4-r1.ebuild,v 1.10 2011/06/26 08:32:55 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-4.5.4-r1.ebuild,v 1.11 2011/09/10 14:47:53 ottxor Exp $
 
 EAPI="4"
 
@@ -8,7 +8,7 @@ LIBTOOLIZE="true"
 TEST_PV="4.0.4"
 MANUAL_PV="4.5.4"
 
-inherit autotools-utils bash-completion flag-o-matic fortran-2 multilib toolchain-funcs
+inherit autotools-utils bash-completion-r1 flag-o-matic fortran-2 multilib toolchain-funcs
 
 if [ "${PV%9999}" != "${PV}" ]; then
        EGIT_REPO_URI="git://git.gromacs.org/gromacs"
@@ -224,7 +224,7 @@ src_install() {
        doenvd "${T}/80gromacs"
        rm -f "${ED}"/usr/bin/GMXRC*
 
-       dobashcompletion "${ED}"/usr/bin/completion.bash ${PN}
+       newbashcomp "${ED}"/usr/bin/completion.bash ${PN}
        if use zsh-completion ; then
                insinto /usr/share/zsh/site-functions
                newins "${ED}"/usr/bin/completion.zsh _${PN}
@@ -246,16 +246,13 @@ src_install() {
 
 pkg_postinst() {
        env-update && source /etc/profile
-       elog
-       elog "Please read and cite:"
-       elog "Gromacs 4, J. Chem. Theory Comput. 4, 435 (2008). "
-       elog "http://dx.doi.org/10.1021/ct700301q"
-       elog
-       bash-completion_pkg_postinst
-       elog
-       elog $(g_luck)
-       elog "For more Gromacs cool quotes (gcq) add luck to your .bashrc"
-       elog
-       elog "Gromacs can use sci-chemistry/vmd to read additional file formats"
-       elog
+       einfo
+       einfo  "Please read and cite:"
+       einfo  "Gromacs 4, J. Chem. Theory Comput. 4, 435 (2008). "
+       einfo  "http://dx.doi.org/10.1021/ct700301q"
+       einfo
+       einfo  $(g_luck)
+       einfo  "For more Gromacs cool quotes (gcq) add g_luck to your .bashrc"
+       einfo
+       elog  "Gromacs can use sci-chemistry/vmd to read additional file formats"
 }
index 2f7fee15ba120921c849c2730c44394ffe7b8c2d..bbcf8ae6fd31d1513f944dae9b69de3b67edf08a 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-4.5.4-r2.ebuild,v 1.7 2011/07/18 18:20:14 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-4.5.4-r2.ebuild,v 1.8 2011/09/10 14:47:53 ottxor Exp $
 
 EAPI="4"
 
@@ -10,7 +10,7 @@ MANUAL_PV="4.5.4"
 #to find external blas/lapack
 CMAKE_MIN_VERSION="2.8.5-r2"
 
-inherit bash-completion cmake-utils eutils fortran-2 multilib toolchain-funcs
+inherit bash-completion-r1 cmake-utils eutils fortran-2 multilib toolchain-funcs
 
 if [ "${PV%9999}" != "${PV}" ]; then
        EGIT_REPO_URI="git://git.gromacs.org/gromacs"
@@ -211,7 +211,7 @@ src_install() {
        doenvd "${T}/80gromacs"
        rm -f "${ED}"/usr/bin/GMXRC*
 
-       dobashcompletion "${ED}"/usr/bin/completion.bash ${PN}
+       newbashcomp "${ED}"/usr/bin/completion.bash ${PN}
        if use zsh-completion ; then
                insinto /usr/share/zsh/site-functions
                newins "${ED}"/usr/bin/completion.zsh _${PN}
@@ -233,16 +233,13 @@ src_install() {
 
 pkg_postinst() {
        env-update && source /etc/profile
-       elog
-       elog "Please read and cite:"
-       elog "Gromacs 4, J. Chem. Theory Comput. 4, 435 (2008). "
-       elog "http://dx.doi.org/10.1021/ct700301q"
-       elog
-       bash-completion_pkg_postinst
-       elog
-       elog $(g_luck)
-       elog "For more Gromacs cool quotes (gcq) add luck to your .bashrc"
-       elog
-       elog "Gromacs can use sci-chemistry/vmd to read additional file formats"
-       elog
+       einfo
+       einfo  "Please read and cite:"
+       einfo  "Gromacs 4, J. Chem. Theory Comput. 4, 435 (2008). "
+       einfo  "http://dx.doi.org/10.1021/ct700301q"
+       einfo
+       einfo  $(g_luck)
+       einfo  "For more Gromacs cool quotes (gcq) add g_luck to your .bashrc"
+       einfo
+       elog  "Gromacs can use sci-chemistry/vmd to read additional file formats"
 }