From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-ruby/date_validator/Manifest | 5 +++ .../date_validator/date_validator-0.9.0.ebuild | 48 ++++++++++++++++++++++ dev-ruby/date_validator/metadata.xml | 11 +++++ 3 files changed, 64 insertions(+) create mode 100644 dev-ruby/date_validator/Manifest create mode 100644 dev-ruby/date_validator/date_validator-0.9.0.ebuild create mode 100644 dev-ruby/date_validator/metadata.xml (limited to 'dev-ruby/date_validator') diff --git a/dev-ruby/date_validator/Manifest b/dev-ruby/date_validator/Manifest new file mode 100644 index 000000000000..303f43a88631 --- /dev/null +++ b/dev-ruby/date_validator/Manifest @@ -0,0 +1,5 @@ +DIST date_validator-0.9.0.gem 12288 SHA256 de831fc89eca4d0e96c7e007b818038f027e2e651a453a0f74eb70212860516d SHA512 da7c06d22375cb5ce0e3a1c7d8c84d03c60f5564329d7a6adca4448d386bd26341786e97e6d74d6c7ba820c4437fe88f6dea1e20312b07714f28557bb863c051 WHIRLPOOL e3f7f8cd033fa479e4d2d19f4827e769aa551392485059eb60c7dc283bf103a8de3f1c6067b6d5c2d9d1f7739b35d2d29949775826b4329c51947bc6f82c3d2b +EBUILD date_validator-0.9.0.ebuild 1014 SHA256 9429eaa1e4b61568663dd819e8e6e7af59930676d7a20c047f8b01d66fae5948 SHA512 fe2ce147a6c1cbb7b3e63e603f1acb4f215a1c23fa008d974b50ca8f007cb4e8545bece0c5ef72a179214d1dd4c0aacef60495ee82880ff2b55edeab4960cb66 WHIRLPOOL 0766e7e644c29817fb6656e0b0ff1a00eb1efe1aea570c3f921d4433b41d8d55dfe8899be150eaf3e330c51969451a8d5438ad8f53004fae91f6ca8192c96cd7 +MISC ChangeLog 3135 SHA256 73f5d39c567cbe0c511f6068b1051d489d34491a776dfde79963fcf7628d38cc SHA512 a5f24c54a956a080f685618e17f10a27d667ebddf5afaf5269aa8000f208bf74e016aa2cfb64f5565daa831fb76b2f186ca06e32556e138a9c1e2d4e2bb7eb8b WHIRLPOOL 3ed121759ae5246aa66bfa77eca6e61dea2f90619a3ecb4b0fdb6976d324260281b16b24aa083548a84b86222dc5d1d13ea628f70f0b1de1b3917275f3868fbb +MISC ChangeLog-2015 1685 SHA256 55023371dc3de875b7b036e34197413a3e879f4e00c2a73394b7f4d33833301d SHA512 d181ad0d4b42b51c581ce83714bdfe6979904a8b277b11b2ae3400d2d5446d2e545fafa4857dc0c306246ba4a4b77afcd9dcaf058e73c2bf859eb8787322c4ad WHIRLPOOL 51fea84dda61b48e6c801840f6afe3edaae199e8face11bff13c75a45683a3bfcaf0f751acdc674ca697e3f263bed7a38214618ada8c58c9c59e58a2de626216 +MISC metadata.xml 349 SHA256 48cdfab182776477c842ceb7f3ba357bbccf4b28f9ab35e2ed5703e74756e603 SHA512 67be0f0ac5cc6bae9b3d76a371bcceefc5c32c4a384a02f7f13a0fa1da950ff864a106430922a3aad2d8b5522a216ad6d93eba949ba1bd76f37926abc40fd6c8 WHIRLPOOL 4758e7e65ed7488f33c2693385473079b6f2f6b447f58c35d68ad91bfea58693f4c522a54abac492722c12e529205cd6186a1c3dab60e899be7ca5ca0162cab3 diff --git a/dev-ruby/date_validator/date_validator-0.9.0.ebuild b/dev-ruby/date_validator/date_validator-0.9.0.ebuild new file mode 100644 index 000000000000..8fbe1c9db0b6 --- /dev/null +++ b/dev-ruby/date_validator/date_validator-0.9.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +# if ever needed +#GITHUB_USER="codegram" +#GITHUB_PROJECT="${PN}" +#RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*" + +inherit ruby-fakegem + +DESCRIPTION="Simple, ORM agnostic, Ruby 1.9 compatible date validator for Rails 3" +HOMEPAGE="https://github.com/codegram/date_validator" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/activemodel-3.0:* +" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest + >=dev-ruby/tzinfo-0.3 + >=dev-ruby/activesupport-3.0 + ) + doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + sed -i \ + -e '/git ls-files/d' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i \ + -e '/[Bb]undler/s/^/#/' Rakefile || die + # Fix tests + sed -i -e "1irequire 'active_support'" test/test_helper.rb || die +} diff --git a/dev-ruby/date_validator/metadata.xml b/dev-ruby/date_validator/metadata.xml new file mode 100644 index 000000000000..004dc1b0332f --- /dev/null +++ b/dev-ruby/date_validator/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + codegram/date_validator + + -- cgit v1.2.3