dev-lang/jimtcl: add subslot based on SONAME
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 18 Feb 2019 08:16:49 +0000 (08:16 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 18 Feb 2019 09:08:15 +0000 (09:08 +0000)
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
dev-lang/jimtcl/jimtcl-0.78-r1.ebuild [moved from dev-lang/jimtcl/jimtcl-0.78.ebuild with 75% similarity]

similarity index 75%
rename from dev-lang/jimtcl/jimtcl-0.78.ebuild
rename to dev-lang/jimtcl/jimtcl-0.78-r1.ebuild
index de965ef1a8bb58f38724d5113592716cfb231402..812fe0d263f55445e8aa021b85543ef7bb90a063 100644 (file)
@@ -5,33 +5,20 @@ EAPI="7"
 
 inherit eutils
 
-if [[ ${PV} == *9999 ]] ; then
-       EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
-       inherit git-r3
-else
-       SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
-       KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86"
-fi
+SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86"
 
 DESCRIPTION="Small footprint implementation of Tcl programming language"
 HOMEPAGE="http://jim.tcl.tk/"
 
 LICENSE="LGPL-2"
-SLOT="0"
+SLOT="0/78" # SONAME=libjim.so.0.78
 IUSE="doc static-libs"
 
 RDEPEND=""
 DEPEND="doc? ( app-text/asciidoc )
        app-arch/unzip"
 
-src_unpack() {
-       if [[ ${PV} == "9999" ]] ; then
-               git-2_src_unpack
-       else
-               default
-       fi
-}
-
 src_configure() {
        CCACHE=None econf --with-jim-shared
        if use static-libs ; then