From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-ruby/shoulda/Manifest | 2 ++ dev-ruby/shoulda/metadata.xml | 12 +++++++++++ dev-ruby/shoulda/shoulda-2.11.3-r2.ebuild | 27 +++++++++++++++++++++++++ dev-ruby/shoulda/shoulda-3.6.0.ebuild | 33 +++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 dev-ruby/shoulda/Manifest create mode 100644 dev-ruby/shoulda/metadata.xml create mode 100644 dev-ruby/shoulda/shoulda-2.11.3-r2.ebuild create mode 100644 dev-ruby/shoulda/shoulda-3.6.0.ebuild (limited to 'dev-ruby/shoulda') diff --git a/dev-ruby/shoulda/Manifest b/dev-ruby/shoulda/Manifest new file mode 100644 index 000000000000..ed2a8d37e25d --- /dev/null +++ b/dev-ruby/shoulda/Manifest @@ -0,0 +1,2 @@ +DIST shoulda-2.11.3.tar.gz 145068 BLAKE2B 5e6d9b78b255612ec18c78076f9c4d45265a3e02a8fd56a127ea8f235e3b344005942c4b6e53014e6328206501c178ce76e1554a9d995ba0de04f5afefe4a0f7 SHA512 0b347c4a8be177b5806364114c25dc786ca2ac95a11c93a723dbc9ea1f6d8ae62df7fb420a52d477cd1e10e8d894074072a040eef36ee8a43440e5256c8427e4 +DIST shoulda-3.6.0.tar.gz 22691 BLAKE2B 798b88e208355b0325b9e8b48f66687ad2702e1b5fc058d45504648fe7c7760b018eaf3d1c7bd45c68656c7bbba8fccc9b74d72003ee0b78ac53a277567609bb SHA512 10f7c6801eaabafa08eb2bc9c4d2a96237d4494aee7d40e5db8cf9c1abd8cccfe86aa21b0e68e2ec42cf222d285cdbec11ed2fdd804ffb8bd65ffd2efa3e72ac diff --git a/dev-ruby/shoulda/metadata.xml b/dev-ruby/shoulda/metadata.xml new file mode 100644 index 000000000000..c5852cfdb04b --- /dev/null +++ b/dev-ruby/shoulda/metadata.xml @@ -0,0 +1,12 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + thoughtbot/shoulda + + gentoo-staging + diff --git a/dev-ruby/shoulda/shoulda-2.11.3-r2.ebuild b/dev-ruby/shoulda/shoulda-2.11.3-r2.ebuild new file mode 100644 index 000000000000..2c4a1501e0e5 --- /dev/null +++ b/dev-ruby/shoulda/shoulda-2.11.3-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +# Use rdoc recipe to avoid obsolete Rakefile +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTION_GUIDELINES.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Making tests easy on the fingers and eyes" +HOMEPAGE="http://thoughtbot.com/projects/shoulda" +SRC_URI="https://github.com/thoughtbot/${PN}/tarball/v${PV} -> ${P}.tar.gz" +RUBY_S="thoughtbot-${PN}-*" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +# tests seem to be quite broken :( They require working version of +# various rails versions. There appear to be unit and matcher tests but +# they can't be run on their own. +RESTRICT=test diff --git a/dev-ruby/shoulda/shoulda-3.6.0.ebuild b/dev-ruby/shoulda/shoulda-3.6.0.ebuild new file mode 100644 index 000000000000..7b71cea84191 --- /dev/null +++ b/dev-ruby/shoulda/shoulda-3.6.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Making tests easy on the fingers and eyes" +HOMEPAGE="http://thoughtbot.com/projects/shoulda" +SRC_URI="https://github.com/thoughtbot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64" +IUSE="" + +# This now more or less a meta-gem and it only contains features for +# integration tests using Appraisals, which we don't currently package. +RESTRICT=test + +ruby_add_rdepend ">=dev-ruby/shoulda-context-1.0.1 + dev-ruby/shoulda-matchers:3" + +all_ruby_prepare() { + sed -e '/executables/,/^ end/d ; /test_files/d; s/git ls-files/find . -print/' -i ${RUBY_FAKEGEM_GEMSPEC} || die +} -- cgit v1.3