summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2019-03-12 00:14:54 -0400
committerRick Farina <zerochaos@gentoo.org>2019-03-12 00:15:16 -0400
commita0e27e4d4d26c04a2daeb1c0996960488207fcf8 (patch)
tree077ccb63a50c4b232971a119899222dc4d900005 /net-wireless
parentdev-util/bpftrace: New package (diff)
downloadgentoo-a0e27e4d4d26c04a2daeb1c0996960488207fcf8.tar.gz
gentoo-a0e27e4d4d26c04a2daeb1c0996960488207fcf8.tar.bz2
gentoo-a0e27e4d4d26c04a2daeb1c0996960488207fcf8.zip
net-wireless/kismetdb: add release
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/kismetdb/Manifest1
-rw-r--r--net-wireless/kismetdb/kismetdb-2019.03.01.ebuild27
-rw-r--r--net-wireless/kismetdb/kismetdb-9999.ebuild13
3 files changed, 37 insertions, 4 deletions
diff --git a/net-wireless/kismetdb/Manifest b/net-wireless/kismetdb/Manifest
new file mode 100644
index 000000000000..744d865f57ec
--- /dev/null
+++ b/net-wireless/kismetdb/Manifest
@@ -0,0 +1 @@
+DIST kismetdb-2019.03.01.tar.gz 29115 BLAKE2B 2ff59518faa2fa4d689af901ae017b73dbe137f8e6ddf2bc897b297a9c87348110e682d181244506526cabf9febdee7956587f4c2988ec6fc5a80b0224b41239 SHA512 5b886ff5c133aea0c5d53bddaefd201061e6866987338f61623787b79397a396198fa3ba68a08e5728fa571bd2fb250eaf7b5ee785a165f4b1ba818f412d4bb3
diff --git a/net-wireless/kismetdb/kismetdb-2019.03.01.ebuild b/net-wireless/kismetdb/kismetdb-2019.03.01.ebuild
new file mode 100644
index 000000000000..a0a5fee7f90e
--- /dev/null
+++ b/net-wireless/kismetdb/kismetdb-2019.03.01.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6,7} )
+inherit distutils-r1
+
+DESCRIPTION="Kismetdb database log helper library"
+HOMEPAGE="https://kismetwireless.net/"
+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"
+IUSE=""
+
+DEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/simplekml[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+BDEPEND=""
diff --git a/net-wireless/kismetdb/kismetdb-9999.ebuild b/net-wireless/kismetdb/kismetdb-9999.ebuild
index 61f3dbd0918f..a0a5fee7f90e 100644
--- a/net-wireless/kismetdb/kismetdb-9999.ebuild
+++ b/net-wireless/kismetdb/kismetdb-9999.ebuild
@@ -4,16 +4,21 @@
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}]