diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/ruby-termios |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/ruby-termios')
-rw-r--r-- | dev-ruby/ruby-termios/Manifest | 7 | ||||
-rw-r--r-- | dev-ruby/ruby-termios/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/ruby-termios/ruby-termios-1.0.0-r1.ebuild | 45 | ||||
-rw-r--r-- | dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild | 32 |
4 files changed, 95 insertions, 0 deletions
diff --git a/dev-ruby/ruby-termios/Manifest b/dev-ruby/ruby-termios/Manifest new file mode 100644 index 000000000000..19c61ed05a64 --- /dev/null +++ b/dev-ruby/ruby-termios/Manifest @@ -0,0 +1,7 @@ +DIST ruby-termios-1.0.0.tar.gz 14738 SHA256 0b6c41fb554acf17d257db8e8a10b283be6a9b45807ef1562151aadfc008ce5f SHA512 16d71a8cf84391da2dc8b138ff381751f5a72d61ce37d2215960d389285dee14862b50cf770d4648b298df093a85005df460ba951c5d7e6fb38e69d8d686599a WHIRLPOOL 34c9ad7fdfb7f72d8311a04345f5aa94050ea5d0fd66d362cd7c9eca55b19b91dd022bf2b3e60714a78c4e80bfc28952d722e8538372a3ed7faed8443baa85e3 +DIST ruby-termios-1.0.2.gem 17408 SHA256 88c64c79657cf91bd4239030f5ac452ed0db55b15b492037129df2fe8529ae19 SHA512 e32e899e917eb04e382a02484accf9fea0369de8c1942b445e48e71e9c836305e2d54221c9a044d27ede44a7d5c14f976a8ffda79f79f71b5a121474e759f45d WHIRLPOOL 8c485b6e37f6d5b2a67696860d8ff7d61d7a52a45cf9003d5ae8ca5e5164f62ca468ee5c604e729496511ad74e87e13d2ef2c87e6f31547fa9a13e2b0b80aa65 +EBUILD ruby-termios-1.0.0-r1.ebuild 975 SHA256 e453b1211cb7cf37d38a26c35b886076412435ac9330291b6ee1abbba0b8b7bc SHA512 bd78505df91239e8a0bf638652537daf075c388ad969dfba80dca5310b9c5d092ec7ac8d93570dcc86f6996661badcfd47405976637fa722b87c7a95fc229887 WHIRLPOOL 66ee50c75a495d9e1a65955f98a407cee32a4e67b21e736e04ed6bcd9e2771d8f9e43844d037d6351e8b558ec35bc5f528762c85a59185e3398a43fad463dfac +EBUILD ruby-termios-1.0.2-r1.ebuild 731 SHA256 8c8c79cf7d6acd834e705ee900b1ea681a02bf18b40fbd2cfca7f1c48dc5fd66 SHA512 5956cb389f9f5fc7d3d83ff9b4557bd624715061247ddc3c1531f2d8058607958170bf95bedd4de18760700b6f79650228741caaf8530b9193188e2e32ce23bf WHIRLPOOL 64277b7ab7ef43713931d04adf3cf60ea3c123d87406a139da5d06a9b061d841bf76b42abaf576a3b1e572e6c26121bd1187c74a63898ced7516744c3a30b8fa +MISC ChangeLog 3072 SHA256 cdaf10c55f2742af877d57c5ad7588e22229d79e77c8065de14d2eb599be1b52 SHA512 d2de7237c1ad4454754fd9cc849d0a209731811d21678dc11f0e07e95ec3913da070010da86aa252acc3bef2945a498dc57daa79225a39989f8569b6207cf6ff WHIRLPOOL 981330b3ab17770a548bfc2f68df8864eb528364cd2a2142a7b74304c0caf6dc7c17efd1336022797c21068e62201bd97ba4ed0d24caef83d7e097796c398577 +MISC ChangeLog-2015 5190 SHA256 924a1362292725eed9b614803c0953c86d43323224fb98faeb1b63009258a906 SHA512 8390b608243c6a442b19ee15d6e9ae05aa3e7b359c03eb30dc2c8df29408ed0e499aee6073ac828e01590beddd707b760d7b86cbe93b45076b18566042ce0845 WHIRLPOOL 2ef804152f9c2d1601f5d36b26d23c2255001b93fdc0c2289822dcf874d2a30dda7a5342ba51cc55cbe7c1c3efdc163dfd049f6c419ddf7b0d4dd586e3acc8aa +MISC metadata.xml 344 SHA256 148a00a2e8f9bc285aa5b5e7cc5111ddfc3dba546784e90195d79d51471f9f91 SHA512 3c6d07c1fb48f63b2e3b11eaa84b24b6f57e1b7ad4146327950c294e0d49521a7dce7cb63c99bd0641c7b330d64b6c85d91ba6feb150282f35902fce8602806c WHIRLPOOL 1ff3da4b03ef04c9be70b200b457cef0189ceb544fd79d142b20a944c914a2ea25ca1f8bdadf8a11ea556dbf5c12553a3655bd2719094429a2638307188f681e diff --git a/dev-ruby/ruby-termios/metadata.xml b/dev-ruby/ruby-termios/metadata.xml new file mode 100644 index 000000000000..3ae483f3b3a8 --- /dev/null +++ b/dev-ruby/ruby-termios/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://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">arika/ruby-termios</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/ruby-termios/ruby-termios-1.0.0-r1.ebuild b/dev-ruby/ruby-termios/ruby-termios-1.0.0-r1.ebuild new file mode 100644 index 000000000000..a38746917948 --- /dev/null +++ b/dev-ruby/ruby-termios/ruby-termios-1.0.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +inherit multilib ruby-ng + +DESCRIPTION="A Ruby interface to termios" +HOMEPAGE="http://arika.org/ruby/termios" +SRC_URI="https://github.com/arika/ruby-termios/archive/version_${PV//./_}.tar.gz -> ${P}.tar.gz" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 ~hppa ~mips ~ppc x86 ~x86-macos" +IUSE="" + +RUBY_S="${PN}-version_${PV//./_}" + +# Tests require a normal TTY, bug 340575. They should all pass when run +# manually. +RESTRICT=test + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext V=1 + cp ext/termios$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/test0.rb || die "tests failed" +} + +each_ruby_install() { + emake V=1 -Cext DESTDIR="${D}" install +} + +all_ruby_install() { + dodoc ChangeLog README termios.rd + + insinto /usr/share/doc/${PF}/examples + doins examples/* +} diff --git a/dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild b/dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild new file mode 100644 index 000000000000..bdc574354d6c --- /dev/null +++ b/dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md termios.rd" + +# There are no tests in the gem, and the upstream tests only work +# with a normal TTY, bug 340575. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_BINWRAP="" + +inherit multilib ruby-fakegem + +DESCRIPTION="A Ruby interface to termios" +HOMEPAGE="http://arika.org/ruby/termios" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86 ~x86-macos" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext V=1 + cp ext/termios$(get_modname) lib/ || die +} |