From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1405042-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 318F0158091
	for <garchives@archives.gentoo.org>; Sun,  5 Jun 2022 15:05:44 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 589A4E08C4;
	Sun,  5 Jun 2022 15:05:43 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 115E5E08C4
	for <gentoo-commits@lists.gentoo.org>; Sun,  5 Jun 2022 15:05:43 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 000FA341ABE
	for <gentoo-commits@lists.gentoo.org>; Sun,  5 Jun 2022 15:05:41 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 393CA471
	for <gentoo-commits@lists.gentoo.org>; Sun,  5 Jun 2022 15:05:40 +0000 (UTC)
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" <conikost@gentoo.org>
Message-ID: <1654441494.7560f7f8272639ac6b09398dadf33ad5d0cce838.conikost@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/librouteros/files/, net-libs/librouteros/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-libs/librouteros/files/librouteros-1.1.2-remove-Werror.patch net-libs/librouteros/librouteros-1.1.2-r1.ebuild net-libs/librouteros/librouteros-1.1.2.ebuild
X-VCS-Directories: net-libs/librouteros/ net-libs/librouteros/files/
X-VCS-Committer: conikost
X-VCS-Committer-Name: Conrad Kostecki
X-VCS-Revision: 7560f7f8272639ac6b09398dadf33ad5d0cce838
X-VCS-Branch: master
Date: Sun,  5 Jun 2022 15:05:40 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: ddd3625f-2d99-4b99-a7f1-89bad1829118
X-Archives-Hash: d55b85bdc9e5edf2de16e108e1ebdffc

commit:     7560f7f8272639ac6b09398dadf33ad5d0cce838
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  5 15:04:54 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jun  5 15:04:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7560f7f8

net-libs/librouteros: EAPI 7 -> 8

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../files/librouteros-1.1.2-remove-Werror.patch           | 11 -----------
 ...brouteros-1.1.2.ebuild => librouteros-1.1.2-r1.ebuild} | 15 ++++++---------
 2 files changed, 6 insertions(+), 20 deletions(-)

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
deleted file mode 100644
index b3f005a4be3a..000000000000
--- a/net-libs/librouteros/files/librouteros-1.1.2-remove-Werror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -1,7 +1,7 @@
- AUTOMAKE_OPTIONS = foreign no-dependencies
- 
- if COMPILER_IS_GCC
--AM_CFLAGS = -Wall -Werror
-+AM_CFLAGS = -Wall
- if BUILD_WITH_DEBUG
- AM_CFLAGS += -Wextra -g -O0
- endif

diff --git a/net-libs/librouteros/librouteros-1.1.2.ebuild b/net-libs/librouteros/librouteros-1.1.2-r1.ebuild
similarity index 59%
rename from net-libs/librouteros/librouteros-1.1.2.ebuild
rename to net-libs/librouteros/librouteros-1.1.2-r1.ebuild
index a6be5fce2804..1dcb908abd88 100644
--- a/net-libs/librouteros/librouteros-1.1.2.ebuild
+++ b/net-libs/librouteros/librouteros-1.1.2-r1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools
 
 DESCRIPTION="Library for accessing MikroTik's RouterOS via its API"
-HOMEPAGE="http://verplant.org/librouteros/"
-SRC_URI="http://verplant.org/librouteros/files/${P}.tar.bz2"
+HOMEPAGE="https://verplant.org/librouteros/"
+SRC_URI="https://verplant.org/librouteros/files/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -17,10 +17,9 @@ IUSE="debug"
 RDEPEND="dev-libs/libgcrypt:0="
 DEPEND="${RDEPEND}"
 
-PATCHES=( "${FILESDIR}"/${P}-remove-Werror.patch )
-
 src_prepare() {
 	default
+	sed -e 's/-Werror//g' -i src/Makefile.am || die
 	eautoreconf
 }
 
@@ -30,7 +29,5 @@ src_configure() {
 
 src_install() {
 	default
-
-	# no static archives
-	find "${D}" -name '*.la' -delete || die
+	find "${D}" -name '*.la' -type f -delete || die
 }