diff options
author | Rick Farina <zerochaos@gentoo.org> | 2019-05-30 22:14:13 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2019-05-30 22:14:28 -0400 |
commit | 10f2acc1a1e38502e27726f09d422f91c08b1289 (patch) | |
tree | 5cce5c091b31949af3081acb812ab5f5e2be91f8 /net-wireless | |
parent | x11-misc/peksystray: drop old EAPI=0 (diff) | |
download | gentoo-10f2acc1a1e38502e27726f09d422f91c08b1289.tar.gz gentoo-10f2acc1a1e38502e27726f09d422f91c08b1289.tar.bz2 gentoo-10f2acc1a1e38502e27726f09d422f91c08b1289.zip |
net-wireless/kismet-rest: add tagged release
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/kismet-rest/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/kismet-rest/kismet-rest-2019.05.02.ebuild | 26 | ||||
-rw-r--r-- | net-wireless/kismet-rest/kismet-rest-9999.ebuild | 12 |
3 files changed, 36 insertions, 3 deletions
diff --git a/net-wireless/kismet-rest/Manifest b/net-wireless/kismet-rest/Manifest new file mode 100644 index 000000000000..fa7f152b34c0 --- /dev/null +++ b/net-wireless/kismet-rest/Manifest @@ -0,0 +1 @@ +DIST kismet-rest-2019.05.02.tar.gz 31844 BLAKE2B 66b2540788f892545100ffbac078559027d4671aef012b59d7cbe4da3fe6865d6f46576ea8f99b84b995718fdfe6a82d1d7724fe9a93fcd932dd0bf45893b66d SHA512 6f5daef441bcf36e17c469dc36e6e7b521b08ba3aba2c89c199fa263bc3eb67b3d9217351a72c94df3902e35695874285cf769bb8c54778c657b83e44a18a6c5 diff --git a/net-wireless/kismet-rest/kismet-rest-2019.05.02.ebuild b/net-wireless/kismet-rest/kismet-rest-2019.05.02.ebuild new file mode 100644 index 000000000000..c5f6d594eb5e --- /dev/null +++ b/net-wireless/kismet-rest/kismet-rest-2019.05.02.ebuild @@ -0,0 +1,26 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_6 ) +inherit distutils-r1 + +DESCRIPTION="Kismet REST Python API" +HOMEPAGE="https://kismetwireless.net/docs/devel/webui_rest/endpoints/" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/kismetwireless/python-kismet-rest.git" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/kismetwireless/python-kismet-rest/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/python-${P}" +fi + +LICENSE="GPL-2+" +SLOT="0" +IUSE="" + +DEPEND="dev-python/requests + !<net-wireless/kismet-2019.05.1" +RDEPEND="${DEPEND}" +BDEPEND="" diff --git a/net-wireless/kismet-rest/kismet-rest-9999.ebuild b/net-wireless/kismet-rest/kismet-rest-9999.ebuild index a5613e695458..c5f6d594eb5e 100644 --- a/net-wireless/kismet-rest/kismet-rest-9999.ebuild +++ b/net-wireless/kismet-rest/kismet-rest-9999.ebuild @@ -3,15 +3,21 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_6 ) -inherit distutils-r1 git-r3 +inherit distutils-r1 DESCRIPTION="Kismet REST Python API" HOMEPAGE="https://kismetwireless.net/docs/devel/webui_rest/endpoints/" -EGIT_REPO_URI="https://github.com/kismetwireless/python-kismet-rest.git" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/kismetwireless/python-kismet-rest.git" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/kismetwireless/python-kismet-rest/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/python-${P}" +fi LICENSE="GPL-2+" SLOT="0" -KEYWORDS="" IUSE="" DEPEND="dev-python/requests |