diff options
author | 2022-02-20 09:06:12 +0100 | |
---|---|---|
committer | 2022-02-20 09:06:12 +0100 | |
commit | fd7a34b483e858d68d853ddcc72c30fa7b813a94 (patch) | |
tree | d68a6ab96be5c430b4d017e8f13478da42993a0f | |
parent | dev-ruby/rails: add 7.0.2.2 (diff) | |
download | gentoo-fd7a34b483e858d68d853ddcc72c30fa7b813a94.tar.gz gentoo-fd7a34b483e858d68d853ddcc72c30fa7b813a94.tar.bz2 gentoo-fd7a34b483e858d68d853ddcc72c30fa7b813a94.zip |
dev-ruby/propshaft: import of 0.6.1
New dependency for Rails 7.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | dev-ruby/propshaft/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/propshaft/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/propshaft/propshaft-0.6.1.ebuild | 36 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/propshaft/Manifest b/dev-ruby/propshaft/Manifest new file mode 100644 index 000000000000..9604fec31116 --- /dev/null +++ b/dev-ruby/propshaft/Manifest @@ -0,0 +1 @@ +DIST propshaft-0.6.1-git.tgz 245087 BLAKE2B 6e04ebc0315c263f79dbfc9f836b270b8b693e1a7e332a97d8abe5cc6555d0acc9efe3ae7979c901ca2c502460e8ee67b83420863d5dabdf50fbc2028aacd5b9 SHA512 35600b7e051810c7f0798f29faab7c7bcabf04198fc56ee9a4492d18ddfabf543cfbf11c28f35eb5e2a64eb57c65b95567e00441852ac0f29d8538ad8d5cb1b4 diff --git a/dev-ruby/propshaft/metadata.xml b/dev-ruby/propshaft/metadata.xml new file mode 100644 index 000000000000..51bcb44a79fe --- /dev/null +++ b/dev-ruby/propshaft/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">rails/propshaft</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/propshaft/propshaft-0.6.1.ebuild b/dev-ruby/propshaft/propshaft-0.6.1.ebuild new file mode 100644 index 000000000000..7bfc73881f6a --- /dev/null +++ b/dev-ruby/propshaft/propshaft-0.6.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="propshaft.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Deliver assets for Rails" +HOMEPAGE="https://github.com/rails/propshaft" +SRC_URI="https://github.com/rails/propshaft/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/actionpack-7.0.0:* + >=dev-ruby/activesupport-7.0.0:* + dev-ruby/rack:* + >=dev-ruby/railties-7.0.0:* +" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + sed -i -e '/debug/ s:^:#:' Gemfile || die + + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} |