Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/librouteros/files/, net-libs/librouteros/
Date: Sun, 05 Jun 2022 15:05:44
Message-Id: 1654441494.7560f7f8272639ac6b09398dadf33ad5d0cce838.conikost@gentoo
1 commit: 7560f7f8272639ac6b09398dadf33ad5d0cce838
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 5 15:04:54 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 5 15:04:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7560f7f8
7
8 net-libs/librouteros: EAPI 7 -> 8
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 .../files/librouteros-1.1.2-remove-Werror.patch | 11 -----------
13 ...brouteros-1.1.2.ebuild => librouteros-1.1.2-r1.ebuild} | 15 ++++++---------
14 2 files changed, 6 insertions(+), 20 deletions(-)
15
16 diff --git a/net-libs/librouteros/files/librouteros-1.1.2-remove-Werror.patch b/net-libs/librouteros/files/librouteros-1.1.2-remove-Werror.patch
17 deleted file mode 100644
18 index b3f005a4be3a..000000000000
19 --- a/net-libs/librouteros/files/librouteros-1.1.2-remove-Werror.patch
20 +++ /dev/null
21 @@ -1,11 +0,0 @@
22 ---- a/src/Makefile.am
23 -+++ b/src/Makefile.am
24 -@@ -1,7 +1,7 @@
25 - AUTOMAKE_OPTIONS = foreign no-dependencies
26 -
27 - if COMPILER_IS_GCC
28 --AM_CFLAGS = -Wall -Werror
29 -+AM_CFLAGS = -Wall
30 - if BUILD_WITH_DEBUG
31 - AM_CFLAGS += -Wextra -g -O0
32 - endif
33
34 diff --git a/net-libs/librouteros/librouteros-1.1.2.ebuild b/net-libs/librouteros/librouteros-1.1.2-r1.ebuild
35 similarity index 59%
36 rename from net-libs/librouteros/librouteros-1.1.2.ebuild
37 rename to net-libs/librouteros/librouteros-1.1.2-r1.ebuild
38 index a6be5fce2804..1dcb908abd88 100644
39 --- a/net-libs/librouteros/librouteros-1.1.2.ebuild
40 +++ b/net-libs/librouteros/librouteros-1.1.2-r1.ebuild
41 @@ -1,13 +1,13 @@
42 -# Copyright 1999-2020 Gentoo Authors
43 +# Copyright 1999-2022 Gentoo Authors
44 # Distributed under the terms of the GNU General Public License v2
45
46 -EAPI=7
47 +EAPI=8
48
49 inherit autotools
50
51 DESCRIPTION="Library for accessing MikroTik's RouterOS via its API"
52 -HOMEPAGE="http://verplant.org/librouteros/"
53 -SRC_URI="http://verplant.org/librouteros/files/${P}.tar.bz2"
54 +HOMEPAGE="https://verplant.org/librouteros/"
55 +SRC_URI="https://verplant.org/librouteros/files/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 @@ -17,10 +17,9 @@ IUSE="debug"
60 RDEPEND="dev-libs/libgcrypt:0="
61 DEPEND="${RDEPEND}"
62
63 -PATCHES=( "${FILESDIR}"/${P}-remove-Werror.patch )
64 -
65 src_prepare() {
66 default
67 + sed -e 's/-Werror//g' -i src/Makefile.am || die
68 eautoreconf
69 }
70
71 @@ -30,7 +29,5 @@ src_configure() {
72
73 src_install() {
74 default
75 -
76 - # no static archives
77 - find "${D}" -name '*.la' -delete || die
78 + find "${D}" -name '*.la' -type f -delete || die
79 }