python-redis: consolidate inc and bb files into a single bb file
PATCH 1/12 python-redis: consolidate inc and bb files into a single bb file
--- .../recipes-devtools/python/python-redis.inc | 12 ------------ .../python/python3-redis_2.10.6.bb | 14 +++++++++++++- 2 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-redis.inc
meta-python/recipes-devtools/python/python-redis.inc deleted +0 -12
@@ -1,12 +0,0 @@ -SUMMARY = "Python client for Redis key-value store" -DESCRIPTION = "The Python interface to the Redis key-value store." -HOMEPAGE = "http://github.com/andymccurdy/redis-py" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=51d9ad56299ab60ba7be65a621004f27" - -SRC_URI[md5sum] = "048348d8cfe0b5d0bba2f4d835005c3b" -SRC_URI[sha256sum] = "a22ca993cea2962dbb588f9f30d0015ac4afcc45bee27d3978c0dbe9e97c6c0f" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ -"
meta-python/recipes-devtools/python/python3-redis_2.10.6.bb +13 -1
@@ -1,2 +1,14 @@ +SUMMARY = "Python client for Redis key-value store" +DESCRIPTION = "The Python interface to the Redis key-value store." +HOMEPAGE = "http://github.com/andymccurdy/redis-py" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=51d9ad56299ab60ba7be65a621004f27" + +SRC_URI[md5sum] = "048348d8cfe0b5d0bba2f4d835005c3b" +SRC_URI[sha256sum] = "a22ca993cea2962dbb588f9f30d0015ac4afcc45bee27d3978c0dbe9e97c6c0f" + inherit pypi setuptools3 -require python-redis.inc + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ +"
Signature · 1 line
2.17.1
PATCH 2/12 python-rdflib: consolidate inc and bb files into a single bb file
--- .../recipes-devtools/python/python-rdflib.inc | 15 --------------- .../python/python3-rdflib_4.2.2.bb | 17 +++++++++++++++-- 2 files changed, 15 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-rdflib.inc
meta-python/recipes-devtools/python/python-rdflib.inc deleted +0 -15
@@ -1,15 +0,0 @@ -SUMMARY = "RDFLib is a pure Python package for working with RDF" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=68c1a3bb687bd63b8e5552f3ea249840" - -SRC_URI[md5sum] = "534fe35b13c5857d53fa1ac5a41eca67" -SRC_URI[sha256sum] = "da1df14552555c5c7715d8ce71c08f404c988c58a1ecd38552d0da4fc261280d" - -inherit pypi - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-isodate \ - ${PYTHON_PN}-pyparsing \ -" - -BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-rdflib_4.2.2.bb +15 -2
@@ -1,2 +1,15 @@ -inherit setuptools3 -require python-rdflib.inc +SUMMARY = "RDFLib is a pure Python package for working with RDF" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=68c1a3bb687bd63b8e5552f3ea249840" + +SRC_URI[md5sum] = "534fe35b13c5857d53fa1ac5a41eca67" +SRC_URI[sha256sum] = "da1df14552555c5c7715d8ce71c08f404c988c58a1ecd38552d0da4fc261280d" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-isodate \ + ${PYTHON_PN}-pyparsing \ +" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
PATCH 3/12 python-raven: consolidate inc and bb files into a single bb file
In reply to Derek Straka--- .../recipes-devtools/python/python-raven.inc | 13 ------------- .../python/python3-raven_6.10.0.bb | 15 +++++++++++++-- 2 files changed, 13 insertions(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-raven.inc
meta-python/recipes-devtools/python/python-raven.inc deleted +0 -13
@@ -1,13 +0,0 @@ -SUMMARY = "Raven is the legacy Python client for Sentry (getsentry.com)" -DESCRIPTION = "\ -Raven is the official legacy Python client for Sentry, officially \ -supports Python 2.6–2.7 & 3.3–3.7, and runs on PyPy and Google App Engine." -HOMEPAGE = "https://github.com/getsentry/raven-python" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b9a4414e08f0571d55184531cefc131b" - -SRC_URI[md5sum] = "3676f31dadfa61526444dd0245c78a38" -SRC_URI[sha256sum] = "3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54" - -PYPI_PACKAGE = "raven" -inherit pypi
meta-python/recipes-devtools/python/python3-raven_6.10.0.bb +13 -2
@@ -1,2 +1,13 @@ -inherit setuptools3 -require python-raven.inc +SUMMARY = "Raven is the legacy Python client for Sentry (getsentry.com)" +DESCRIPTION = "\ +Raven is the official legacy Python client for Sentry, officially \ +supports Python 2.6–2.7 & 3.3–3.7, and runs on PyPy and Google App Engine." +HOMEPAGE = "https://github.com/getsentry/raven-python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b9a4414e08f0571d55184531cefc131b" + +SRC_URI[md5sum] = "3676f31dadfa61526444dd0245c78a38" +SRC_URI[sha256sum] = "3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54" + +PYPI_PACKAGE = "raven" +inherit pypi setuptools3
Signature · 1 line
2.17.1
PATCH 4/12 python-pyzmq: consolidate inc and bb files into a single bb file
In reply to Derek Straka--- .../recipes-devtools/python/python-pyzmq.inc | 27 ----------------- .../python/python3-pyzmq_17.1.0.bb | 29 +++++++++++++++++-- 2 files changed, 27 insertions(+), 29 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pyzmq.inc
meta-python/recipes-devtools/python/python-pyzmq.inc deleted +0 -27
@@ -1,27 +0,0 @@ -SUMMARY = "Pyzmq provides Zero message queue access for the Python language" -HOMEPAGE = "http://zeromq.org/bindings:python" -LICENSE = "BSD & LGPL-3.0" -LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ - file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e" -DEPENDS = "zeromq" - -FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:" - -SRC_URI += "file://club-rpath-out.patch" -SRC_URI[md5sum] = "aecdfc328193fbd81f6dc23228319943" -SRC_URI[sha256sum] = "2199f753a230e26aec5238b0518b036780708a4c887d4944519681a920b9dee4" - -inherit pypi pkgconfig - -RDEPENDS_${PN} += "${PYTHON_PN}-multiprocessing" - -FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug" - -do_compile_prepend() { - echo [global] > ${S}/setup.cfg - echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg - echo have_sys_un_h = True >> ${S}/setup.cfg - echo skip_check_zmq = True >> ${S}/setup.cfg - echo libzmq_extension = False >> ${S}/setup.cfg - echo no_libzmq_extension = True >> ${S}/setup.cfg -}
meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb +27 -2
@@ -1,2 +1,27 @@ -require python-pyzmq.inc -inherit setuptools3 +SUMMARY = "Pyzmq provides Zero message queue access for the Python language" +HOMEPAGE = "http://zeromq.org/bindings:python" +LICENSE = "BSD & LGPL-3.0" +LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ + file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e" +DEPENDS = "zeromq" + +FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:" + +SRC_URI += "file://club-rpath-out.patch" +SRC_URI[md5sum] = "aecdfc328193fbd81f6dc23228319943" +SRC_URI[sha256sum] = "2199f753a230e26aec5238b0518b036780708a4c887d4944519681a920b9dee4" + +inherit pypi pkgconfig setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-multiprocessing" + +FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug" + +do_compile_prepend() { + echo [global] > ${S}/setup.cfg + echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg + echo have_sys_un_h = True >> ${S}/setup.cfg + echo skip_check_zmq = True >> ${S}/setup.cfg + echo libzmq_extension = False >> ${S}/setup.cfg + echo no_libzmq_extension = True >> ${S}/setup.cfg +}
Signature · 1 line
2.17.1
PATCH 5/12 python-pyyaml: consolidate inc and bb files into a single bb file
In reply to Derek Straka--- .../recipes-devtools/python/python-pyyaml.inc | 18 ----------------- .../python/python3-pyyaml_5.3.bb | 20 +++++++++++++++++-- 2 files changed, 18 insertions(+), 20 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pyyaml.inc
meta-python/recipes-devtools/python/python-pyyaml.inc deleted +0 -18
@@ -1,18 +0,0 @@ -SUMMARY = "Python support for YAML" -HOMEPAGE = "http://www.pyyaml.org" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a76b4c69bfcf82313bbdc0393b04438a" -DEPENDS = "libyaml ${PYTHON_PN}-cython-native ${PYTHON_PN}" - -PYPI_PACKAGE = "PyYAML" -inherit pypi - -SRC_URI[md5sum] = "adbb0d336b509d6472d3b095a0f1cf30" -SRC_URI[sha256sum] = "e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e691615" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ -" - -BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-pyyaml_5.3.bb +18 -2
@@ -1,2 +1,18 @@ -inherit setuptools3 -require python-pyyaml.inc +SUMMARY = "Python support for YAML" +HOMEPAGE = "http://www.pyyaml.org" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a76b4c69bfcf82313bbdc0393b04438a" +DEPENDS = "libyaml ${PYTHON_PN}-cython-native ${PYTHON_PN}" + +PYPI_PACKAGE = "PyYAML" +inherit pypi setuptools3 + +SRC_URI[md5sum] = "adbb0d336b509d6472d3b095a0f1cf30" +SRC_URI[sha256sum] = "e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e691615" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ +" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
PATCH 6/12 python-pyusb: consolidate inc and bb files into a single bb file
In reply to Derek Straka--- .../recipes-devtools/python/python-pyusb.inc | 12 ------------ .../recipes-devtools/python/python3-pyusb_1.0.2.bb | 14 ++++++++++++-- 2 files changed, 12 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pyusb.inc
meta-python/recipes-devtools/python/python-pyusb.inc deleted +0 -12
@@ -1,12 +0,0 @@ -SUMMARY = "PyUSB provides USB access on the Python language" -HOMEPAGE = "http://pyusb.sourceforge.net/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=51691ed11cc2c7ae93e383f60ed49b0f" -DEPENDS += "libusb1" - -SRC_URI[md5sum] = "862b56452c64948c787ad8ef9498590b" -SRC_URI[sha256sum] = "4e9b72cc4a4205ca64fbf1f3fff39a335512166c151ad103e55c8223ac147362" - -inherit pypi - -BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-pyusb_1.0.2.bb +12 -2
@@ -1,2 +1,12 @@ -inherit setuptools3 -require python-pyusb.inc +SUMMARY = "PyUSB provides USB access on the Python language" +HOMEPAGE = "http://pyusb.sourceforge.net/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=51691ed11cc2c7ae93e383f60ed49b0f" +DEPENDS += "libusb1" + +SRC_URI[md5sum] = "862b56452c64948c787ad8ef9498590b" +SRC_URI[sha256sum] = "4e9b72cc4a4205ca64fbf1f3fff39a335512166c151ad103e55c8223ac147362" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
PATCH 7/12 python-pyudev: consolidate inc and bb files into a single bb file
In reply to Derek Straka--- .../recipes-devtools/python/python-pyudev.inc | 19 ----------------- .../python/python3-pyudev_0.21.0.bb | 21 ++++++++++++++++++- 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pyudev.inc
meta-python/recipes-devtools/python/python-pyudev.inc deleted +0 -19
@@ -1,19 +0,0 @@ -SUMMARY = "A libudev binding" -LICENSE = "LGPLv2.1+" -LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" - -SRC_URI[md5sum] = "cf4d9db7d772622144ca1be6b5d9353b" -SRC_URI[sha256sum] = "094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b" - -do_configure_prepend() { - sed -i "/import pyudev/d" ${S}/setup.py - sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py -} - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-ctypes \ - ${PYTHON_PN}-misc \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-threading \ - libudev \ -"
meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb +20 -1
@@ -1,2 +1,21 @@ -require python-pyudev.inc +SUMMARY = "A libudev binding" +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" + +SRC_URI[md5sum] = "cf4d9db7d772622144ca1be6b5d9353b" +SRC_URI[sha256sum] = "094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b" + inherit pypi setuptools3 + +do_configure_prepend() { + sed -i "/import pyudev/d" ${S}/setup.py + sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py +} + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-misc \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-threading \ + libudev \ +"
Signature · 1 line
2.17.1
PATCH 8/12 python-pytz: consolidate inc and bb files into a single bb file
In reply to Derek Straka--- .../recipes-devtools/python/python-pytz.inc | 20 ----------------- .../python/python3-pytz_2019.3.bb | 22 +++++++++++++++++-- 2 files changed, 20 insertions(+), 22 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pytz.inc
meta-python/recipes-devtools/python/python-pytz.inc deleted +0 -20
@@ -1,20 +0,0 @@ -SUMMARY = "World timezone definitions, modern and historical" -HOMEPAGE = "http://pythonhosted.org/pytz" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4878a915709225bceab739bdc2a18e8d" - -inherit pypi - -SRC_URI[md5sum] = "c3d84a465fc56a4edd52cca8873ac0df" -SRC_URI[sha256sum] = "b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be" - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-doctest \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-pprint \ - ${PYTHON_PN}-threading \ -" - -BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-pytz_2019.3.bb +20 -2
@@ -1,2 +1,20 @@ -inherit setuptools3 -require python-pytz.inc +SUMMARY = "World timezone definitions, modern and historical" +HOMEPAGE = "http://pythonhosted.org/pytz" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4878a915709225bceab739bdc2a18e8d" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "c3d84a465fc56a4edd52cca8873ac0df" +SRC_URI[sha256sum] = "b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be" + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-doctest \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-threading \ +" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
PATCH 9/12 python-pytoml: consolidate inc and bb files into a single bb file
In reply to Derek Straka--- .../recipes-devtools/python/python-pytoml.inc | 12 ------------ .../recipes-devtools/python/python3-pytoml_0.1.21.bb | 12 +++++++++++- 2 files changed, 11 insertions(+), 13 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pytoml.inc
meta-python/recipes-devtools/python/python-pytoml.inc deleted +0 -12
@@ -1,12 +0,0 @@ -SUMMARY = "A TOML-0.4.0 parser/writer for Python" -HOMEPAGE = "https://pypi.python.org/pypi/pytoml/" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078" - -SRC_URI[md5sum] = "e59dd36a559dd2a876e4c149c69e947b" -SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" - -inherit pypi - -BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb +11 -1
@@ -1,2 +1,12 @@ +SUMMARY = "A TOML-0.4.0 parser/writer for Python" +HOMEPAGE = "https://pypi.python.org/pypi/pytoml/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078" + +SRC_URI[md5sum] = "e59dd36a559dd2a876e4c149c69e947b" +SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" + inherit pypi setuptools3 -require python-pytoml.inc + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
PATCH 10/12 python-pytest-tempdir: consolidate inc and bb files into a single bb file
In reply to Derek Straka--- .../python/python-pytest-tempdir.inc | 10 ---------- .../python/python3-pytest-tempdir_2019.10.12.bb | 15 +++++++++++---- 2 files changed, 11 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pytest-tempdir.inc
meta-python/recipes-devtools/python/python-pytest-tempdir.inc deleted +0 -10
@@ -1,10 +0,0 @@ -DESCRIPTION = "Adds support for a predictable and repeatable temporary directory." -HOMEPAGE = "https://github.com/saltstack/pytest-tempdir" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9872c3a37cc9baf79a464cd168282be5" - -SRC_URI[md5sum] = "79b997d418fb85c2529ab50cd4333689" -SRC_URI[sha256sum] = "e7d91813a9aa991db87dacdef8cfd3f1657632d731d56d06238c5ffb63ab36d8" - -inherit pypi
meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb +11 -4
@@ -1,7 +1,14 @@ -require python-pytest-tempdir.inc +DESCRIPTION = "Adds support for a predictable and repeatable temporary directory." +HOMEPAGE = "https://github.com/saltstack/pytest-tempdir" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9872c3a37cc9baf79a464cd168282be5" -inherit setuptools3 +SRC_URI[md5sum] = "79b997d418fb85c2529ab50cd4333689" +SRC_URI[sha256sum] = "e7d91813a9aa991db87dacdef8cfd3f1657632d731d56d06238c5ffb63ab36d8" + +inherit pypi setuptools3 RDEPENDS_${PN} += " \ - python3-pytest \ - " + ${PYTHON_PN}-pytest \ +"
Signature · 1 line
2.17.1
PATCH 11/12 python-pytest-runner: consolidate inc and bb files into a single bb file
In reply to Derek Straka--- .../python/python-pytest-runner.inc | 16 ---------------- .../python/python3-pytest-runner_5.2.bb | 18 ++++++++++++++++-- 2 files changed, 16 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pytest-runner.inc
meta-python/recipes-devtools/python/python-pytest-runner.inc deleted +0 -16
@@ -1,16 +0,0 @@ -SUMMARY = "Invoke py.test as distutils command with dependency resolution" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e" - -SRC_URI[md5sum] = "e5f66b8e8e87f62c59631c35c919d321" -SRC_URI[sha256sum] = "96c7e73ead7b93e388c5d614770d2bae6526efd997757d3543fe17b557a0942b" - -inherit pypi - -DEPENDS += " \ - ${PYTHON_PN}-setuptools-scm-native" - -RDEPENDS_${PN} = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools ${PYTHON_PN}-debugger ${PYTHON_PN}-json \ - ${PYTHON_PN}-io" - -BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-pytest-runner_5.2.bb +16 -2
@@ -1,2 +1,16 @@ -inherit setuptools3 -require python-pytest-runner.inc +SUMMARY = "Invoke py.test as distutils command with dependency resolution" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e" + +SRC_URI[md5sum] = "e5f66b8e8e87f62c59631c35c919d321" +SRC_URI[sha256sum] = "96c7e73ead7b93e388c5d614770d2bae6526efd997757d3543fe17b557a0942b" + +inherit pypi setuptools3 + +DEPENDS += " \ + ${PYTHON_PN}-setuptools-scm-native" + +RDEPENDS_${PN} = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools ${PYTHON_PN}-debugger ${PYTHON_PN}-json \ + ${PYTHON_PN}-io" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
PATCH 12/12 python-pytest: consolidate inc and bb files into a single bb file
In reply to Derek Straka---
.../recipes-devtools/python/python-pytest.inc | 41 -------------------
...he-setup_requires-for-setuptools-scm.patch | 0
.../python/python3-pytest_5.3.5.bb | 40 ++++++++++++++++--
3 files changed, 37 insertions(+), 44 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python-pytest.inc
rename meta-python/recipes-devtools/python/{python-pytest => python3-pytest}/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch (100%)meta-python/recipes-devtools/python/python-pytest.inc deleted +0 -41
@@ -1,41 +0,0 @@ -SUMMARY = "Simple powerful testing with python" -HOMEPAGE = "http://pytest.org" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b" - -SRC_URI[md5sum] = "d5ef453f723be46d93e0795f3be86c88" -SRC_URI[sha256sum] = "0d5fe9189a148acc3c3eb2ac8e1ac0742cb7618c084f3d228baaec0c254b318d" - -SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch \ - " - -inherit update-alternatives - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-attrs \ - ${PYTHON_PN}-debugger \ - ${PYTHON_PN}-doctest \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-pluggy \ - ${PYTHON_PN}-py \ - ${PYTHON_PN}-setuptools \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-atomicwrites \ - ${PYTHON_PN}-importlib-metadata \ - ${PYTHON_PN}-pathlib2 \ - ${PYTHON_PN}-wcwidth \ - ${PYTHON_PN}-more-itertools \ - ${PYTHON_PN}-packaging \ -" - -FILESEXTRAPATHS_prepend := "${THISDIR}/python-pytest:" - -ALTERNATIVE_${PN} += "py.test pytest" - -NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" -ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest" - -ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test" -ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test" - -BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch renamed from meta-python/recipes-devtools/python/python-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch +0 -0
meta-python/recipes-devtools/python/python3-pytest_5.3.5.bb +37 -3
@@ -1,4 +1,38 @@ -inherit pypi setuptools3 -require python-pytest.inc +SUMMARY = "Simple powerful testing with python" +HOMEPAGE = "http://pytest.org" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b" -ALTERNATIVE_PRIORITY = "100" +SRC_URI[md5sum] = "d5ef453f723be46d93e0795f3be86c88" +SRC_URI[sha256sum] = "0d5fe9189a148acc3c3eb2ac8e1ac0742cb7618c084f3d228baaec0c254b318d" + +SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch " + +inherit update-alternatives pypi setuptools3 + +RDEPENDS_${PN}_class-target += " \ + ${PYTHON_PN}-attrs \ + ${PYTHON_PN}-debugger \ + ${PYTHON_PN}-doctest \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-pluggy \ + ${PYTHON_PN}-py \ + ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-atomicwrites \ + ${PYTHON_PN}-importlib-metadata \ + ${PYTHON_PN}-pathlib2 \ + ${PYTHON_PN}-wcwidth \ + ${PYTHON_PN}-more-itertools \ + ${PYTHON_PN}-packaging \ +" + +ALTERNATIVE_${PN} += "py.test pytest" + +NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" +ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest" + +ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test" +ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1