diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-09-01 07:44:43 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-09-01 07:44:43 +0200 |
commit | a32ef2fe7cdf0677d9e728c1d116978aecd1d82a (patch) | |
tree | c8a9984a85de30cec85a577b2271bd01fcac4d9a /dev-ruby | |
parent | dev-python/sip: drop 4.19.25-r1 (last of SLOT=0) (diff) | |
download | gentoo-a32ef2fe7cdf0677d9e728c1d116978aecd1d82a.tar.gz gentoo-a32ef2fe7cdf0677d9e728c1d116978aecd1d82a.tar.bz2 gentoo-a32ef2fe7cdf0677d9e728c1d116978aecd1d82a.zip |
dev-ruby/cgi: new package, add 0.3.6
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/cgi/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/cgi/cgi-0.3.6.ebuild | 28 | ||||
-rw-r--r-- | dev-ruby/cgi/metadata.xml | 11 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/cgi/Manifest b/dev-ruby/cgi/Manifest new file mode 100644 index 000000000000..083b9277b139 --- /dev/null +++ b/dev-ruby/cgi/Manifest @@ -0,0 +1 @@ +DIST cgi-0.3.6.tar.gz 221001 BLAKE2B 71f5091c132ec154520f6538a2ba06c164e1ed30f4cc8018052ab49605c674430108d7a87f7bf4b9dc0e1602fd3edd273af0d918de7725ca0127f67516deb1f3 SHA512 13f620b38eb4448da4184c80ff33e64bcaacf6ebff8eed219267ec33c1ed75f119a90f37503b21a835612b417100877cacf0a683f4854f97941c9e22618bf658 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> |