aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2018-03-17 20:05:29 -0700
committerTim Orling <timothy.t.orling@linux.intel.com>2018-03-17 20:46:16 -0700
commit51b8b14b939254ea905d46684a696038c42f92c1 (patch)
tree1f18a4efca5629e05eeabcbac902da8c8519e59d /meta-python/recipes-devtools
parentd0949e0be60aa3b9a6767e42d570aa9f8d02f8c5 (diff)
downloadmeta-openembedded-contrib-51b8b14b939254ea905d46684a696038c42f92c1.tar.gz
meta-openembedded-contrib-51b8b14b939254ea905d46684a696038c42f92c1.tar.bz2
meta-openembedded-contrib-51b8b14b939254ea905d46684a696038c42f92c1.zip
python-oauthlib: fix AUH version check; cleanup inc
* Use default SRC_URI which allows for auto-upgrade-helper to properly check for new upstream versions * Make RDEPENDS easier to read by making the list multiline Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Diffstat (limited to 'meta-python/recipes-devtools')
-rw-r--r--meta-python/recipes-devtools/python/python-oauthlib.inc15
1 files changed, 11 insertions, 4 deletions
diff --git a/meta-python/recipes-devtools/python/python-oauthlib.inc b/meta-python/recipes-devtools/python/python-oauthlib.inc
index c5de8a091a..c83df71462 100644
--- a/meta-python/recipes-devtools/python/python-oauthlib.inc
+++ b/meta-python/recipes-devtools/python/python-oauthlib.inc
@@ -4,11 +4,10 @@ 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 pypi
# The following configs & dependencies are from setuptools extras_require.
# These dependencies are optional, hence can be controlled via PACKAGECONFIG.
@@ -21,5 +20,13 @@ 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"
-
+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 \
+"