mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-08 02:41:55 +01:00
dev-python/distro-oem: Depend on specific version of python-oem
This commit is contained in:
parent
357df4cebd
commit
fd0fa0b948
@ -13,8 +13,13 @@ SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${MY_P}.tar.gz"
|
|||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
KEYWORDS="amd64 arm64"
|
KEYWORDS="amd64 arm64"
|
||||||
|
|
||||||
|
# Depending on specific version of python-oem allows us to notice when
|
||||||
|
# we update the major version of python and then to update the
|
||||||
|
# site-packages path below.
|
||||||
|
DEP_PYVER="3.6"
|
||||||
|
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
RDEPEND="dev-lang/python-oem"
|
RDEPEND="dev-lang/python-oem:${DEP_PYVER}"
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
@ -25,6 +30,6 @@ src_compile() {
|
|||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
# When updating python-oem, remember to update the path below.
|
# When updating python-oem, remember to update the path below.
|
||||||
insinto "/usr/share/oem/python/$(get_libdir)/python3.6/site-packages"
|
insinto "/usr/share/oem/python/$(get_libdir)/python${DEP_PYVER}/site-packages"
|
||||||
doins "${S}/distro.py"
|
doins "${S}/distro.py"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user