summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-11-26 07:41:05 +0100
committerHans de Graaff <graaff@gentoo.org>2017-11-26 07:41:05 +0100
commit35852ca085323d42a5005c021ef9bc0821293ec9 (patch)
treefd0d24b9f8b5f09ac01a0964e97ae84cc356ef83 /www-servers/adsf/adsf-1.3.1.ebuild
parentdev-perl/Net-Jabber: Fix test failures due to '.' in @INC bug #622998 (diff)
downloadgentoo-35852ca085323d42a5005c021ef9bc0821293ec9.tar.gz
gentoo-35852ca085323d42a5005c021ef9bc0821293ec9.tar.bz2
gentoo-35852ca085323d42a5005c021ef9bc0821293ec9.zip
www-servers/adsf: add 1.3.1
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'www-servers/adsf/adsf-1.3.1.ebuild')
-rw-r--r--www-servers/adsf/adsf-1.3.1.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/www-servers/adsf/adsf-1.3.1.ebuild b/www-servers/adsf/adsf-1.3.1.ebuild
new file mode 100644
index 000000000000..51594e75de21
--- /dev/null
+++ b/www-servers/adsf/adsf-1.3.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 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"
+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/,/^)/ s:^:#:' test/helper.rb || die
+ sed -i -e '/rubocop/I s:^:#:' Rakefile || die
+}