summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-02-02 08:13:20 +0100
committerHans de Graaff <graaff@gentoo.org>2018-02-02 09:52:44 +0100
commitbccd3cd46b70c091a7569360bb690d5688576eb4 (patch)
tree9628e7d9e6f34c863423ef993d3483a07543bd5b /www-servers
parentsys-apps/iproute2: Synced live ebuild. (diff)
downloadgentoo-bccd3cd46b70c091a7569360bb690d5688576eb4.tar.gz
gentoo-bccd3cd46b70c091a7569360bb690d5688576eb4.tar.bz2
gentoo-bccd3cd46b70c091a7569360bb690d5688576eb4.zip
www-servers/adsf: add 1.4.0
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/adsf/Manifest1
-rw-r--r--www-servers/adsf/adsf-1.4.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/www-servers/adsf/Manifest b/www-servers/adsf/Manifest
index 9d58f7a76f2..05055800bfb 100644
--- a/www-servers/adsf/Manifest
+++ b/www-servers/adsf/Manifest
@@ -1,3 +1,4 @@
DIST adsf-1.2.1.tar.gz 162912 BLAKE2B 2503f8e85940e417956e3fcd5b1c12030f1a76c8b12391bce4cfb4ac9c717e50516b825846b51c301a31c6bfb04341547df3c80fa607bb9785d3c150c92c5640 SHA512 88cdc903f21bb3e86fbbfec88ae9650a4676d5d57c526befd1f483bb5281501f28e2ffb6fda8e2b06f891b8f4bbd15a3e6a1c90a96e3eef1c6b4a13a39f1b8cd
DIST adsf-1.3.0.tar.gz 164989 BLAKE2B fcfbe3f883f1e194fc69266d1a617cbd1a71d9c9f60f8997fb057602871dd3032d4fd69a460481e7e62dc4da9440da5a9e8509a021e9856fc72036573b9839b3 SHA512 41f72c6bbcfee5ef9e803ca18e6746c9190e5d6c4e695b5939ce232b920a58bfcf608c619ac76c9c5a208ca473fb9ad9869636ef3c57079747b50b879b6db156
DIST adsf-1.3.1.tar.gz 165956 BLAKE2B 08e449c39670ea4e09d69e244c346f0fe689130d83e8faf7806b65e1449d115305be1b45668ac5c27db772cab554c9eb2029b4a9d42bd25165532b2d67df09a1 SHA512 7e923a84d57eda40f0220fac84f0a259780504ce615361a962eda5d7c2dbfe335b57a91b70b7c84b9b30132398594da37c85b84379670cc5116607017bf6a85e
+DIST adsf-1.4.0.tar.gz 170180 BLAKE2B 2a5c741351908ad37d964b755a4a9a5d8f3137099de6437ac854eb9027792fd7b63c0a26d08b46e971ed8357ff78a0b67a120d7d29d6bd035e78d5a62d04bb5a SHA512 b656d9163706e71e01ce157638cc1f64af4c3c267a9d8b290a9d8069ac9ac470ccb15338275fadb4ae821dfaa172851b1d8fe187b555d40bc428f7f179964667
diff --git a/www-servers/adsf/adsf-1.4.0.ebuild b/www-servers/adsf/adsf-1.4.0.ebuild
new file mode 100644
index 00000000000..20663029737
--- /dev/null
+++ b/www-servers/adsf/adsf-1.4.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+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
+}