diff options
Diffstat (limited to 'dev-ruby/cgi')
-rw-r--r-- | dev-ruby/cgi/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/cgi/cgi-0.3.6.ebuild | 28 | ||||
-rw-r--r-- | dev-ruby/cgi/metadata.xml | 11 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/cgi/Manifest b/dev-ruby/cgi/Manifest new file mode 100644 index 000000000000..fbfebe28b2c7 --- /dev/null +++ b/dev-ruby/cgi/Manifest @@ -0,0 +1,3 @@ +DIST cgi-0.3.6.tar.gz 221001 BLAKE2B 71f5091c132ec154520f6538a2ba06c164e1ed30f4cc8018052ab49605c674430108d7a87f7bf4b9dc0e1602fd3edd273af0d918de7725ca0127f67516deb1f3 SHA512 13f620b38eb4448da4184c80ff33e64bcaacf6ebff8eed219267ec33c1ed75f119a90f37503b21a835612b417100877cacf0a683f4854f97941c9e22618bf658 +EBUILD cgi-0.3.6.ebuild 891 BLAKE2B d8254a17cd35a3b21167a99cb1c24fdf3be55982699de2982c41b9e53954c652bcf2f5d516c6e91e71a5515ac30db24f89d34800dfc9382ad917c16d7fc88f5b SHA512 f32da890688fc1952d8353fa84f3929ae94d6bcd1081dd7825be6185bc87aa7aad40a54b68c4616fa905bd5c698da8a4df3ab9b8b9607646fa764e38def7ff8c +MISC metadata.xml 335 BLAKE2B c5d42986457506e5715f519f23b9fb12437442728165e75c4ae4e01515e208a823f9a9e2eee6338521e94c2c753bda908e7d7aa5957c9af7afa27990441bf959 SHA512 b0c1c3698dbe6d93d30caa674bd3feb6c1404856a60ddd7c6e5ef1dba38243642247aa09b3e811d8a269b3df094dfd1ee7c75511a5ae7a21d737a521309ead9a diff --git a/dev-ruby/cgi/cgi-0.3.6.ebuild b/dev-ruby/cgi/cgi-0.3.6.ebuild new file mode 100644 index 000000000000..ae4e5eb14392 --- /dev/null +++ b/dev-ruby/cgi/cgi-0.3.6.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTENSIONS=(ext/cgi/escape/extconf.rb) +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="cgi.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Support for the Common Gateway Interface protocol" +HOMEPAGE="https://github.com/ruby/cgi" +SRC_URI="https://github.com/ruby/cgi/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Ruby-BSD BSD-2 )" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="0" +IUSE="test" + +all_ruby_prepare() { + sed -i -e "/spec.version/ s/= version/= '${PV}'/" ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -rtest/lib/helper -e "Dir['test/**/test_*.rb'].each { require _1 }" || die +} diff --git a/dev-ruby/cgi/metadata.xml b/dev-ruby/cgi/metadata.xml new file mode 100644 index 000000000000..e0de6a47df17 --- /dev/null +++ b/dev-ruby/cgi/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">ruby/cgi</remote-id> + </upstream> +</pkgmetadata> |