Ran repoman

This commit is contained in:
Guido Kroon 2018-08-29 15:37:43 +02:00
parent c69d69046e
commit bad865bb5c
No known key found for this signature in database
GPG key ID: 394C398C531EFAB0

View file

@ -11,16 +11,16 @@ inherit python-single-r1 multilib
MY_PV="${PV}-20180713"
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/commixproject/commix.git"
KEYWORDS=""
inherit git-r3
EGIT_REPO_URI="https://github.com/commixproject/commix.git"
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
EGIT_COMMIT="v${MY_PV}"
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
EGIT_COMMIT="v${MY_PV}"
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="An automated tool to test web-based applications to find bugs, errors or injection attacks."
DESCRIPTION="A tool to test web-based applications to find bugs, errors or injection attacks."
HOMEPAGE="https://github.com/commixproject/commix"
LICENSE="GPL-3"
@ -34,17 +34,16 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}"/"${PN}"-"${MY_PV}"
src_prepare() {
python_fix_shebang .
default
python_fix_shebang .
default
}
src_install(){
insinto /usr/$(get_libdir)/${PN}
doins -r *
doins -r *
fperms +x /usr/$(get_libdir)/${PN}/${PN}.py
dosym /usr/$(get_libdir)/${PN}/${PN}.py /usr/bin/${PN}
fperms +x /usr/$(get_libdir)/${PN}/${PN}.py
dosym $(get_libdir)/${PN}/${PN}.py ${PN}
python_optimize "${D}"usr/$(get_libdir)/${PN}
python_optimize "${D}"usr/$(get_libdir)/${PN}
}