mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
python3-zopeinterface: add python3 packaging
Matching what has been done with other python packages, move the existing recipe into a .inc file and then create python and python3 specific bb files to allow the generation of python2 or python3 versions. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
38d11cb293
commit
27f872142d
20
meta-python/recipes-devtools/python/python-zopeinterface.inc
Normal file
20
meta-python/recipes-devtools/python/python-zopeinterface.inc
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
SUMMARY = "Interface definitions for Zope products"
|
||||
LICENSE = "ZPL-2.1"
|
||||
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423ec128974bd9d46"
|
||||
|
||||
SRC_URI[md5sum] = "ba3f32eacaea66094b7e2ae2788cec89"
|
||||
SRC_URI[sha256sum] = "8780ef68ca8c3fe1abb30c058a59015129d6e04a6b02c2e56b9c7de6078dfa88"
|
||||
|
||||
PYPI_PACKAGE = "zope.interface"
|
||||
|
||||
PACKAGES =. "${PN}-test "
|
||||
|
||||
RPROVIDES_${PN} += "zope-interfaces"
|
||||
|
||||
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}-test += " \
|
||||
${PYTHON_SITEPACKAGES_DIR}/zope/interface/tests \
|
||||
${PYTHON_SITEPACKAGES_DIR}/zope/interface/common/tests \
|
||||
"
|
||||
|
|
@ -1,23 +1,4 @@
|
|||
SUMMARY = "Interface definitions for Zope products"
|
||||
LICENSE = "ZPL-2.1"
|
||||
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423ec128974bd9d46"
|
||||
|
||||
SRC_URI[md5sum] = "ba3f32eacaea66094b7e2ae2788cec89"
|
||||
SRC_URI[sha256sum] = "8780ef68ca8c3fe1abb30c058a59015129d6e04a6b02c2e56b9c7de6078dfa88"
|
||||
|
||||
PYPI_PACKAGE = "zope.interface"
|
||||
inherit pypi setuptools
|
||||
|
||||
PACKAGES =. "${PN}-test "
|
||||
|
||||
RPROVIDES_${PN} += "zope-interfaces"
|
||||
require python-zopeinterface.inc
|
||||
|
||||
RDEPENDS_${PN}-test += "python-unittest python-doctest"
|
||||
|
||||
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}-test += " \
|
||||
${PYTHON_SITEPACKAGES_DIR}/zope/interface/tests \
|
||||
${PYTHON_SITEPACKAGES_DIR}/zope/interface/common/tests \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
inherit pypi setuptools3
|
||||
require python-zopeinterface.inc
|
||||
|
||||
RDEPENDS_${PN}-test += "python3-unittest python3-doctest"
|
||||
Loading…
Reference in New Issue
Block a user