dev-ruby/pcaprb: slot so we can have multiple versions
authorZero_Chaos <zerochaos@gentoo.org>
Sun, 6 Sep 2015 20:31:45 +0000 (16:31 -0400)
committerZero_Chaos <zerochaos@gentoo.org>
Sun, 6 Sep 2015 20:39:07 +0000 (16:39 -0400)
dev-ruby/pcaprub/pcaprub-0.11.3-r2.ebuild [moved from dev-ruby/pcaprub/pcaprub-0.11.3-r1.ebuild with 89% similarity]
dev-ruby/pcaprub/pcaprub-0.12.0-r1.ebuild [moved from dev-ruby/pcaprub/pcaprub-0.12.0.ebuild with 89% similarity]

similarity index 89%
rename from dev-ruby/pcaprub/pcaprub-0.11.3-r1.ebuild
rename to dev-ruby/pcaprub/pcaprub-0.11.3-r2.ebuild
index 3975d22162114ac6451aa009a836300141e3451f..d2505f1859a9c98ef304aea2a1ff821bc76c9a74 100644 (file)
@@ -9,13 +9,13 @@ USE_RUBY="ruby19 ruby20 ruby21 ruby22"
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_EXTRADOC="FAQ.rdoc README.rdoc USAGE.rdoc"
 
-inherit multilib ruby-fakegem
+inherit multilib ruby-fakegem versionator
 
 DESCRIPTION="Libpcap bindings for ruby compat"
 HOMEPAGE="https://rubygems.org/gems/pcaprub"
 
 LICENSE="LGPL-2.1"
-SLOT="0"
+SLOT="$(get_version_component_range 1-2)"
 KEYWORDS="~amd64 ~arm ~x86"
 
 DEPEND+="net-libs/libpcap"
similarity index 89%
rename from dev-ruby/pcaprub/pcaprub-0.12.0.ebuild
rename to dev-ruby/pcaprub/pcaprub-0.12.0-r1.ebuild
index 991ddc7b999c1d5465a4216b39440666e619f673..431dffb69a8ca568ae9da515011eeb8466963b64 100644 (file)
@@ -9,13 +9,13 @@ USE_RUBY="ruby19 ruby20 ruby21 ruby22"
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_EXTRADOC="FAQ.rdoc README.rdoc USAGE.rdoc"
 
-inherit multilib ruby-fakegem
+inherit multilib ruby-fakegem versionator
 
 DESCRIPTION="Libpcap bindings for ruby compat"
 HOMEPAGE="https://rubygems.org/gems/pcaprub"
 
 LICENSE="LGPL-2.1"
-SLOT="0"
+SLOT="$(get_version_component_range 1-2)"
 KEYWORDS="~amd64 ~arm ~x86"
 
 DEPEND+="net-libs/libpcap"