dev-lang/jimtcl: [QA] Port to git-r3
authorDavid Seifert <soap@gentoo.org>
Mon, 25 Dec 2017 18:55:49 +0000 (19:55 +0100)
committerDavid Seifert <soap@gentoo.org>
Mon, 25 Dec 2017 19:17:04 +0000 (20:17 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-lang/jimtcl/jimtcl-0.74-r1.ebuild
dev-lang/jimtcl/jimtcl-0.75-r1.ebuild
dev-lang/jimtcl/jimtcl-0.75.ebuild
dev-lang/jimtcl/jimtcl-0.76.ebuild
dev-lang/jimtcl/jimtcl-9999.ebuild

index 56008de46ce65eb8bede1f5c9b538b82b89f60a7..bba26a59e81f34a5b32bfe45e3027b5e0584729a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -31,13 +31,14 @@ src_compile() {
 
 src_install() {
        dobin jimsh
-       use static-libs && {
+
+       if use static-libs; then
                dolib.a libjim.a
-       } || {
+       else
                dolib.so libjim.so.${PV}
-               dosym /usr/$(get_libdir)/libjim.so.${PV} \
-                       /usr/$(get_libdir)/libjim.so
-       }
+               dosym libjim.so.${PV} /usr/$(get_libdir)/libjim.so
+       fi
+
        insinto /usr/include
        doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h
        doins jim-win32compat.h jim-eventloop.h jim-config.h
index d05b5040644f974e9cbc5f99bcb45b6bfe7946f2..3c79869f318ef572498e596f6c0fffd23ea6c63a 100644 (file)
@@ -1,13 +1,13 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
 inherit multiprocessing eutils
 
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999 ]] ; then
        EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
-       inherit git-2
+       inherit git-r3
 else
        inherit vcs-snapshot
        SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"
index 59a5c92d192450ab2edadc71278a0c7589daabb3..86af1bb8fb99e2e5dffc6c6711cb1b76c4a0d541 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -31,13 +31,14 @@ src_compile() {
 
 src_install() {
        dobin jimsh
-       use static-libs && {
+
+       if use static-libs; then
                dolib.a libjim.a
-       } || {
+       else
                dolib.so libjim.so.${PV}
-               dosym /usr/$(get_libdir)/libjim.so.${PV} \
-                       /usr/$(get_libdir)/libjim.so
-       }
+               dosym libjim.so.${PV} /usr/$(get_libdir)/libjim.so
+       fi
+
        insinto /usr/include
        doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h
        doins jim-win32compat.h jim-eventloop.h jim-config.h
index a82e24c9b2044d040b567d5d966fdf2bc8799075..3d5515b2e63dedb4ad1ea85eed2d69d2c3c22150 100644 (file)
@@ -1,13 +1,13 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
 inherit multiprocessing eutils
 
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999 ]] ; then
        EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
-       inherit git-2
+       inherit git-r3
 else
        inherit vcs-snapshot
        SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"
index d05b5040644f974e9cbc5f99bcb45b6bfe7946f2..3c79869f318ef572498e596f6c0fffd23ea6c63a 100644 (file)
@@ -1,13 +1,13 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
 inherit multiprocessing eutils
 
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999 ]] ; then
        EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
-       inherit git-2
+       inherit git-r3
 else
        inherit vcs-snapshot
        SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"