public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rick Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/aircrack-ng/
Date: Mon, 24 Apr 2023 21:05:12 +0000 (UTC)	[thread overview]
Message-ID: <1682370312.0e950816d6eadf74d127ec9ad5c44f4da061c77e.zerochaos@gentoo> (raw)

commit:     0e950816d6eadf74d127ec9ad5c44f4da061c77e
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 24 21:03:27 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Apr 24 21:05:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e950816

net-wireless/aircrack-ng: bump python, qa

Fix a few deps per qa scripts
Closes: https://bugs.gentoo.org/749789
Closes: https://bugs.gentoo.org/897160
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 .../{aircrack-ng-1.7.ebuild => aircrack-ng-1.7-r1.ebuild} | 13 ++++++++++---
 net-wireless/aircrack-ng/aircrack-ng-9999.ebuild          | 15 +++++++++++----
 2 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.7.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.7-r1.ebuild
similarity index 86%
rename from net-wireless/aircrack-ng/aircrack-ng-1.7.ebuild
rename to net-wireless/aircrack-ng/aircrack-ng-1.7-r1.ebuild
index 30d48e8ff2f3..be8363470a9a 100644
--- a/net-wireless/aircrack-ng/aircrack-ng-1.7.ebuild
+++ b/net-wireless/aircrack-ng/aircrack-ng-1.7-r1.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9,10} )
+#this doesn't work because of multiple calls to distutils-r1_src_compile
+#DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_OPTIONAL=1
 
 inherit toolchain-funcs distutils-r1 flag-o-matic autotools
@@ -23,7 +25,7 @@ fi
 LICENSE="GPL-2"
 SLOT="0"
 
-IUSE="+airdrop-ng +airgraph-ng +netlink +pcre +sqlite +experimental"
+IUSE="+airdrop-ng +airgraph-ng +experimental +netlink +pcre +sqlite test"
 
 DEPEND="net-libs/libpcap
 	sys-apps/hwloc:0=
@@ -34,7 +36,8 @@ DEPEND="net-libs/libpcap
 	airdrop-ng? ( ${PYTHON_DEPS} )
 	airgraph-ng? ( ${PYTHON_DEPS} )
 	experimental? ( sys-libs/zlib )
-	sqlite? ( >=dev-db/sqlite-3.4 )"
+	sqlite? ( >=dev-db/sqlite-3.4:3 )
+	test? ( dev-tcltk/expect )"
 RDEPEND="${DEPEND}
 	kernel_linux? (
 		net-wireless/iw
@@ -44,11 +47,14 @@ RDEPEND="${DEPEND}
 		sys-apps/pciutils )
 	sys-apps/hwdata
 	airdrop-ng? ( net-wireless/lorcon[python,${PYTHON_USEDEP}] )"
+BDEPEND="${DISTUTILS_DEPS}"
 
 REQUIRED_USE="
 	airdrop-ng? ( ${PYTHON_REQUIRED_USE} )
 	airgraph-ng? ( ${PYTHON_REQUIRED_USE} )"
 
+RESTRICT="!test? ( test )"
+
 src_prepare() {
 	default
 	eautoreconf
@@ -61,6 +67,7 @@ src_configure() {
 		--enable-shared \
 		--disable-static \
 		--without-opt \
+		--with-duma=no \
 		$(use_enable netlink libnl) \
 		$(use_with experimental) \
 		$(use_with sqlite sqlite3)

diff --git a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild
index f159d65ad141..b8e12c8d8c8f 100644
--- a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild
+++ b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9,10} )
+#this doesn't work because of multiple calls to distutils-r1_src_compile
+#DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_OPTIONAL=1
 
 inherit toolchain-funcs distutils-r1 flag-o-matic autotools
@@ -23,18 +25,19 @@ fi
 LICENSE="GPL-2"
 SLOT="0"
 
-IUSE="+airdrop-ng +airgraph-ng +netlink +pcre +sqlite +experimental"
+IUSE="+airdrop-ng +airgraph-ng +experimental +netlink +pcre +sqlite test"
 
 DEPEND="net-libs/libpcap
 	sys-apps/hwloc:0=
 	dev-libs/libbsd
 	dev-libs/openssl:0=
 	netlink? ( dev-libs/libnl:3 )
