diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python-lxml.inc')
-rw-r--r-- | meta-python/recipes-devtools/python/python-lxml.inc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta-python/recipes-devtools/python/python-lxml.inc b/meta-python/recipes-devtools/python/python-lxml.inc index 337da1b6c5..cb9986e5f0 100644 --- a/meta-python/recipes-devtools/python/python-lxml.inc +++ b/meta-python/recipes-devtools/python/python-lxml.inc | |||
@@ -15,17 +15,12 @@ LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=f9f1dc24f720c143c2240df41fe5073b \ | |||
15 | file://src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl;startline=2;endline=24;md5=96976dcc66249c51e8026b159ca5e755 \ | 15 | file://src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl;startline=2;endline=24;md5=96976dcc66249c51e8026b159ca5e755 \ |
16 | file://src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl;startline=2;endline=7;md5=5cac4ad4b5e131a10e9af755b10fbbb7 \ | 16 | file://src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl;startline=2;endline=7;md5=5cac4ad4b5e131a10e9af755b10fbbb7 \ |
17 | " | 17 | " |
18 | SRCNAME = "lxml" | ||
19 | 18 | ||
20 | DEPENDS += "libxml2 libxslt" | 19 | DEPENDS += "libxml2 libxslt" |
21 | 20 | ||
22 | SRC_URI = "http://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" | ||
23 | |||
24 | SRC_URI[md5sum] = "9f0c5f1eb43ff44d5455dab4b4efbe73" | 21 | SRC_URI[md5sum] = "9f0c5f1eb43ff44d5455dab4b4efbe73" |
25 | SRC_URI[sha256sum] = "349f93e3a4b09cc59418854ab8013d027d246757c51744bf20069bc89016f578" | 22 | SRC_URI[sha256sum] = "349f93e3a4b09cc59418854ab8013d027d246757c51744bf20069bc89016f578" |
26 | 23 | ||
27 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
28 | |||
29 | DISTUTILS_BUILD_ARGS += " \ | 24 | DISTUTILS_BUILD_ARGS += " \ |
30 | --with-xslt-config='pkg-config libxslt' \ | 25 | --with-xslt-config='pkg-config libxslt' \ |
31 | --with-xml2-config='pkg-config libxml-2.0' \ | 26 | --with-xml2-config='pkg-config libxml-2.0' \ |
@@ -36,6 +31,8 @@ DISTUTILS_INSTALL_ARGS += " \ | |||
36 | --with-xml2-config='pkg-config libxml-2.0' \ | 31 | --with-xml2-config='pkg-config libxml-2.0' \ |
37 | " | 32 | " |
38 | 33 | ||
34 | inherit pypi | ||
35 | |||
39 | do_configure_prepend() { | 36 | do_configure_prepend() { |
40 | sed -i -e 's/--version/--modversion/' ${B}/setupinfo.py | 37 | sed -i -e 's/--version/--modversion/' ${B}/setupinfo.py |
41 | } | 38 | } |