diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-ruby/gettext-setup | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-ruby/gettext-setup')
-rw-r--r-- | dev-ruby/gettext-setup/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/gettext-setup/gettext-setup-0.34-r2.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/gettext-setup/Manifest b/dev-ruby/gettext-setup/Manifest index 0dbf5eb45453..5c80297064ec 100644 --- a/dev-ruby/gettext-setup/Manifest +++ b/dev-ruby/gettext-setup/Manifest @@ -4,5 +4,6 @@ DIST gettext-setup-0.34.tar.gz 16010 BLAKE2B 3da3810bba89205a0a2856760b7fbe7a415 EBUILD gettext-setup-0.30.ebuild 1083 BLAKE2B d2131b49d40885b97ad9037169834cee5a344f7cd1bcdd5977d8dab5d3c1034b7a3cbdf8fd4ab65d50bbe24c009a4fac2ec8d702a84fe89ea430d8921d957bd4 SHA512 e9a2863774b8c36f6e2327f7f04752150440d13b51b2e2f0b755111330566b7cef7a58869135dfebb5b9afa3f170c62fdd6e315bcab97d357e3559aa1bb362fe EBUILD gettext-setup-0.31.ebuild 1047 BLAKE2B 812825978046a5347fd02c5d7c8051f175e137b1017e85e490b2a488665c2f513f0e71c3cff68ae5d55b7289dafb69e82d07f67f95e4a87e2a068b43e6e56fea SHA512 f4465f5abe1f56efc4b41dc952437b6ebc4a6fe92a1edc25013e3dba3c072b92373eb6d5c59b3e9bac571651d209acfc6d34dc563d5c9a2175642de5db0b4c01 EBUILD gettext-setup-0.34-r1.ebuild 1112 BLAKE2B d2d6c01eaf59e6158b00ff5532f78c5a465b5ddd9cf215a43050a6ac891b70125892bd49524c1fbe65c4310798eceaf6b96be2ab873e23a58a549fc7a1a65a8e SHA512 55a0c0db38ca6a15e6f6fe23ef5d3ff8f329115f653f6d475f410c451a329507dea9cd2d1b086e00cfd556f97f33ad7b78fb20d64e5a7d55797599052ada905c +EBUILD gettext-setup-0.34-r2.ebuild 1142 BLAKE2B f1d42699df682b036c901cd2a2bb52686b880088ac8fb70e5ee75117f31db995deec0f11bab7c5b2aafb98ef5ab841691728ca6878891862782e26dd10b17f6f SHA512 0ef457885277ba84313c3224a7d5e6f8b6192363fe629ea7e09f3bfa0de06affef8dddd5c112d186b283e0b4ef896273d5b6379c382736a61a2198329cbce082 EBUILD gettext-setup-0.34.ebuild 1054 BLAKE2B ca24c406b7dcfc85ceb7ba8e990f22547d02e8f2c254b998ed6463b59d66cf22a63e8d1370773353f7d501790982fb41255c19e6926028226ae1c5c315e983da SHA512 bc691cc1d4d7585b83ced60fb8e5aac2ae16ac99c04a513960d39537041ff3a448be913cea94fec35884b1db2ccde5eb9c94834b9c14c0fa6333c1bb657db722 MISC metadata.xml 344 BLAKE2B 14075c722372613eeff2cb810420e1e0ff7cdcf4ee1ba748a0b615222b88b13a0ecc01c9d0ca1aab71c0bb28359c18682b7402444caa01100c3d8381b9b13e08 SHA512 f7f8c8e7f745313b74340ffe738cab426f793f452106e0ae70f5e73a3a745f1b9ae7b1b70b5951f1d5eb81d4e61851845fa53bd2aa3dab8362f330e6f8d79e9c diff --git a/dev-ruby/gettext-setup/gettext-setup-0.34-r2.ebuild b/dev-ruby/gettext-setup/gettext-setup-0.34-r2.ebuild new file mode 100644 index 000000000000..ee59e09ee553 --- /dev/null +++ b/dev-ruby/gettext-setup/gettext-setup-0.34-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A gem to ease i18n" +HOMEPAGE="https://github.com/puppetlabs/gettext-setup-gem" +SRC_URI="https://github.com/puppetlabs/gettext-setup-gem/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-gem-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND+=" dev-vcs/git" +DEPEND+=" test? ( dev-vcs/git )" + +ruby_add_rdepend " + >=dev-ruby/fast_gettext-1.1.0:0 + >=dev-ruby/ruby-gettext-3.0.2 + dev-ruby/locale +" + +all_ruby_prepare() { + sed -i -e 's/1.1.0/1.1/' \ + -e "/'gettext'/ s/, '< 3.3.0'//" \ + -e "s/spec.version.*$/spec.version = '${PV}'/" ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/simplecov/,/^end/ s:^:#: ; 1irequire "date"' spec/spec_helper.rb || die + + # Avoid spec with specific locale requirements + sed -i -e '/can clear the locale/,/^ end/ s:^:#:' spec/lib/gettext-setup/gettext_setup_spec.rb || die +} |