From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DE0B3158041 for ; Sun, 7 Apr 2024 20:45:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89F9E2BC017; Sun, 7 Apr 2024 20:45:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 652A92BC017 for ; Sun, 7 Apr 2024 20:45:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 45A1C343122 for ; Sun, 7 Apr 2024 20:45:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BAFB1698 for ; Sun, 7 Apr 2024 20:45:16 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1712521733.2623ec73cbe7bedd5289d2a3b722fded2c36c21f.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: www-apps/freshrss/, www-apps/freshrss/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-apps/freshrss/files/disable-network-tests.patch www-apps/freshrss/freshrss-1.23.1.ebuild X-VCS-Directories: www-apps/freshrss/ www-apps/freshrss/files/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 2623ec73cbe7bedd5289d2a3b722fded2c36c21f X-VCS-Branch: master Date: Sun, 7 Apr 2024 20:45:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 943b30bf-1574-4f9f-b88b-76427b7cf3d4 X-Archives-Hash: 98aa776274129cb735589b2f50242b18 Message-ID: <20240407204516.LSCuc320i9Q2t575EhYoHu_YqFHTpQm7GbCDNkUBnzs@z> commit: 2623ec73cbe7bedd5289d2a3b722fded2c36c21f Author: Julien Roy jroy ca> AuthorDate: Sun Apr 7 20:28:20 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Sun Apr 7 20:28:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2623ec73 www-apps/freshrss: add patch to disable network tests Closes: https://bugs.gentoo.org/928082 Signed-off-by: Julien Roy jroy.ca> .../freshrss/files/disable-network-tests.patch | 31 ++++++++++++++++++++++ www-apps/freshrss/freshrss-1.23.1.ebuild | 4 +++ 2 files changed, 35 insertions(+) diff --git a/www-apps/freshrss/files/disable-network-tests.patch b/www-apps/freshrss/files/disable-network-tests.patch new file mode 100644 index 0000000000..c708cbda27 --- /dev/null +++ b/www-apps/freshrss/files/disable-network-tests.patch @@ -0,0 +1,31 @@ +diff --git a/Makefile b/Makefile +index 1759c7d7..3a450b5b 100644 +--- a/Makefile ++++ b/Makefile +@@ -69,10 +69,6 @@ lint: vendor/bin/phpcs ## Run the linter on the PHP files + lint-fix: vendor/bin/phpcbf ## Fix the errors detected by the linter + $(PHP) vendor/bin/phpcbf . -p -s + +-bin/composer: +- mkdir -p bin/ +- wget 'https://raw.githubusercontent.com/composer/getcomposer.org/a19025d6c0a1ff9fc1fac341128b2823193be462/web/installer' -O - -q | php -- --quiet --install-dir='./bin/' --filename='composer' +- + vendor/bin/phpunit: bin/composer + bin/composer install --prefer-dist --no-progress + ln -s ../vendor/bin/phpunit bin/phpunit +@@ -85,15 +81,6 @@ vendor/bin/phpcbf: bin/composer + bin/composer install --prefer-dist --no-progress + ln -s ../vendor/bin/phpcbf bin/phpcbf + +-bin/typos: +- mkdir -p bin/ +- cd bin ; \ +- wget -q 'https://github.com/crate-ci/typos/releases/download/v1.16.21/typos-v1.16.21-x86_64-unknown-linux-musl.tar.gz' && \ +- tar -xvf *.tar.gz './typos' && \ +- chmod +x typos && \ +- rm *.tar.gz ; \ +- cd .. +- + node_modules/.bin/eslint: + npm install + diff --git a/www-apps/freshrss/freshrss-1.23.1.ebuild b/www-apps/freshrss/freshrss-1.23.1.ebuild index e599f8e58c..0aff7597da 100644 --- a/www-apps/freshrss/freshrss-1.23.1.ebuild +++ b/www-apps/freshrss/freshrss-1.23.1.ebuild @@ -26,6 +26,10 @@ DEPEND="${RDEPEND}" need_httpd_fastcgi +PATCHES=( + "${FILESDIR}"/disable-network-tests.patch +) + src_compile() { : }