mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-ruby/cgi: add 0.4.2
Bug: https://bugs.gentoo.org/950334 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cgi-0.4.1.tar.gz 209438 BLAKE2B 9cce9b7028ae21337686f37b10ccc0912041642407cce437d07f67a01d2cdb52319dd16686b6b33ba1757240b3876a5971892b69a04bcfa1077a1b51fec7a734 SHA512 a1224135196b02aaf418adaa21a8afbc319e49650d126baff3a965a4504e2d5eb6fa9d1cd965a0cf41b8158398b3015f3605e3390d689846a2b72f3773d8dae9
|
||||
DIST cgi-0.4.2.tar.gz 211227 BLAKE2B 4fb92dfa6f27c57086380a4ac91493fea27cb7ac517a621e1c1a0dc358c8563108695024ac3eaff3b1a4701afffc705fad57d4d600080aa47530b387fa416644 SHA512 90935aec9c06a1155fd71b9743fe5e94fe79b6fa02a147e144e55c5b939ddc6f898bd9189726db74e2c0c68f4e3d01fe939024f8397960d3b45fac2fd7226423
|
||||
|
||||
33
dev-ruby/cgi/cgi-0.4.2.ebuild
Normal file
33
dev-ruby/cgi/cgi-0.4.2.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
|
||||
|
||||
RUBY_FAKEGEM_EXTENSIONS=(ext/cgi/escape/extconf.rb)
|
||||
RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/cgi
|
||||
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 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e "/spec.version/ s/= version/= '${PV}'/" \
|
||||
-e "/spec.name/ s/= name/= '${PN}'/" \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:. -rtest/lib/helper -e "Dir['test/**/test_*.rb'].each { require _1 }" || die
|
||||
}
|
||||
Reference in New Issue
Block a user