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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 746201382C5 for ; Sun, 7 Mar 2021 07:49:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87FDDE0825; Sun, 7 Mar 2021 07:49:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 697A6E0825 for ; Sun, 7 Mar 2021 07:49:42 +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 016EE340B10 for ; Sun, 7 Mar 2021 07:49:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D4534A8 for ; Sun, 7 Mar 2021 07:49:39 +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: <1615103368.bc1a8e4810df8f9c63cc1d5b888ef874f588777a.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.5.ebuild X-VCS-Directories: www-servers/adsf/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: bc1a8e4810df8f9c63cc1d5b888ef874f588777a X-VCS-Branch: master Date: Sun, 7 Mar 2021 07:49:39 +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: 393dd40e-f834-42a1-8ec8-25f8726657b6 X-Archives-Hash: 5fc653d44b5de6d60efd53ebdec42c61 commit: bc1a8e4810df8f9c63cc1d5b888ef874f588777a Author: Hans de Graaff gentoo org> AuthorDate: Sun Mar 7 07:49:03 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Mar 7 07:49:28 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc1a8e48 www-servers/adsf: add 1.4.5 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> www-servers/adsf/Manifest | 1 + www-servers/adsf/adsf-1.4.5.ebuild | 40 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/www-servers/adsf/Manifest b/www-servers/adsf/Manifest index 1c561f29ba4..c04a71b0960 100644 --- a/www-servers/adsf/Manifest +++ b/www-servers/adsf/Manifest @@ -1 +1,2 @@ DIST adsf-1.4.3.tar.gz 171000 BLAKE2B 7e3a524957edfd56382c788e2c551ec693dcbcac2bb807417ac63e1dffba9a8033cb058ad7bed425b7d0448ae98dc14ca53f935c83d1c699ad4f38a8700e402b SHA512 f9b30844bb1d48f139b8f8fe1a65ca404a2a9c3e98b24729bcbb08d083f1f332ecc6e2fc3ca139d1cb69bd7c49a629eaeddfbc6f5f16e4f223cda63f726e1dfc +DIST adsf-1.4.5.tar.gz 171986 BLAKE2B c8d2b732d5930b3ab2da9b016f1b1962c07fad85e740532f3e68102dc6f34c7033b6a4ad2beca88410fda03426d3eca12a85996c695f4a2208f4d5a62855f4c8 SHA512 eeca0b837999f66aaea7787b759c635a2eb6b7d19f6dfa92416fcce5bfe499e6b0c8f8c2515750801af90b7e4af9d5bacc257f0b303d4367134c5f4730a87484 diff --git a/www-servers/adsf/adsf-1.4.5.ebuild b/www-servers/adsf/adsf-1.4.5.ebuild new file mode 100644 index 00000000000..70f2b793b1d --- /dev/null +++ b/www-servers/adsf/adsf-1.4.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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/ddfreyne/adsf/" +SRC_URI="https://github.com/ddfreyne/adsf/archive/${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${P}/adsf" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rack-1.0.0:*" + +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 +}