dev-ruby/duktape-rb: drop 2.3.0.0-r3

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-03-20 13:15:59 +00:00
parent 27d6637efb
commit e76d5f1ebc
3 changed files with 0 additions and 78 deletions

View File

@@ -1,2 +1 @@
DIST duktape-rb-2.3.0.0.tar.gz 1356464 BLAKE2B be7362ddbe6860bcb12c8f8909f66ae525585e628f7be2317b07eb07960f8f25e503dbc89e713e57144cc8108751ac856aa73a16cbd58502e928acf9e116247c SHA512 af4fd45387c3f40cd24bf3c879ef4e0d7efd43ca24f0cb866bf869db7fa9f4add9b60122c0dcfbce5491cdd7479b1414637fa1054078216b9f57fa426feb0154
DIST duktape-rb-2.7.0.0.tar.gz 1385934 BLAKE2B 1a3a7ea2c1469ddf9ac482e4329726e0f96823e75153027cf83155cca796cd0380d816a23d617e4bc40e72215acdc524fcb9575711e585952aeb9c6ed85ede70 SHA512 e91f57c2789aeb26aecbd9759c0b8cda457f290fcbe431fee721d01c1987c64f307f0e042b50cf6b4fa468d41c6365adde8395e2a33a8c637f6524af1c7cf028

View File

@@ -1,49 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby26 ruby27"
RUBY_FAKEGEM_GEMSPEC="duktape.gemspec"
RUBY_FAKEGEM_NAME="duktape"
RUBY_FAKEGEM_EXTENSIONS=(ext/duktape/extconf.rb)
inherit ruby-fakegem
MY_PN=${PN/-/\.}
MY_P=${MY_PN}-${PV}
DESCRIPTION="Ruby bindings to the Duktape JavaScript interpeter"
HOMEPAGE="https://github.com/judofyr/duktape.rb"
SRC_URI="https://github.com/judofyr/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ppc ~riscv"
COMMON_DEPEND="dev-lang/duktape:="
DEPEND+="${COMMON_DEPEND}"
RDEPEND+="${COMMON_DEPEND}"
ruby_add_bdepend "
dev-ruby/pkg-config
dev-ruby/rake-compiler
dev-ruby/sdoc
"
PATCHES=(
"${FILESDIR}"/${PN}-2.3.0.0_duktape-2.5.0-tests.patch
"${FILESDIR}"/${PN}-2.3.0.0_use-system-duktape.patch
)
RUBY_S=${MY_P}
all_ruby_prepare() {
rm ext/duktape/duktape.{c,h} ext/duktape/duk_config.h || die "Failed to remove bundled duktape"
}
each_ruby_test() {
${RUBY} test/test_duktape.rb || die
}

View File

@@ -1,28 +0,0 @@
The parse-error message asserted by two of the tests has changed since
duktape-2.3.0, it is now
# encoding: ASCII-8BIT
parse error (line 1, end of input)
This should hopefully cover both cases.
--- a/test/test_duktape.rb
+++ b/test/test_duktape.rb
@@ -102,7 +102,7 @@
@ctx.eval_string('{')
end
- assert_equal "parse error (line 1)", err.message
+ assert_match /parse error [(]line 1/, err.message
end
def test_type_error
@@ -160,7 +160,7 @@
@ctx.exec_string('{')
end
- assert_equal "parse error (line 1)", err.message
+ assert_match /parse error [(]line 1/, err.message
end
def test_type_error