mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ruby/tty-editor: initial import
Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
1
dev-ruby/tty-editor/Manifest
Normal file
1
dev-ruby/tty-editor/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST tty-editor-0.7.0.tar.gz 18140 BLAKE2B 917ea287b30588ffdf705d4ea06c711884b4dc7ba348f9acd08f0cf4e71c854ebcec6f7b8285e9fc1d45225f8ccb295dcb23b9493fcea2ac831c352cd7cc3680 SHA512 c5d6a781b0be00ee14e6fa30ff0bbb26fd9548726ff0e101163a8b4206bec9c7ffb520679041c1f174c2f65d76ea71177718a6fc5e06e8191dc5510aafd33175
|
||||
11
dev-ruby/tty-editor/metadata.xml
Normal file
11
dev-ruby/tty-editor/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>marecki@gentoo.org</email>
|
||||
<name>Marek Szuba</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">piotrmurach/tty-editor</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
31
dev-ruby/tty-editor/tty-editor-0.7.0.ebuild
Normal file
31
dev-ruby/tty-editor/tty-editor-0.7.0.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby26 ruby27"
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Opens a file or text in the user's preferred editor"
|
||||
HOMEPAGE="https://github.com/piotrmurach/tty-editor"
|
||||
SRC_URI="https://github.com/piotrmurach/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/tty-prompt-0.22"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
echo '-rspec_helper' > .rspec || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
mkdir tmp || die
|
||||
}
|
||||
Reference in New Issue
Block a user