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 0A097158043 for ; Sat, 20 Apr 2024 07:47:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA4B3E2A0E; Sat, 20 Apr 2024 07:47:25 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9C9FBE2A0E for ; Sat, 20 Apr 2024 07:47:25 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3DAE34336B for ; Sat, 20 Apr 2024 07:47:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FB691743 for ; Sat, 20 Apr 2024 07:47:23 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1713599231.d0ce5bb94792b05742a3f1983c1594b0cd044637.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/adsf/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/adsf/Manifest www-servers/adsf/adsf-1.5.0.ebuild X-VCS-Directories: www-servers/adsf/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d0ce5bb94792b05742a3f1983c1594b0cd044637 X-VCS-Branch: master Date: Sat, 20 Apr 2024 07:47:23 +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: ecd1ab6d-fde5-443a-8ba7-e701067b6953 X-Archives-Hash: c29e52fb21d97281c731637919853cbb commit: d0ce5bb94792b05742a3f1983c1594b0cd044637 Author: Hans de Graaff gentoo org> AuthorDate: Sat Apr 20 07:41:52 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Apr 20 07:47:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ce5bb9 www-servers/adsf: add 1.5.0 Signed-off-by: Hans de Graaff gentoo.org> www-servers/adsf/Manifest | 1 + www-servers/adsf/adsf-1.5.0.ebuild | 44 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/www-servers/adsf/Manifest b/www-servers/adsf/Manifest index 6e310198ffcc..3d8238915004 100644 --- a/www-servers/adsf/Manifest +++ b/www-servers/adsf/Manifest @@ -1,2 +1,3 @@ DIST adsf-1.4.6.tar.gz 172010 BLAKE2B ebe73723403f60d6eb98719e3149e401a70016ca4693d452ba02fc67bd48b176507ee67ebee36aed96046b13c2b194ac920f4ad87f069a379bdacdb5899e1d94 SHA512 22c579cb47917ccf85de2b459bd7bac681b77929e89ab5ba701515d2b44897513cf953db12b85b821f56c1594ed20c156498a35d1a463307a7b9959f54dd419d DIST adsf-1.4.8.tar.gz 174680 BLAKE2B b9b17992d88867e7d1681bec40ab200030f964bd47988661f85bad91492255a093bee393ea17f25acec69395260b0dc93eb0ee4c0e36f9d0b14fc04a00278eea SHA512 2cdb530620fe1f50703ce6a06be2d537b5ca6b9c684964c21ee531fac683655537dfee670f18271c6428a053f12a9cea1247f5deef6b96562b35b3cc20cf61fc +DIST adsf-1.5.0.tar.gz 175804 BLAKE2B d6e0173d9fff05ad089ad8cb5136ddc8dbb506c9f942aea12237d90455acaa959c4e1ae8bfb7f0fda392e34b6dca68a6a02b1c01ab64ae219a13a51ad936e361 SHA512 13fc104c338b762ad690dbeee71effe2c1afde87b3391727fd4553fde3623ba9af6ff46fefb95c92fce10395781e48dc9f3798e9ece885d69f004ecf16947af7 diff --git a/www-servers/adsf/adsf-1.5.0.ebuild b/www-servers/adsf/adsf-1.5.0.ebuild new file mode 100644 index 000000000000..035766ba9122 --- /dev/null +++ b/www-servers/adsf/adsf-1.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md ../README.md" + +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_GEMSPEC="adsf.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Dead Simple Fileserver is a static file server that can launch in a directory" +HOMEPAGE="https://github.com/denisdefreyne/adsf/" +SRC_URI="https://github.com/denisdefreyne/adsf/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${P}/adsf" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~riscv" +IUSE="test" + +ruby_add_rdepend " + || ( dev-ruby/rack:3.0 dev-ruby/rack:2.2 ) + >=dev-ruby/rackup-2.1:2 +" + +ruby_add_bdepend "test? ( dev-ruby/rack-test )" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/SimpleCov.command_name/ s:^:#:' \ + -e '/websocket/ s:^:#:' test/helper.rb || die + sed -e '/test_receives_update/,/^ end/ s:^:#:' \ + -e '/test_non_local_interfaces/askip "networking"' \ + -e '/test_default_config__serve_index_html_in_subdir_missing_slash/askip "encoding"' \ + -e /'test_auto_extenion__defers_to_subdir_with_index/askip "encoding"' \ + -i test/test_server.rb || die + sed -i -e '/rubocop/I s:^:#:' Rakefile || die + rm -f test/test_version.rb || die + + sed -i -e "s:require_relative ':require './:" ${RUBY_FAKEGEM_GEMSPEC} || die +}