diff options
Diffstat (limited to 'net-wireless/kismetdb/kismetdb-9999.ebuild')
-rw-r--r-- | net-wireless/kismetdb/kismetdb-9999.ebuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/net-wireless/kismetdb/kismetdb-9999.ebuild b/net-wireless/kismetdb/kismetdb-9999.ebuild index dd3d3fc39717..a0a5fee7f90e 100644 --- a/net-wireless/kismetdb/kismetdb-9999.ebuild +++ b/net-wireless/kismetdb/kismetdb-9999.ebuild @@ -4,23 +4,24 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6,7} ) -inherit git-r3 distutils-r1 +inherit distutils-r1 DESCRIPTION="Kismetdb database log helper library" HOMEPAGE="https://kismetwireless.net/" -SRC_URI="" -EGIT_REPO_URI="https://www.kismetwireless.net/git/python-kismet-db.git" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://www.kismetwireless.net/git/python-kismet-db.git" +else + SRC_URI="https://github.com/kismetwireless/python-kismet-db/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/python-kismet-db-${PV}" +fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="" IUSE="" -DEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]" +DEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/simplekml[${PYTHON_USEDEP}]" RDEPEND="${DEPEND}" BDEPEND="" - -src_prepare() { - sed -i 's#, "simplekml"##' setup.py - distutils-r1_src_prepare -} |