net-wireless/aircrack-ng: python 3
authorRick Farina <zerochaos@gentoo.org>
Fri, 14 Feb 2020 19:40:08 +0000 (14:40 -0500)
committerRick Farina <zerochaos@gentoo.org>
Fri, 14 Feb 2020 19:40:27 +0000 (14:40 -0500)
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
net-wireless/aircrack-ng/aircrack-ng-1.6-r1.ebuild [moved from net-wireless/aircrack-ng/aircrack-ng-1.6.ebuild with 93% similarity]
net-wireless/aircrack-ng/aircrack-ng-9999.ebuild

similarity index 93%
rename from net-wireless/aircrack-ng/aircrack-ng-1.6.ebuild
rename to net-wireless/aircrack-ng/aircrack-ng-1.6-r1.ebuild
index 69db574fc3d5d3e6f7a7327253ae7a4626899747..2b60f7a338388e027cd253a08ec8ff3b7f03c778 100644 (file)
@@ -3,10 +3,7 @@
 
 EAPI=7
 
-# Upstream aircrack-ng supports python 3.x but lorcon doesn't yet and
-# it is needed for airdrop-ng. Will adjust when ready.
-#PYTHON_COMPAT=( python2_7 python3_{6,7,8})
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{6,7,8})
 DISTUTILS_OPTIONAL=1
 
 inherit toolchain-funcs distutils-r1 flag-o-matic autotools
@@ -101,6 +98,7 @@ src_install() {
 
        # we don't need aircrack-ng's oui updater, we have our own
        rm "${ED}"/usr/sbin/airodump-ng-oui-update
+       find "${D}" -xtype f -name '*.la' -delete || die
 }
 
 pkg_postinst() {
index fa7cdd3ca822d7c82f0380189b1ad0adece78718..e6f82c3506c98cfd7af480dc720393884dd51f16 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 DISTUTILS_OPTIONAL=1
 
 inherit toolchain-funcs distutils-r1 flag-o-matic autotools
@@ -98,6 +98,7 @@ src_install() {
 
        # we don't need aircrack-ng's oui updater, we have our own
        rm "${ED}"/usr/sbin/airodump-ng-oui-update
+       find "${D}" -xtype f -name '*.la' -delete || die
 }
 
 pkg_postinst() {