dev-ruby/acts_as_list: add 1.0.1
authorHans de Graaff <graaff@gentoo.org>
Thu, 27 Feb 2020 05:41:51 +0000 (06:41 +0100)
committerHans de Graaff <graaff@gentoo.org>
Thu, 27 Feb 2020 05:41:51 +0000 (06:41 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/acts_as_list/Manifest
dev-ruby/acts_as_list/acts_as_list-1.0.1.ebuild [new file with mode: 0644]

index 734654857033bab66483a0f4cad10a4a336f81e7..9544966584dd4c7dcec390f772903feaf49bb18d 100644 (file)
@@ -1,2 +1,3 @@
 DIST acts_as_list-0.9.19.gem 37376 BLAKE2B e676d970fecbf81df92193e62e3cd9880c3f3f7b03cfbdb7e9e3802aefe209f55d034a4e7e2b9ff09ed84ef7ba7fdbd3d625fe79d86ca1e826f7ebd90bd96e8e SHA512 890d396647c770df754abcde2ab69f022d6fbc2417a1672f41fec2e03e2db7ce2df08126efb757e18c7f0f2faa1230ffa49f099b94ee9035068d6c04c38c7476
 DIST acts_as_list-1.0.0.gem 38912 BLAKE2B b48b554590343271156c4e4275ed6f7c59ea03c4a0c9a88cf549e9cbaf2fe428957c704f4fe70729c027f87236b1b347e3ff37978a775028c940dadf99b0a872 SHA512 850ec3b148a0123e7393109987aab321b75567dae8be2445bf0b40e089bf07eaa121c09997ccf725ca947dff440c57186e43c30a7c82e229002d226109a1f59a
+DIST acts_as_list-1.0.1.gem 39424 BLAKE2B 278705cd57bf3fcf2d1d9e2f4ad8757c9842f768bc36470e5b9a2f52f0d695f4c7bbab71200dde8e1fb099840495ea5a6ad131d1a213b8389dce49e08240eb3a SHA512 15a0cd7e6c89ba6ed218c5e866b15c33ae64f5ed1587de67ec6ea20480fa622ec32f3131e714ff0d5196189a46d5d745ff5de026c451a485ebb735df73ef9ce5
diff --git a/dev-ruby/acts_as_list/acts_as_list-1.0.1.ebuild b/dev-ruby/acts_as_list/acts_as_list-1.0.1.ebuild
new file mode 100644 (file)
index 0000000..e9a678a
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+inherit ruby-fakegem
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list"
+HOMEPAGE="https://github.com/swanandp/acts_as_list"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~amd64 ~x86-macos"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/activerecord-4.2:*"
+
+ruby_add_bdepend "
+       test? (
+               dev-ruby/test-unit:2
+               dev-ruby/activerecord[sqlite]
+       )"
+
+all_ruby_prepare() {
+       rm Gemfile || die
+       sed -i -e '/[Bb]undler/d' Rakefile || die
+       sed -i -e '/bundler/,/^end/ s:^:#:' test/helper.rb || die
+       sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+       sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die
+}