mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-19 23:28:38 +00:00
clean up var-DISTUTILS_INSTALL_ARGS
Since the following commit applied in oe-core ... 21f0c5a distutils/setuptools, distutils3/setuptools3: improve reproducibility ... It unified var-DISTUTILS_INSTALL_ARGS in distutils and setuptools, so clean up the duplicated var-DISTUTILS_INSTALL_ARGS in each recipe. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -2,8 +2,6 @@ require python-distutils-extra.inc
|
||||
|
||||
inherit setuptools
|
||||
|
||||
DISTUTILS_INSTALL_ARGS += "--install-lib=${libdir}/${PYTHON_DIR}/site-packages"
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
python-distutils \
|
||||
"
|
||||
|
||||
@@ -4,8 +4,6 @@ inherit setuptools3
|
||||
|
||||
S = "${WORKDIR}/python-distutils-extra-${PV}"
|
||||
|
||||
DISTUTILS_INSTALL_ARGS += "--install-lib=${libdir}/${PYTHON_DIR}/site-packages"
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
python3-setuptools \
|
||||
"
|
||||
|
||||
@@ -16,9 +16,7 @@ S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools python-dir systemd update-rc.d
|
||||
|
||||
DISTUTILS_INSTALL_ARGS = "--root=${D} \
|
||||
--prefix=${prefix} \
|
||||
--install-lib=${PYTHON_SITEPACKAGES_DIR} \
|
||||
DISTUTILS_INSTALL_ARGS += " \
|
||||
--install-data=${PYTHON_SITEPACKAGES_DIR} \
|
||||
--install-scripts=${bindir} \
|
||||
--skip_init_scripts"
|
||||
|
||||
@@ -16,8 +16,8 @@ SRC_URI = "git://github.com/mike-fabian/langtable.git;branch=master \
|
||||
|
||||
inherit setuptools3 python3native
|
||||
|
||||
DISTUTILS_INSTALL_ARGS = "--prefix=${D}/${prefix} \
|
||||
--install-data=${D}/${datadir}/langtable"
|
||||
DISTUTILS_INSTALL_ARGS += " \
|
||||
--install-data=${datadir}/langtable"
|
||||
|
||||
FILES_${PN} += "${datadir}/*"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user