[OE-core] [PATCH]] python-oauthlib_2.0.6.bb: Add python-oauthlib

Tim Orling timothy.t.orling at linux.intel.com
Thu Jan 25 04:53:49 UTC 2018


Why do you feel this needs to be in oe-core rather than meta-python? We are trying to keep oe-core self contained and if nothing depends on this it does not belong in oe-core.

Also, please provide a python3 version as well as oe-core and meta-python are transitioning to only python3 support (python2 will be EOL in ~2020).

> On Jan 24, 2018, at 6:26 PM, Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri at xilinx.com> wrote:
> 
> This patch adds python-oauthlib recipe.
> 
> Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri at xilinx.com>
> ---
> .../python/python-oauthlib_2.0.6.bb                | 27 ++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
> create mode 100644 meta/recipes-devtools/python/python-oauthlib_2.0.6.bb
> 
> diff --git a/meta/recipes-devtools/python/python-oauthlib_2.0.6.bb b/meta/recipes-devtools/python/python-oauthlib_2.0.6.bb
> new file mode 100644
> index 0000000..0bcb7b8
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python-oauthlib_2.0.6.bb
> @@ -0,0 +1,27 @@
> +SUMMARY = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"
> +HOMEPAGE = "https://github.com/idan/oauthlib"
> +
> +LICENSE = "BSD"
> +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}"
> +
> +inherit setuptools
> +
> +# 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-blinker python-cryptography python-nose python-pyjwt"
> +PACKAGECONFIG[signedtoken] = ",,,python-cryptography python-pyjwt"
> +PACKAGECONFIG[signals] = ",,,python-blinker"
> +PACKAGECONFIG[rsa] = ",,,python-cryptography"
> +
> +RDEPENDS_${PN} += "python-core python-crypt python-datetime python-json python-lang python-logging python-math python-netclient python-re python-unittest"
> +
> --
> 2.7.4
> 
> This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list