rangeparser: bump to 2.7.0_pre20190218 and drop arm (is not support one of deps in tree)

This commit is contained in:
Yury Martynov 2019-04-28 12:07:56 +03:00
parent b2bdc5bd3a
commit 61ad325545
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
4 changed files with 75 additions and 29 deletions

View file

@ -1 +1,2 @@
DIST killerbee-2.6.1_pre20180626.tar.gz 1471987 BLAKE2B 7c4bff358ce8d61f90b6781b7773a5d574062595d774e35f7461e75e5ea4df27af94e1bc89484375aa91a1809034f6969034d2baaf9b147fb1e6b476f2d55703 SHA512 fe603ee8666659f963757e9eb1e9dde25db6723cc087cbb2656b37ce82e6bee081f48c83b590ca7ed2fe464b48c134b81048e52e6f087d0f5b7bb23a824dcb3f
DIST killerbee-2.7.0_pre20190218.tar.gz 1578316 BLAKE2B 4456466174e2d1ec7fc46d3ef2f8f2ccc491e67acbcc5d8db32cc3bb4c9cf1b305af910cff88d9c6d85f5da946cba43423218416c43a5a248df33fe904765288 SHA512 23c5a3f0726ef475ee56247bc08a2695397488bf099f67d52a4664118cf24877ef754dd38c3017267b23278ca39e76cc35a284db5cf66806cabe6a46f956b84b

View file

@ -1 +0,0 @@
killerbee-9999.ebuild

View file

@ -0,0 +1,56 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
#DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/riverloopsec/killerbee.git"
KEYWORDS=""
else
COMMIT_HASH="b803708ff0c63612cfb0092e7714c2ae7d257f4b"
SRC_URI="https://github.com/riverloopsec/killerbee/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
S="${WORKDIR}/${PN}-${COMMIT_HASH}"
fi
DESCRIPTION="Framework and Tools for Attacking ZigBee and IEEE 802.15.4 networks"
HOMEPAGE="https://github.com/riverloopsec/killerbee"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
RDEPEND="dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/pyusb[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/pygtk[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/rangeparser[${PYTHON_USEDEP}]
dev-libs/libgcrypt:=
>=net-analyzer/scapy-2.4.0_p20180626"
#DEPEND="doc? ( dev-python/epydoc )
DEPEND="${RDEPEND}"
#FIXME: https://bitbucket.org/secdev/scapy-com
#FIXME: doc fails to comiple
#python_compile_all() {
# ewarn "running compile_all"
# distutils-r1_python_compile
# if use doc; then
# mkdir pdf
# epydoc --pdf -o pdf killerbee/
# fi
#}
#python_install_all() {
# distutils-r1_src_install
# if use doc; then
# dodoc "${S}/pdf/*.tex"
# fi
#}

View file

@ -0,0 +1 @@
killerbee-9999.ebuild

View file

@ -1,21 +1,21 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
PYTHON_COMPAT=( python2_7 )
#DISTUTILS_SINGLE_IMPL=1
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
if [[ ${PV} == "9999" ]]; then
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/riverloopsec/killerbee.git"
KEYWORDS=""
else
COMMIT_HASH="b803708ff0c63612cfb0092e7714c2ae7d257f4b"
# snapshot: 20190218
COMMIT_HASH="cdee75784e0d44f225c6d1bc07fdae6044e73bb7"
SRC_URI="https://github.com/riverloopsec/killerbee/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-${COMMIT_HASH}"
fi
@ -24,8 +24,10 @@ HOMEPAGE="https://github.com/riverloopsec/killerbee"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
IUSE="doc"
#FIXME: https://bitbucket.org/secdev/scapy-com
DEPEND=""
RDEPEND="dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/pyusb[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
@ -34,23 +36,10 @@ RDEPEND="dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/rangeparser[${PYTHON_USEDEP}]
dev-libs/libgcrypt:=
>=net-analyzer/scapy-2.4.0_p20180626"
#DEPEND="doc? ( dev-python/epydoc )
DEPEND="${RDEPEND}"
#FIXME: https://bitbucket.org/secdev/scapy-com
#FIXME: doc fails to comiple
#python_compile_all() {
# ewarn "running compile_all"
# distutils-r1_python_compile
# if use doc; then
# mkdir pdf
# epydoc --pdf -o pdf killerbee/
# fi
#}
#python_install_all() {
# distutils-r1_src_install
# if use doc; then
# dodoc "${S}/pdf/*.tex"
# fi
#}
python_install_all() {
distutils-r1_python_install_all
if use doc; then
mv doc html && dodoc -r html || die
fi
}