python3-evdev: Consolidate in a single file
PATCH 1/3 python3-evdev: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
--- .../recipes-devtools/python/python-evdev.inc | 25 ------------------- .../python/python3-evdev_1.3.0.bb | 22 +++++++++++++++- 2 files changed, 21 insertions(+), 26 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-evdev.inc
meta-python/recipes-devtools/python/python-evdev.inc deleted +0 -25
@@ -1,25 +0,0 @@ -SUMMARY = "Python evdev lib" -HOMEPAGE = "https://github.com/gvalkov/python-evdev" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2" - -FILESEXTRAPATHS_prepend := "${THISDIR}/python-evdev:" - -SRC_URI = "${PYPI_SRC_URI}" - -SRC_URI[md5sum] = "05f9e900d6e11e1674475d2dd2668f0d" -SRC_URI[sha256sum] = "b1c649b4fed7252711011da235782b2c260b32e004058d62473471e5cd30634d" - -do_compile_prepend() { - rm -rf ${S}/evdev/ecodes.c -} - -DISTUTILS_BUILD_ARGS = "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-ctypes \ - ${PYTHON_PN}-fcntl \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-stringold \ - "
meta-python/recipes-devtools/python/python3-evdev_1.3.0.bb +21 -1
@@ -1,3 +1,23 @@ +SUMMARY = "Python evdev lib" +HOMEPAGE = "https://github.com/gvalkov/python-evdev" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2" + +SRC_URI[md5sum] = "05f9e900d6e11e1674475d2dd2668f0d" +SRC_URI[sha256sum] = "b1c649b4fed7252711011da235782b2c260b32e004058d62473471e5cd30634d" + inherit pypi setuptools3 -require python-evdev.inc +do_compile_prepend() { + rm -rf ${S}/evdev/ecodes.c +} + +DISTUTILS_BUILD_ARGS = "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-fcntl \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-stringold \ + "
Signature · 1 line
2.17.1
PATCH 2/3 python3-oauthlib: Consolidate in a single file
Consolidate inc and bb files into a single bb file. Inherit pypi.
--- .../python/python-oauthlib.inc | 25 ------------------- .../python/python3-oauthlib_2.0.6.bb | 25 +++++++++++++++++-- 2 files changed, 23 insertions(+), 27 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-oauthlib.inc
meta-python/recipes-devtools/python/python-oauthlib.inc deleted +0 -25
@@ -1,25 +0,0 @@ -SUMMARY = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic" -HOMEPAGE = "https://github.com/idan/oauthlib" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5ba9ce41463615e082609806255bce1b" - -SRC_URI = "https://pypi.python.org/packages/a5/8a/212e9b47fb54be109f3ff0684165bb38c51117f34e175c379fce5c7df754/oauthlib-${PV}.tar.gz" -SRC_URI[md5sum] = "277a9a966cc8c72e492b4eeb41332445" -SRC_URI[sha256sum] = "ce57b501e906ff4f614e71c36a3ab9eacbb96d35c24d1970d2539bbc3ec70ce1" - -S = "${WORKDIR}/oauthlib-${PV}" - -# The following configs & dependencies are from setuptools extras_require. -# These dependencies are optional, hence can be controlled via PACKAGECONFIG. -# The upstream names may not correspond exactly to bitbake package names. -# -# Uncomment this line to enable all the optional features. -#PACKAGECONFIG ?= "test signedtoken signals rsa" -PACKAGECONFIG[test] = ",,,${PYTHON_PN}-blinker ${PYTHON_PN}-cryptography ${PYTHON_PN}-nose ${PYTHON_PN}-pyjwt" -PACKAGECONFIG[signedtoken] = ",,,${PYTHON_PN}-cryptography ${PYTHON_PN}-pyjwt" -PACKAGECONFIG[signals] = ",,,${PYTHON_PN}-blinker" -PACKAGECONFIG[rsa] = ",,,${PYTHON_PN}-cryptography" - -RDEPENDS_${PN} += "${PYTHON_PN}-core ${PYTHON_PN}-crypt ${PYTHON_PN}-datetime ${PYTHON_PN}-json ${PYTHON_PN}-logging ${PYTHON_PN}-math ${PYTHON_PN}-netclient ${PYTHON_PN}-unittest" -
meta-python/recipes-devtools/python/python3-oauthlib_2.0.6.bb +23 -2
@@ -1,2 +1,23 @@ -inherit setuptools3 -require python-oauthlib.inc +SUMMARY = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic" +HOMEPAGE = "https://github.com/idan/oauthlib" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5ba9ce41463615e082609806255bce1b" + +SRC_URI[md5sum] = "277a9a966cc8c72e492b4eeb41332445" +SRC_URI[sha256sum] = "ce57b501e906ff4f614e71c36a3ab9eacbb96d35c24d1970d2539bbc3ec70ce1" + +inherit pypi setuptools3 + +# The following configs & dependencies are from setuptools extras_require. +# These dependencies are optional, hence can be controlled via PACKAGECONFIG. +# The upstream names may not correspond exactly to bitbake package names. +# +# Uncomment this line to enable all the optional features. +#PACKAGECONFIG ?= "test signedtoken signals rsa" +PACKAGECONFIG[test] = ",,,${PYTHON_PN}-blinker ${PYTHON_PN}-cryptography ${PYTHON_PN}-nose ${PYTHON_PN}-pyjwt" +PACKAGECONFIG[signedtoken] = ",,,${PYTHON_PN}-cryptography ${PYTHON_PN}-pyjwt" +PACKAGECONFIG[signals] = ",,,${PYTHON_PN}-blinker" +PACKAGECONFIG[rsa] = ",,,${PYTHON_PN}-cryptography" + +RDEPENDS_${PN} += "${PYTHON_PN}-core ${PYTHON_PN}-crypt ${PYTHON_PN}-datetime ${PYTHON_PN}-json ${PYTHON_PN}-logging ${PYTHON_PN}-math ${PYTHON_PN}-netclient ${PYTHON_PN}-unittest"
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 2/3] python3-oauthlib: Consolidate in a single file
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file. Inherit pypi.
Signed-off-by Leon Anavi <[email protected]>
Quoted 69 lines
--- .../python/python-oauthlib.inc | 25 ------------------- .../python/python3-oauthlib_2.0.6.bb | 25 +++++++++++++++++-- 2 files changed, 23 insertions(+), 27 deletions(-)delete mode 100644 meta-python/recipes-devtools/python/python-oauthlib.inc
meta-python/recipes-devtools/python/python-oauthlib.inc deleted +0
-25@@ -1,25 +0,0 @@ -SUMMARY = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic" -HOMEPAGE = "https://github.com/idan/oauthlib" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5ba9ce41463615e082609806255bce1b" - -SRC_URI = "https://pypi.python.org/packages/a5/8a/212e9b47fb54be109f3ff0684165bb38c51117f34e175c379fce5c7df754/oauthlib-${PV}.tar.gz" -SRC_URI[md5sum] = "277a9a966cc8c72e492b4eeb41332445" -SRC_URI[sha256sum] = "ce57b501e906ff4f614e71c36a3ab9eacbb96d35c24d1970d2539bbc3ec70ce1" - -S = "${WORKDIR}/oauthlib-${PV}" - -# The following configs & dependencies are from setuptools extras_require. -# These dependencies are optional, hence can be controlled via PACKAGECONFIG. -# The upstream names may not correspond exactly to bitbake package names. -# -# Uncomment this line to enable all the optional features. -#PACKAGECONFIG ?= "test signedtoken signals rsa" -PACKAGECONFIG[test] = ",,,${PYTHON_PN}-blinker ${PYTHON_PN}-cryptography ${PYTHON_PN}-nose ${PYTHON_PN}-pyjwt" -PACKAGECONFIG[signedtoken] = ",,,${PYTHON_PN}-cryptography ${PYTHON_PN}-pyjwt" -PACKAGECONFIG[signals] = ",,,${PYTHON_PN}-blinker" -PACKAGECONFIG[rsa] = ",,,${PYTHON_PN}-cryptography" - -RDEPENDS_${PN} += "${PYTHON_PN}-core ${PYTHON_PN}-crypt ${PYTHON_PN}-datetime ${PYTHON_PN}-json ${PYTHON_PN}-logging ${PYTHON_PN}-math ${PYTHON_PN}-netclient ${PYTHON_PN}-unittest" -meta-python/recipes-devtools/python/python3-oauthlib_2.0.6.bb +23
-2@@ -1,2 +1,23 @@ -inherit setuptools3 -require python-oauthlib.inc +SUMMARY = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic" +HOMEPAGE = "https://github.com/idan/oauthlib" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5ba9ce41463615e082609806255bce1b" + +SRC_URI[md5sum] = "277a9a966cc8c72e492b4eeb41332445" +SRC_URI[sha256sum] = "ce57b501e906ff4f614e71c36a3ab9eacbb96d35c24d1970d2539bbc3ec70ce1" + +inherit pypi setuptools3 + +# The following configs & dependencies are from setuptools extras_require. +# These dependencies are optional, hence can be controlled via PACKAGECONFIG. +# The upstream names may not correspond exactly to bitbake package names. +# +# Uncomment this line to enable all the optional features. +#PACKAGECONFIG ?= "test signedtoken signals rsa" +PACKAGECONFIG[test] = ",,,${PYTHON_PN}-blinker ${PYTHON_PN}-cryptography ${PYTHON_PN}-nose ${PYTHON_PN}-pyjwt" +PACKAGECONFIG[signedtoken] = ",,,${PYTHON_PN}-cryptography ${PYTHON_PN}-pyjwt" +PACKAGECONFIG[signals] = ",,,${PYTHON_PN}-blinker" +PACKAGECONFIG[rsa] = ",,,${PYTHON_PN}-cryptography" + +RDEPENDS_${PN} += "${PYTHON_PN}-core ${PYTHON_PN}-crypt ${PYTHON_PN}-datetime ${PYTHON_PN}-json ${PYTHON_PN}-logging ${PYTHON_PN}-math ${PYTHON_PN}-netclient ${PYTHON_PN}-unittest"
PATCH 3/3 python3-oauthlib: Upgrade 2.0.6 -> 3.1.0
In reply to Leon AnaviUpgrade to release 3.1.0. The year in file LICENCE has been updated therefore the checksum has been changed but it still remains a BSD license.
---
...{python3-oauthlib_2.0.6.bb => python3-oauthlib_3.1.0.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta-python/recipes-devtools/python/{python3-oauthlib_2.0.6.bb => python3-oauthlib_3.1.0.bb} (82%)meta-python/recipes-devtools/python/python3-oauthlib_3.1.0.bb renamed from meta-python/recipes-devtools/python/python3-oauthlib_2.0.6.bb +3 -3
@@ -2,10 +2,10 @@ SUMMARY = "A generic, spec-compliant, thorough implementation of the OAuth reque HOMEPAGE = "https://github.com/idan/oauthlib" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5ba9ce41463615e082609806255bce1b" +LIC_FILES_CHKSUM = "file://LICENSE;md5=abd2675e944a2011aed7e505290ba482" -SRC_URI[md5sum] = "277a9a966cc8c72e492b4eeb41332445" -SRC_URI[sha256sum] = "ce57b501e906ff4f614e71c36a3ab9eacbb96d35c24d1970d2539bbc3ec70ce1" +SRC_URI[md5sum] = "43cb2b5bac983712ee55076b61181cc2" +SRC_URI[sha256sum] = "bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889" inherit pypi setuptools3
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 3/3] python3-oauthlib: Upgrade 2.0.6 -> 3.1.0
Quoted 5 lines · Leon Anavi
Upgrade to release 3.1.0. The year in file LICENCE has been updated therefore the checksum has been changed but it still remains a BSD license.
Signed-off-by Leon Anavi <[email protected]>
Quoted 28 lines
--- ...{python3-oauthlib_2.0.6.bb => python3-oauthlib_3.1.0.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)rename meta-python/recipes-devtools/python/{python3-oauthlib_2.0.6.bb => python3-oauthlib_3.1.0.bb} (82%)
meta-python/recipes-devtools/python/python3-oauthlib_3.1.0.bb renamed from meta-python/recipes-devtools/python/python3-oauthlib_2.0.6.bb +3
-3@@ -2,10 +2,10 @@ SUMMARY = "A generic, spec-compliant, thorough implementation of the OAuth reque HOMEPAGE = "https://github.com/idan/oauthlib" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5ba9ce41463615e082609806255bce1b" +LIC_FILES_CHKSUM = "file://LICENSE;md5=abd2675e944a2011aed7e505290ba482" -SRC_URI[md5sum] = "277a9a966cc8c72e492b4eeb41332445" -SRC_URI[sha256sum] = "ce57b501e906ff4f614e71c36a3ab9eacbb96d35c24d1970d2539bbc3ec70ce1" +SRC_URI[md5sum] = "43cb2b5bac983712ee55076b61181cc2" +SRC_URI[sha256sum] = "bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889" inherit pypi setuptools3
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 68 lines
--- .../recipes-devtools/python/python-evdev.inc | 25 ------------------- .../python/python3-evdev_1.3.0.bb | 22 +++++++++++++++- 2 files changed, 21 insertions(+), 26 deletions(-)delete mode 100644 meta-python/recipes-devtools/python/python-evdev.inc
meta-python/recipes-devtools/python/python-evdev.inc deleted +0
-25@@ -1,25 +0,0 @@ -SUMMARY = "Python evdev lib" -HOMEPAGE = "https://github.com/gvalkov/python-evdev" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2" - -FILESEXTRAPATHS_prepend := "${THISDIR}/python-evdev:" - -SRC_URI = "${PYPI_SRC_URI}" - -SRC_URI[md5sum] = "05f9e900d6e11e1674475d2dd2668f0d" -SRC_URI[sha256sum] = "b1c649b4fed7252711011da235782b2c260b32e004058d62473471e5cd30634d" - -do_compile_prepend() { - rm -rf ${S}/evdev/ecodes.c -} - -DISTUTILS_BUILD_ARGS = "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-ctypes \ - ${PYTHON_PN}-fcntl \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-stringold \ - "meta-python/recipes-devtools/python/python3-evdev_1.3.0.bb +21
-1@@ -1,3 +1,23 @@ +SUMMARY = "Python evdev lib" +HOMEPAGE = "https://github.com/gvalkov/python-evdev" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2" + +SRC_URI[md5sum] = "05f9e900d6e11e1674475d2dd2668f0d" +SRC_URI[sha256sum] = "b1c649b4fed7252711011da235782b2c260b32e004058d62473471e5cd30634d" + inherit pypi setuptools3 -require python-evdev.inc +do_compile_prepend() { + rm -rf ${S}/evdev/ecodes.c +} + +DISTUTILS_BUILD_ARGS = "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-fcntl \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-stringold \ + "