diff options
Diffstat (limited to 'net-wireless/kismet/kismet-9999.ebuild')
-rw-r--r-- | net-wireless/kismet/kismet-9999.ebuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild index 9eecff37a2f8..2e5fd9c3d052 100644 --- a/net-wireless/kismet/kismet-9999.ebuild +++ b/net-wireless/kismet/kismet-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -7,18 +7,15 @@ PYTHON_COMPAT=( python2_7 ) inherit autotools eutils multilib user python-single-r1 -MY_P=${P/\./-} -MY_P=${MY_P/_beta/-BETA} -MY_P=${MY_P/./-R} -S=${WORKDIR}/${MY_P} - if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://www.kismetwireless.net/${PN}.git" - SRC_URI="" + EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git" inherit git-r3 - KEYWORDS="" RESTRICT="strip" else + MY_P=${P/\./-} + MY_P=${MY_P/_beta/-BETA} + MY_P=${MY_P/./-R} + S=${WORKDIR}/${MY_P/BETA/beta} SRC_URI="https://www.kismetwireless.net/code/${MY_P}.tar.xz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" fi @@ -67,7 +64,7 @@ src_prepare() { sed -i -e 's| -s||g' \ -e 's|@mangrp@|root|g' Makefile.in - eapply "${FILESDIR}"/fix-setuptools3.patch + eapply "${FILESDIR}"/fix-setuptools4.patch eapply_user if [ "${PV}" = "9999" ]; then |