mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 19:11:57 +02:00
adding fixed ham2mon ebuild, but quick review would be appreciated
This commit is contained in:
parent
3a3583f64a
commit
4c51928c8e
1 changed files with 15 additions and 6 deletions
|
|
@ -6,7 +6,7 @@ EAPI=6
|
|||
PYTHON_COMPAT=( python2_7 )
|
||||
EGO_PN=github.com/madengr/${PN}
|
||||
|
||||
inherit python-single-r1 python-utils-r1
|
||||
inherit python-single-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
|
|
@ -26,14 +26,23 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="~dev-lang/python-2.7"
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
||||
|
||||
src_install(){
|
||||
newbin apps/"${PN}".py "${PN}"
|
||||
python_fix_shebang "${ED}"usr/bin
|
||||
python_domodule apps/*.py
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r *
|
||||
|
||||
fperms +x /usr/$(get_libdir)/${PN}/apps/${PN}.py
|
||||
dosym /usr/$(get_libdir)/${PN}/apps/${PN}.py /usr/sbin/${PN}
|
||||
|
||||
python_optimize "${D}"usr/$(get_libdir)/${PN}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue