diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
commit | 401101f9c8077911929d3f2b60a37098460a5d89 (patch) | |
tree | c2bef4719f6787550f0916aeaa8f4f403a9296af /www-servers/adsf | |
parent | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (diff) |
gentoo resync : 25.03.2022
Diffstat (limited to 'www-servers/adsf')
-rw-r--r-- | www-servers/adsf/Manifest | 1 | ||||
-rw-r--r-- | www-servers/adsf/adsf-1.4.6-r1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/www-servers/adsf/Manifest b/www-servers/adsf/Manifest index fbc490675533..a1ede7c47157 100644 --- a/www-servers/adsf/Manifest +++ b/www-servers/adsf/Manifest @@ -3,5 +3,6 @@ DIST adsf-1.4.5.tar.gz 171986 BLAKE2B c8d2b732d5930b3ab2da9b016f1b1962c07fad85e7 DIST adsf-1.4.6.tar.gz 172010 BLAKE2B ebe73723403f60d6eb98719e3149e401a70016ca4693d452ba02fc67bd48b176507ee67ebee36aed96046b13c2b194ac920f4ad87f069a379bdacdb5899e1d94 SHA512 22c579cb47917ccf85de2b459bd7bac681b77929e89ab5ba701515d2b44897513cf953db12b85b821f56c1594ed20c156498a35d1a463307a7b9959f54dd419d EBUILD adsf-1.4.3.ebuild 1092 BLAKE2B e28630172fd9b75c701ab328c7af735ade44da3065438fbfe6002af70295f0a3b7b068e4e500a687322dfb9278510f20b5ce174a5c1e76ce900499d18860fe21 SHA512 d800172b2ae21a70c1f0577d3a8a1f06b42db5bef619b110df007a07cc63024afb265069b0360eae1d412a9e1b44f316cc80db1964a5908e91e576aa4d2d8a4a EBUILD adsf-1.4.5.ebuild 1181 BLAKE2B 30fbb5eb7827ee81f9f7c48c062a82d87277cba3567913950c2efdde679bb52e6dbe6aaec982a913f481ba568139fcba70e43610aade9dcc2ffd4d5e3adb6f39 SHA512 a1837552c27d08cbe422a0d94446f3e67302f279dff03f27303d5387bcf2595c173d1fcbd1e89b55b387c1325dfa439d86d25a314e2f59839de922b7b24a97c9 +EBUILD adsf-1.4.6-r1.ebuild 1188 BLAKE2B 38338e95e2d9378eed7c22a4f192019b6ade4406ae0c67c1340d6163b943aba7fdf1b2a410120327a23ec732fbb926a8a1474124a8bb02b47c4614b0b397a52d SHA512 6cd42b50e1eb8b56f925ce50300d33d45711d77f1527e6eb1e028a75560463e779eadea3a045fe0b863437e2d8186ebd9d929f434b3ea0c6cefa072d7527665f EBUILD adsf-1.4.6.ebuild 1188 BLAKE2B 1aea6eb53c522fd89b6f94daf71c322a9fc95395e028ebee7e83ceb52be3fdfb95a5caa3b8ba3ebd1d62b495826ceb4c0ce54ef51429220986103886815a74f9 SHA512 f4babd3a636a673b102b1c93abe530703951a7b6700343f7cd5e341a70c9ad2d32f6d3c7be8b12e68566a1f7d3e2ef2237e1f88fa4eb9491b7558b29ca05902f MISC metadata.xml 296 BLAKE2B 6d57cbedc9fdac959e6b6dd3e0f97f322d598d9edbaf717a94692b3ced46abec2bbd47bcb405bb3668bd0ca4c1d94774bfaef28fa8d6191b557bacf9a21faf0a SHA512 0467b710492dd4fd51583fdc97144da36f52886ccedecc1ab59509f5e3e16488548176f1432d9d3f1e4a09ea9ccb1311e2bca3362302c5889b5ccbd2cec0bc95 diff --git a/www-servers/adsf/adsf-1.4.6-r1.ebuild b/www-servers/adsf/adsf-1.4.6-r1.ebuild new file mode 100644 index 000000000000..0d67069e41bf --- /dev/null +++ b/www-servers/adsf/adsf-1.4.6-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +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 ~riscv" +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 +} |