-	pcre? ( dev-libs/libpcre )
+	pcre? ( dev-libs/libpcre2:= )
 	airdrop-ng? ( ${PYTHON_DEPS} )
 	airgraph-ng? ( ${PYTHON_DEPS} )
 	experimental? ( sys-libs/zlib )
-	sqlite? ( >=dev-db/sqlite-3.4 )"
+	sqlite? ( >=dev-db/sqlite-3.4:3 )
+	test? ( dev-tcltk/expect )"
 RDEPEND="${DEPEND}
 	kernel_linux? (
 		net-wireless/iw
@@ -44,11 +47,14 @@ RDEPEND="${DEPEND}
 		sys-apps/pciutils )
 	sys-apps/hwdata
 	airdrop-ng? ( net-wireless/lorcon[python,${PYTHON_USEDEP}] )"
+BDEPEND="${DISTUTILS_DEPS}"
 
 REQUIRED_USE="
 	airdrop-ng? ( ${PYTHON_REQUIRED_USE} )
 	airgraph-ng? ( ${PYTHON_REQUIRED_USE} )"
 
+RESTRICT="!test? ( test )"
+
 src_prepare() {
 	default
 	eautoreconf
@@ -61,6 +67,7 @@ src_configure() {
 		--enable-shared \
 		--disable-static \
 		--without-opt \
+		--with-duma=no \
 		$(use_enable netlink libnl) \
 		$(use_with experimental) \
 		$(use_with sqlite sqlite3)


             reply	other threads:[~2023-04-24 21:05 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-24 21:05 Rick Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-10  1:05 [gentoo-commits] repo/gentoo:master commit in: net-wireless/aircrack-ng/ Rick Farina
2023-08-19 22:48 Rick Farina
2023-04-25 19:13 Rick Farina
2023-04-25  1:36 Rick Farina
2023-04-24 21:05 Rick Farina
2023-03-07 15:45 Sam James
2023-03-07 11:42 Sam James
2023-03-04  5:41 Arthur Zamarin
2022-05-11  0:36 Rick Farina
2022-01-13  1:53 Rick Farina
2022-01-04 10:30 David Seifert
2022-01-04  3:29 Sam James
2021-12-25  0:02 Mike Gilbert
2021-12-07 20:29 Sam James
2021-11-25 17:05 Mike Gilbert
2021-05-03  9:47 Mikle Kolyada
2021-02-17 16:47 Rick Farina
2020-11-05 22:26 Michał Górny
2020-10-13  9:26 Agostino Sarubbo
2020-10-09  8:40 Agostino Sarubbo
2020-10-03 14:53 Sam James
2020-07-23  2:07 Rick Farina
2020-07-23  2:07 Rick Farina
2020-05-28  1:28 Rick Farina
2020-05-28  1:28 Rick Farina
2020-02-14 19:40 Rick Farina
2020-01-27 21:32 Rick Farina
2020-01-27 21:32 Rick Farina
2019-05-21 16:45 Stephen Klimaszewski
2019-05-05 19:05 Mike Gilbert
2019-04-02 10:32 Alon Bar-Lev
2019-03-30 19:05 Mikle Kolyada
2019-03-24 10:01 Agostino Sarubbo
2019-01-21 22:05 Alon Bar-Lev
2019-01-21 20:37 Alon Bar-Lev
2018-12-17 16:21 Rick Farina
2018-10-09  9:42 Mikle Kolyada
2018-10-01 14:52 Richard Farina
2018-09-27 23:55 Alon Bar-Lev
2018-08-16 23:50 Mikle Kolyada
2018-08-14 11:31 Alon Bar-Lev
2018-08-14 11:31 Alon Bar-Lev
2018-08-14 11:31 Alon Bar-Lev
2018-08-14 11:31 Alon Bar-Lev
2018-07-09 14:20 Richard Farina
2017-03-03 12:56 Alon Bar-Lev
2017-02-04 21:40 Alon Bar-Lev
2016-06-30 17:16 Richard Farina
2015-12-18  4:37 Richard Farina
2015-12-11 22:55 Richard Farina
2015-11-22  3:36 Richard Farina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1682370312.0e950816d6eadf74d127ec9ad5c44f4da061c77e.zerochaos@gentoo \
    --to=zerochaos@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox