python-zopeinterface-3.5.1: fix packaging
PATCH 1/1 python-zopeinterface-3.5.1: fix packaging
* Inherit setuptools instead of distutils.
Install paths with distutils (built on x86_64 for mipsel):
usr/lib/python2.6/site-packages/zope.interface-3.5.1-py2.6-linux-x86_64.egg/zope/interface/*.py
Install paths with setuptools:
usr/lib/python2.6/site-packages/zope/interface/*.py
* Package tests into ${PN}-tests.
* Package .c files into ${PN}-dev.
* Package .txt files into ${PN}-doc.
* oe-stylized.
Signed-off-by Andreas Oberritter <[email protected]>
CC Michael 'Mickey' Lauer <[email protected]>
--- recipes/zope/python-zopeinterface_3.5.1.bb | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-)
recipes/zope/python-zopeinterface_3.5.1.bb +13 -9
@@ -2,17 +2,21 @@ DESCRIPTION = "Interface definitions for Zope products" SECTION = "console/network" PRIORITY = "optional" LICENSE = "ZPL" - -RPROVIDES_${PN} += " zope-interfaces" - -inherit distutils - -PR = "r1" +RPROVIDES_${PN} += "zope-interfaces" +PR = "r2" SRC_URI = "http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${PV}.tar.gz" +SRC_URI[md5sum] = "685fc532550abb07cca6190c9cd2b901" +SRC_URI[sha256sum] = "b81d898532c47f73475c2d0c23580e289eed25923d007eca8e62750c0998bba0" + S = "${WORKDIR}/zope.interface-${PV}" -FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*.egg/*/*/.debug" +inherit setuptools -SRC_URI[md5sum] = "685fc532550abb07cca6190c9cd2b901" -SRC_URI[sha256sum] = "b81d898532c47f73475c2d0c23580e289eed25923d007eca8e62750c0998bba0" +FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*.egg/*/*/.debug" +FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/zope/interface/*.c" +FILES_${PN}-doc += "${PYTHON_SITEPACKAGES_DIR}/zope/interface/*.txt" +FILES_${PN}-tests = " \ + ${PYTHON_SITEPACKAGES_DIR}/zope/interface/tests \ + ${PYTHON_SITEPACKAGES_DIR}/zope/interface/common/tests \ +"
Signature · 1 line
1.7.2.3