Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/boa/files/, www-servers/boa/
Date: Sun, 05 Jan 2020 15:18:07
Message-Id: 1578237477.da7a0c260c260e875116f864228d0daf40beac11.mgorny@gentoo
1 commit: da7a0c260c260e875116f864228d0daf40beac11
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 5 15:00:15 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 5 15:17:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da7a0c26
7
8 www-servers/boa: Bump to EAPI 7
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 www-servers/boa/boa-0.94.14_rc21-r2.ebuild | 23 ++++++++++++-----------
13 www-servers/boa/files/boa-0.94.14_rc21-texi.patch | 4 ++--
14 2 files changed, 14 insertions(+), 13 deletions(-)
15
16 diff --git a/www-servers/boa/boa-0.94.14_rc21-r2.ebuild b/www-servers/boa/boa-0.94.14_rc21-r2.ebuild
17 index bde46ceae87..0795392e1bd 100644
18 --- a/www-servers/boa/boa-0.94.14_rc21-r2.ebuild
19 +++ b/www-servers/boa/boa-0.94.14_rc21-r2.ebuild
20 @@ -1,13 +1,14 @@
21 -# Copyright 1999-2013 Gentoo Foundation
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 -inherit eutils systemd
27 +EAPI=7
28 +inherit systemd
29
30 MY_P=${P/_/}
31 DESCRIPTION="A very small and very fast http daemon"
32 SRC_URI="http://www.boa.org/${MY_P}.tar.gz"
33 HOMEPAGE="http://www.boa.org/"
34 +S=${WORKDIR}/${MY_P}
35
36 KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86"
37 LICENSE="GPL-2"
38 @@ -15,21 +16,21 @@ SLOT="0"
39 IUSE="doc"
40
41 RDEPEND=""
42 -DEPEND="sys-devel/bison
43 +BDEPEND="sys-devel/bison
44 sys-devel/flex
45 doc? ( virtual/latex-base )"
46
47 -S=${WORKDIR}/${MY_P}
48 -
49 -src_prepare() {
50 - epatch "${FILESDIR}"/${P}-texi.patch
51 - epatch "${FILESDIR}"/${P}-ENOSYS.patch
52 -}
53 +PATCHES=(
54 + "${FILESDIR}"/${P}-texi.patch
55 + "${FILESDIR}"/${P}-ENOSYS.patch
56 +)
57
58 src_compile() {
59 default
60
61 - use doc || sed -i -e '/^all:/s/boa.dvi //' docs/Makefile
62 + if ! use doc; then
63 + sed -i -e '/^all:/s/boa.dvi //' docs/Makefile || die
64 + fi
65 emake docs
66 }
67
68
69 diff --git a/www-servers/boa/files/boa-0.94.14_rc21-texi.patch b/www-servers/boa/files/boa-0.94.14_rc21-texi.patch
70 index 68fcdfbe08e..7853433efb1 100644
71 --- a/www-servers/boa/files/boa-0.94.14_rc21-texi.patch
72 +++ b/www-servers/boa/files/boa-0.94.14_rc21-texi.patch
73 @@ -1,5 +1,5 @@
74 ---- docs/boa.texi.org 2003-02-02 06:02:22.000000000 +0100
75 -+++ docs/boa.texi 2007-05-21 01:22:27.997819260 +0200
76 +--- a/docs/boa.texi 2003-02-02 06:02:22.000000000 +0100
77 ++++ b/docs/boa.texi 2007-05-21 01:22:27.997819260 +0200
78 @@ -33,10 +33,10 @@
79 @direntry
80 * Boa: (boa). The Boa Webserver