summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-10-12 09:16:21 +0200
committerHans de Graaff <graaff@gentoo.org>2024-10-12 09:17:33 +0200
commit8a2d02fe60f2f12943cea14263ce75ae6ba87ac5 (patch)
tree894d4cddb04c2ca7085a64a1ce235097f54e6528 /www-servers
parentdev-python/h5py: Stabilize 3.12.1 amd64, #941338 (diff)
downloadgentoo-8a2d02fe60f2f12943cea14263ce75ae6ba87ac5.tar.gz
gentoo-8a2d02fe60f2f12943cea14263ce75ae6ba87ac5.tar.bz2
gentoo-8a2d02fe60f2f12943cea14263ce75ae6ba87ac5.zip
www-servers/adsf: add 1.5.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/adsf/Manifest1
-rw-r--r--www-servers/adsf/adsf-1.5.2.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/www-servers/adsf/Manifest b/www-servers/adsf/Manifest
index 3d8238915004..fb44b60502f5 100644
--- a/www-servers/adsf/Manifest
+++ b/www-servers/adsf/Manifest
@@ -1,3 +1,4 @@
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
+DIST adsf-1.5.2.tar.gz 185809 BLAKE2B c4853e9f182ec97009e78c9675a4f7d40d2612c12a8b488cf0278435c0924a93088a4ad04e8372e9a2b6dacb7c77c917059b6bcc5a0557db3b2bb3cab2f4defb SHA512 df6ccd28432f527836f551d5e441f4bfccc91766ad1039dbcbdb2e6ef03d69d1adea17b146d45892c2fb8fca14c742206736b191b6317762e66d73a4dd45722a
diff --git a/www-servers/adsf/adsf-1.5.2.ebuild b/www-servers/adsf/adsf-1.5.2.ebuild
new file mode 100644
index 000000000000..32bd95a98242
--- /dev/null
+++ b/www-servers/adsf/adsf-1.5.2.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.1 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
+}