* [gentoo-commits] repo/proj/guru:dev commit in: www-servers/thin/
@ 2020-12-14 15:18 Andrea Postiglione
0 siblings, 0 replies; 4+ messages in thread
From: Andrea Postiglione @ 2020-12-14 15:18 UTC (permalink / raw
To: gentoo-commits
commit: 3dc60ca59d96a01cb752e05e59b3fe936fa57de1
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
AuthorDate: Mon Dec 14 15:17:43 2020 +0000
Commit: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
CommitDate: Mon Dec 14 15:17:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3dc60ca5
www-servers/thin-1.8.0: add IUSE
Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com>
www-servers/thin/thin-1.8.0.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/www-servers/thin/thin-1.8.0.ebuild b/www-servers/thin/thin-1.8.0.ebuild
index bb8cdbb2..2715b040 100644
--- a/www-servers/thin/thin-1.8.0.ebuild
+++ b/www-servers/thin/thin-1.8.0.ebuild
@@ -14,6 +14,7 @@ SRC_URI="https://github.com/macournoyer/thin/archive/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="Ruby"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
ruby_add_depend "
dev-ruby/eventmachine
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-servers/thin/
2020-12-16 13:12 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-12-16 13:12 ` Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2020-12-16 13:12 UTC (permalink / raw
To: gentoo-commits
commit: a690f31cc5e78f9f0b507bbca158d0ba05defaab
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Dec 16 13:12:32 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Dec 16 13:12:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a690f31c
www-servers/thin: remove blank line
makes repoman happy
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
www-servers/thin/thin-1.8.0.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/www-servers/thin/thin-1.8.0.ebuild b/www-servers/thin/thin-1.8.0.ebuild
index 2715b040..3ea7476f 100644
--- a/www-servers/thin/thin-1.8.0.ebuild
+++ b/www-servers/thin/thin-1.8.0.ebuild
@@ -57,7 +57,6 @@ all_ruby_prepare() {
use doc || rm tasks/rdoc.rake
}
-
each_ruby_configure() {
${RUBY} -Cext/thin_parser extconf.rb || die
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-servers/thin/
@ 2021-05-03 17:35 Anna Vyalkova
0 siblings, 0 replies; 4+ messages in thread
From: Anna Vyalkova @ 2021-05-03 17:35 UTC (permalink / raw
To: gentoo-commits
commit: 82b1c42abeded95e19e1e234770ae41f46591c15
Author: Anna Vyalkova <cyber <AT> sysrq <DOT> in>
AuthorDate: Mon May 3 17:33:58 2021 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon May 3 17:35:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=82b1c42a
www-servers/thin: fix failing tests and flags
Closes: https://bugs.gentoo.org/787827
Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in>
www-servers/thin/thin-1.8.0.ebuild | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/www-servers/thin/thin-1.8.0.ebuild b/www-servers/thin/thin-1.8.0.ebuild
index 3ea7476f7..9f43ab603 100644
--- a/www-servers/thin/thin-1.8.0.ebuild
+++ b/www-servers/thin/thin-1.8.0.ebuild
@@ -5,6 +5,10 @@ EAPI=7
USE_RUBY="ruby24 ruby25 ruby26"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
inherit ruby-fakegem
DESCRIPTION="This a Ruby gem that delivers a thin and fast web server"
@@ -22,8 +26,6 @@ ruby_add_depend "
dev-ruby/rack
"
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
-
all_ruby_prepare() {
# Fix Ragel-based parser generation (uses a *very* old syntax that
# is not supported in Gentoo)
@@ -49,8 +51,8 @@ all_ruby_prepare() {
-e '/tracing routines (with NO custom logger)/,/^ end/ s:^:#:'\
spec/logging_spec.rb || die
- find spec/perf -name "*_spec.rb" -exec \
- sed -i '/be_faster_then/ i \ pending' {} \;
+ # Remove failing perfomance tests
+ rm -r spec/perf || die
sed -i -e "s/Spec::Runner/Rspec/" spec/spec_helper.rb || die
# nasty but too complex to fix up for now :(
@@ -58,16 +60,16 @@ all_ruby_prepare() {
}
each_ruby_configure() {
- ${RUBY} -Cext/thin_parser extconf.rb || die
+ ${RUBY} -Cext/thin_parser extconf.rb || die
}
each_ruby_compile() {
- emake V=1 -Cext/thin_parser
- cp ext/thin_parser/thin_parser.so lib/ || die
+ emake V=1 CFLAGS="${CFLAGS} -fPIC" DLDFLAGS="${LDFLAGS}" -Cext/thin_parser
+ cp ext/thin_parser/thin_parser.so lib/ || die
}
all_ruby_install() {
- ruby_fakegem_binwrapper thin
+ ruby_fakegem_binwrapper thin
}
all_ruby_install() {
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-servers/thin/
@ 2021-07-11 22:28 Alessandro Barbieri
0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-07-11 22:28 UTC (permalink / raw
To: gentoo-commits
commit: 38100aaf444c2945f19b8537444088861dc85157
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jul 11 22:27:57 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Jul 11 22:27:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=38100aaf
www-servers/thin: remove ruby25
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
www-servers/thin/thin-1.8.0.ebuild | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/www-servers/thin/thin-1.8.0.ebuild b/www-servers/thin/thin-1.8.0.ebuild
index 9f43ab603..d1d45d546 100644
--- a/www-servers/thin/thin-1.8.0.ebuild
+++ b/www-servers/thin/thin-1.8.0.ebuild
@@ -1,13 +1,11 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby24 ruby25 ruby26"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+USE_RUBY="ruby26"
inherit ruby-fakegem
@@ -56,7 +54,9 @@ all_ruby_prepare() {
sed -i -e "s/Spec::Runner/Rspec/" spec/spec_helper.rb || die
# nasty but too complex to fix up for now :(
- use doc || rm tasks/rdoc.rake
+ if ! use doc; then
+ rm tasks/rdoc.rake || die
+ fi
}
each_ruby_configure() {
@@ -76,8 +76,8 @@ all_ruby_install() {
all_fakegem_install
keepdir /etc/thin
- newinitd "${FILESDIR}"/${PN}.initd-r4 ${PN}
- newconfd "${FILESDIR}"/${PN}.confd-2 ${PN}
+ newinitd "${FILESDIR}/${PN}.initd-r4" "${PN}"
+ newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
einfo
elog "Thin is now shipped with init scripts."
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-11 22:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-14 15:18 [gentoo-commits] repo/proj/guru:dev commit in: www-servers/thin/ Andrea Postiglione
-- strict thread matches above, loose matches on Subject: below --
2020-12-16 13:12 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-12-16 13:12 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-05-03 17:35 Anna Vyalkova
2021-07-11 22:28 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox