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 CA6D9158089 for ; Fri, 20 Oct 2023 05:35:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D37642BC031; Fri, 20 Oct 2023 05:35:34 +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 B45E12BC031 for ; Fri, 20 Oct 2023 05:35:34 +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 9A82D335D2F for ; Fri, 20 Oct 2023 05:35:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF1001299 for ; Fri, 20 Oct 2023 05:35:31 +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: <1697780072.44e166261fc3619d79123e609082f28d8aca1602.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.4.8.ebuild X-VCS-Directories: www-servers/adsf/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 44e166261fc3619d79123e609082f28d8aca1602 X-VCS-Branch: master Date: Fri, 20 Oct 2023 05:35:31 +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: c9c96d50-57b8-411c-bb07-633a8e6ec5ed X-Archives-Hash: ca7363325ab3798b0599122e4744b987 commit: 44e166261fc3619d79123e609082f28d8aca1602 Author: Hans de Graaff gentoo org> AuthorDate: Fri Oct 20 05:34:32 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Oct 20 05:34:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e16626 www-servers/adsf: add 1.4.8 Signed-off-by: Hans de Graaff gentoo.org> www-servers/adsf/Manifest | 1 + www-servers/adsf/adsf-1.4.8.ebuild | 40 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/www-servers/adsf/Manifest b/www-servers/adsf/Manifest index bb3beb362df0..6e310198ffcc 100644 --- a/www-servers/adsf/Manifest +++ b/www-servers/adsf/Manifest @@ -1 +1,2 @@ DIST adsf-1.4.6.tar.gz 172010 BLAKE2B ebe73723403f60d6eb98719e3149e401a70016ca4693d452ba02fc67bd48b176507ee67ebee36aed96046b13c2b194ac920f4ad87f069a379bdacdb5899e1d94 SHA512 22c579cb47917ccf85de2b459bd7bac681b77929e89ab5ba701515d2b44897513cf953db12b85b821f56c1594ed20c156498a35d1a463307a7b9959f54dd419d +DIST adsf-1.4.8.tar.gz 174680 BLAKE2B b9b17992d88867e7d1681bec40ab200030f964bd47988661f85bad91492255a093bee393ea17f25acec69395260b0dc93eb0ee4c0e36f9d0b14fc04a00278eea SHA512 2cdb530620fe1f50703ce6a06be2d537b5ca6b9c684964c21ee531fac683655537dfee670f18271c6428a053f12a9cea1247f5deef6b96562b35b3cc20cf61fc diff --git a/www-servers/adsf/adsf-1.4.8.ebuild b/www-servers/adsf/adsf-1.4.8.ebuild new file mode 100644 index 000000000000..409a4354929d --- /dev/null +++ b/www-servers/adsf/adsf-1.4.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +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" + +KEYWORDS="~amd64 ~riscv" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rack-1.0.0:* >=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"' \ + -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 +}