diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-03-07 08:49:03 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-03-07 08:49:28 +0100 |
commit | bc1a8e4810df8f9c63cc1d5b888ef874f588777a (patch) | |
tree | 79b5e277d48a2a8b37011f3789b929f0fe845b3a /www-servers | |
parent | sci-astronomy/stellarium: stabilize 0.20.3 on ppc (diff) | |
download | gentoo-bc1a8e4810df8f9c63cc1d5b888ef874f588777a.tar.gz gentoo-bc1a8e4810df8f9c63cc1d5b888ef874f588777a.tar.bz2 gentoo-bc1a8e4810df8f9c63cc1d5b888ef874f588777a.zip |
www-servers/adsf: add 1.4.5
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/adsf/Manifest | 1 | ||||
-rw-r--r-- | www-servers/adsf/adsf-1.4.5.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/www-servers/adsf/Manifest b/www-servers/adsf/Manifest index 1c561f29ba44..c04a71b09601 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 000000000000..70f2b793b1d1 --- /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 +} |