python: remove unneeded hacks

With the current Poky Master these are no longer needed

Azote already contains a folder named 'dist'. Rename it to avoid getting its
files wiped out during build.
This commit is contained in:
Markus Volk 2022-03-03 06:18:14 +01:00
parent e23dde4fdc
commit eda1ed4e35
4 changed files with 10 additions and 14 deletions

View File

@ -10,8 +10,6 @@ SRC_URI = " \
git://github.com/google/brotli.git;protocol=https;branch=master \
"
PYPA_WHEEL = "${S}/dist/Brotli*.whl"
PV = "1.0.9"
SRCREV = "e61745a6b7add50d380cfd7d3883dd6c62fc2c71"
S = "${WORKDIR}/git"

View File

@ -10,8 +10,6 @@ RDEPENDS:${PN} = " \
python3 \
"
PYPA_WHEEL = "${S}/dist/geopy*.whl"
inherit setuptools3
S = "${WORKDIR}/git"

View File

@ -22,19 +22,21 @@ RDEPENDS:${PN} = " \
inherit setuptools3
PYPA_WHEEL = "${S}/dist/azote*.whl"
S = "${WORKDIR}/git"
PV = "1.9.1"
PV = "1.9.3"
SRCREV = "c4ccd502c27fa6eb801a7b2b0636aed09e8c4a12"
do_configure:prepend() {
mv ${S}/dist ${S}/distrib
}
do_install:append() {
install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications
install -m 755 ${S}/dist/azote ${D}${bindir}
install -m 644 ${S}/dist/azote.desktop ${D}${datadir}/applications
install -m 644 ${S}/dist/azote.svg ${D}${datadir}/pixmaps
install -m 644 ${S}/dist/indicator_active.png ${D}${datadir}/azote
install -m 644 ${S}/dist/indicator_attention.png ${D}${datadir}/azote
install -m 755 ${S}/distrib/azote ${D}${bindir}
install -m 644 ${S}/distrib/azote.desktop ${D}${datadir}/applications
install -m 644 ${S}/distrib/azote.svg ${D}${datadir}/pixmaps
install -m 644 ${S}/distrib/indicator_active.png ${D}${datadir}/azote
install -m 644 ${S}/distrib/indicator_attention.png ${D}${datadir}/azote
}
FILES:${PN}:append = " \

View File

@ -11,8 +11,6 @@ RDEPENDS:${PN} = "python3-pygobject"
inherit setuptools3 gobject-introspection
PYPA_WHEEL = "${S}/dist/nwg_wrapper*.whl"
S = "${WORKDIR}/git"
PV = "0.1.1"
SRCREV = "9c1b0669dd894b6209a3130169956c755154b055"