From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1291512-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 0F96313835A
	for <garchives@archives.gentoo.org>; Tue,  8 Jun 2021 07:35:00 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 64DE5E086B;
	Tue,  8 Jun 2021 07:34:59 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 50925E086B
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Jun 2021 07:34:59 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 2BA44340DDA
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Jun 2021 07:34:58 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E6037B0
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Jun 2021 07:34:55 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1623137679.a84b2faf0da902cf21bb9722f05ecf54e032ac3a.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cjs/files/, gnome-extra/cjs/
X-VCS-Repository: repo/gentoo
X-VCS-Files: gnome-extra/cjs/cjs-5.0.0.ebuild gnome-extra/cjs/files/cjs-5.0.0-fix-test.patch
X-VCS-Directories: gnome-extra/cjs/files/ gnome-extra/cjs/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: a84b2faf0da902cf21bb9722f05ecf54e032ac3a
X-VCS-Branch: master
Date: Tue,  8 Jun 2021 07:34:55 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: a2e488d9-e158-495f-b1f6-d609686f92fa
X-Archives-Hash: eb143ec3bff8852d05c420fe7010214a

commit:     a84b2faf0da902cf21bb9722f05ecf54e032ac3a
Author:     Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com>
AuthorDate: Sun Jun  6 06:23:28 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun  8 07:34:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a84b2faf

gnome-extra/cjs: fix failing test

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com>
Closes: https://github.com/gentoo/gentoo/pull/21047
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gnome-extra/cjs/cjs-5.0.0.ebuild               |  4 ++++
 gnome-extra/cjs/files/cjs-5.0.0-fix-test.patch | 24 ++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/gnome-extra/cjs/cjs-5.0.0.ebuild b/gnome-extra/cjs/cjs-5.0.0.ebuild
index 59ef8a7d5a6..b6ffaef22ef 100644
--- a/gnome-extra/cjs/cjs-5.0.0.ebuild
+++ b/gnome-extra/cjs/cjs-5.0.0.ebuild
@@ -39,6 +39,10 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+PATCHES=(
+	"${FILESDIR}/${PN}-5.0.0-fix-test.patch"
+)
+
 src_prepare() {
 	default
 	python_fix_shebang build

diff --git a/gnome-extra/cjs/files/cjs-5.0.0-fix-test.patch b/gnome-extra/cjs/files/cjs-5.0.0-fix-test.patch
new file mode 100644
index 00000000000..347ca090782
--- /dev/null
+++ b/gnome-extra/cjs/files/cjs-5.0.0-fix-test.patch
@@ -0,0 +1,24 @@
+From ac2737f524b4d667a7700b8ff077cd603ee21c59 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz@archlinux.org>
+Date: Thu, 3 Jun 2021 05:21:51 -0400
+Subject: [PATCH] fix failing test checking for version number (#94)
+
+---
+ installed-tests/js/testSystem.js | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/installed-tests/js/testSystem.js b/installed-tests/js/testSystem.js
+index a4c098c0..8ae8c74a 100644
+--- a/installed-tests/js/testSystem.js
++++ b/installed-tests/js/testSystem.js
+@@ -11,8 +11,8 @@ describe('System.addressOf()', function () {
+ 
+ describe('System.version', function () {
+     it('gives a plausible number', function () {
+-        expect(System.version).not.toBeLessThan(14700);
+-        expect(System.version).toBeLessThan(50000);
++        expect(System.version).not.toBeLessThan(40802);
++        expect(System.version).toBeLessThan(60000);
+     });
+ });
+