summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-05-27 07:13:04 +0200
committerHans de Graaff <graaff@gentoo.org>2019-05-27 07:21:34 +0200
commit1c8a82e1377890bdab9f15c133c01cbef812a625 (patch)
tree8de95409580b7a6e60050800587ec70055cd18bb /www-servers
parentdev-ruby/path_expander: cleanup (diff)
downloadgentoo-1c8a82e1377890bdab9f15c133c01cbef812a625.tar.gz
gentoo-1c8a82e1377890bdab9f15c133c01cbef812a625.tar.bz2
gentoo-1c8a82e1377890bdab9f15c133c01cbef812a625.zip
www-servers/adsf: add 1.4.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/adsf/Manifest1
-rw-r--r--www-servers/adsf/adsf-1.4.2.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/www-servers/adsf/Manifest b/www-servers/adsf/Manifest
index b0a1e87e9ab..9c791edf842 100644
--- a/www-servers/adsf/Manifest
+++ b/www-servers/adsf/Manifest
@@ -1 +1,2 @@
DIST adsf-1.4.1.tar.gz 170221 BLAKE2B 41a87135b74e62c9d39c64839e7802b3decc47bee04cdd93eb0e1bec6361a654378e9c310bbd18a0bddeb834f444ff67aa0f8efe21dd7ffc94c876db3230b469 SHA512 b0334102308b6ecaead6db1f7b28c3bc27a9ac853fd055e9695e9bcf36ba25db890cae57a91195d398debdfd84b5d6c7ce9142d6bd5bdd30220170210b3cdf6f
+DIST adsf-1.4.2.tar.gz 170414 BLAKE2B e5f4a6f562718f335af0a9ad93d520422a5dddee0b7a737ebcf29f9b597e38422dec6c0e12fbb330d0bd17c4f7e92527f893b08576fc796316ffa1fa31870911 SHA512 20c3000a7c6cc3098ae8473aa6752d84b739492ce2011ca8bb9f31e265eb4fe11ebd8899d934653947cf07f81932511aea5ce542b7452331ab8e49ee4eedcab3
diff --git a/www-servers/adsf/adsf-1.4.2.ebuild b/www-servers/adsf/adsf-1.4.2.ebuild
new file mode 100644
index 00000000000..2e8d1a60f04
--- /dev/null
+++ b/www-servers/adsf/adsf-1.4.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_EXTRADOC="../NEWS.md ../README.md"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+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 -i -e '/test_receives_update/,/^ end/ s:^:#:' test/test_server.rb || die
+ sed -i -e '/rubocop/I s:^:#:' Rakefile || die
+ rm -f test/test_version.rb || die
+}