Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libcrafter/
Date: Sun, 01 Aug 2021 19:29:06
Message-Id: 1627846135.5ef54149a7b0cd8ce43fbb549b3c340b749f0aa9.soap@gentoo
1 commit: 5ef54149a7b0cd8ce43fbb549b3c340b749f0aa9
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 1 19:28:55 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 1 19:28:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef54149
7
8 net-libs/libcrafter: update EAPI 7 -> 8
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 ...crafter-1.0.ebuild => libcrafter-1.0-r1.ebuild} | 28 ++++++++------------
13 net-libs/libcrafter/libcrafter-9999.ebuild | 30 ++++++++--------------
14 2 files changed, 21 insertions(+), 37 deletions(-)
15
16 diff --git a/net-libs/libcrafter/libcrafter-1.0.ebuild b/net-libs/libcrafter/libcrafter-1.0-r1.ebuild
17 similarity index 64%
18 rename from net-libs/libcrafter/libcrafter-1.0.ebuild
19 rename to net-libs/libcrafter/libcrafter-1.0-r1.ebuild
20 index 7b919920ad0..9eb5e0583a6 100644
21 --- a/net-libs/libcrafter/libcrafter-1.0.ebuild
22 +++ b/net-libs/libcrafter/libcrafter-1.0-r1.ebuild
23 @@ -1,38 +1,30 @@
24 -# Copyright 1999-2020 Gentoo Authors
25 +# Copyright 1999-2021 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=7
29 +EAPI=8
30 +
31 inherit autotools
32
33 DESCRIPTION="A high level C++ network packet sniffing and crafting library"
34 HOMEPAGE="https://github.com/pellegre/libcrafter"
35 SRC_URI="https://github.com/pellegre/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz"
36 +S="${WORKDIR}/${PN}-version-${PV}/${PN}"
37
38 LICENSE="BSD"
39 SLOT="0"
40 KEYWORDS="~amd64 ~x86"
41 -IUSE="static-libs"
42 -
43 -RDEPEND="
44 - net-libs/libpcap
45 -"
46 -DEPEND="
47 - ${RDEPEND}
48 -"
49 -PATCHES=(
50 - "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch
51 -)
52 -S=${WORKDIR}/${PN}-version-${PV}/${PN}
53 +
54 +RDEPEND="net-libs/libpcap"
55 +DEPEND="${RDEPEND}"
56 +BDEPEND="virtual/pkgconfig"
57 +
58 +PATCHES=( "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch )
59
60 src_prepare() {
61 default
62 eautoreconf
63 }
64
65 -src_configure() {
66 - econf $(use_enable static-libs static)
67 -}
68 -
69 src_install() {
70 default
71
72
73 diff --git a/net-libs/libcrafter/libcrafter-9999.ebuild b/net-libs/libcrafter/libcrafter-9999.ebuild
74 index 16291e48909..609119bb53c 100644
75 --- a/net-libs/libcrafter/libcrafter-9999.ebuild
76 +++ b/net-libs/libcrafter/libcrafter-9999.ebuild
77 @@ -1,38 +1,30 @@
78 -# Copyright 1999-2020 Gentoo Authors
79 +# Copyright 1999-2021 Gentoo Authors
80 # Distributed under the terms of the GNU General Public License v2
81
82 -EAPI=7
83 +EAPI=8
84 +
85 inherit autotools git-r3
86
87 DESCRIPTION="A high level C++ network packet sniffing and crafting library"
88 HOMEPAGE="https://github.com/pellegre/libcrafter"
89 EGIT_REPO_URI="https://github.com/pellegre/${PN}"
90 +S="${WORKDIR}/${P}/${PN}"
91
92 LICENSE="BSD"
93 SLOT="0"
94 -KEYWORDS=""
95 -IUSE="static-libs"
96 -
97 -RDEPEND="
98 - net-libs/libpcap
99 -"
100 -DEPEND="
101 - ${RDEPEND}
102 -"
103 -PATCHES=(
104 - "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch
105 -)
106 -S=${WORKDIR}/${P}/${PN}
107 +KEYWORDS="~amd64 ~x86"
108 +
109 +RDEPEND="net-libs/libpcap"
110 +DEPEND="${RDEPEND}"
111 +BDEPEND="virtual/pkgconfig"
112 +
113 +PATCHES=( "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch )
114
115 src_prepare() {
116 default
117 eautoreconf
118 }
119
120 -src_configure() {
121 - econf $(use_enable static-libs static)
122 -}
123 -
124 src_install() {
125 default