update for gentoo compatability

been over burning the candle at as many ends as posible..
swiped ebuild from funtoo , now having to fix compatability back to gentoo..
This commit is contained in:
Michael L 2020-11-24 20:26:12 -06:00
parent 94a47657ac
commit a503789fb5
No known key found for this signature in database
GPG key ID: FE8D405276AFE995

View file

@ -1,9 +1,13 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3+ )
inherit distutils-r1
PYTHON_COMPAT=( python3_{6,7,8} )
## fix python compat to gentoo standards. forked from funtoos core-kit repo.
inherit distutils-r1 distutils-r1_single_impiled
DESCRIPTION="Funtoo's franken-chroot tool."
HOMEPAGE="https://pypi.org/project/fchroot/"
@ -13,11 +17,19 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="*"
IUSE=""
distutils-r1_python_install_all
RDEPEND="
#python3.x setup.py install
#RDEPEND="
app-emulation/qemu[static-user,qemu_user_targets_aarch64,qemu_user_targets_arm,qemu_user_targets_riscv64]
dev-libs/glib[static-libs]
sys-apps/attr[static-libs]
sys-libs/zlib[static-libs]
dev-libs/libpcre[static-libs]
"
"
Einfo " this tool was swiped from funtoo, at worse github.com/multiarch/qemu-user-static/releases/ for a static bin /mnt/mychroot/usr/local/bin if chrooting from live usb env "
einfo " this tool takes care of qemu-wrapper and mounting run sys proc etc. , most of the hassels of staging an arm/arm64/riscV qemu chroots"
einfo " fchroot /mnt/rpi64-gentoo-example & quick chroot /mnt/rpi64-gentoo-example "
einfo " this tool depends on quemu being built for qemu_user_targets , arm arm64 or riscV / either ,all / or one you care for. else you can get static build as mentioned above."