mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 04:03:03 +01:00
python-imaging: bring in fixes from meta-oe
This makes the following changes:
* Replace the /usr/local/bin/python path in all scripts
* Move RDEPENDS_${PN} to the end (but use += or we lose the python-core
depencency).
* Use PR = "r3" instead of "ml2". (Even without increasing the numeric
part it is recognised as greater alphabetically.)
* Bring in meta-oe version of the path patch which avoids the following
warning:
WARNING: python-imaging: The compile log indicates that host include
and/or library paths were used.
(From OE-Core rev: 9950163c91412eb58c3475354cc7f87a7be33c2b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
24d1560609
commit
be0f9dd483
@@ -3,12 +3,11 @@ SECTION = "devel/python"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=92;endline=120;md5=c4371af4579f1e489cf881c1443dd4ec"
|
||||
DEPENDS = "freetype jpeg tiff"
|
||||
RDEPENDS_${PN} = "python-lang python-stringold"
|
||||
SRCNAME = "Imaging"
|
||||
PR = "ml2"
|
||||
PR = "r3"
|
||||
|
||||
SRC_URI = "http://effbot.org/downloads/Imaging-${PV}.tar.gz \
|
||||
file://path.patch"
|
||||
file://0001-python-imaging-setup.py-force-paths-for-zlib-freetyp.patch"
|
||||
|
||||
SRC_URI[md5sum] = "fc14a54e1ce02a0225be8854bfba478e"
|
||||
SRC_URI[sha256sum] = "895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211"
|
||||
@@ -30,4 +29,8 @@ do_install() {
|
||||
install -m 0644 ${S}/README ${D}${datadir}/doc/${PN}/
|
||||
install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${PN}/html/
|
||||
|
||||
# get rid of #!/usr/local/bin/python
|
||||
sed -i -e 's:/usr/local/bin/:${bindir}/env :g' ${D}${bindir}/*
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} += "python-lang python-stringold"
|
||||
|
||||
Reference in New Issue
Block a user