summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-lxml.inc
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2016-02-14 23:05:18 -0500
committerMartin Jansa <Martin.Jansa@gmail.com>2016-02-25 17:45:48 +0100
commit9d9a616a392deeb06bf7458902281c9bfeb7f5b6 (patch)
treedccc15079aa4f39de3266c838415202ada4a4060 /meta-python/recipes-devtools/python/python-lxml.inc
parentb62ae60f869b83721757a2f5316cdc26c1030af3 (diff)
downloadmeta-openembedded-9d9a616a392deeb06bf7458902281c9bfeb7f5b6.tar.gz
Update python recipes to use the common pypi package
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-lxml.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-lxml.inc7
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 337da1b6c..cb9986e5f 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 "
18SRCNAME = "lxml"
19 18
20DEPENDS += "libxml2 libxslt" 19DEPENDS += "libxml2 libxslt"
21 20
22SRC_URI = "http://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
23
24SRC_URI[md5sum] = "9f0c5f1eb43ff44d5455dab4b4efbe73" 21SRC_URI[md5sum] = "9f0c5f1eb43ff44d5455dab4b4efbe73"
25SRC_URI[sha256sum] = "349f93e3a4b09cc59418854ab8013d027d246757c51744bf20069bc89016f578" 22SRC_URI[sha256sum] = "349f93e3a4b09cc59418854ab8013d027d246757c51744bf20069bc89016f578"
26 23
27S = "${WORKDIR}/${SRCNAME}-${PV}"
28
29DISTUTILS_BUILD_ARGS += " \ 24DISTUTILS_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
34inherit pypi
35
39do_configure_prepend() { 36do_configure_prepend() {
40 sed -i -e 's/--version/--modversion/' ${B}/setupinfo.py 37 sed -i -e 's/--version/--modversion/' ${B}/setupinfo.py
41} 38}