On 6/24/20 11:16 AM, Leon Anavi wrote:
Consolidate inc and bb files into a single bb file.
Fix the HOMEPAGE to point to the GitHub repository.

Signed-off-by: Leon Anavi <leon.an...@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamb...@windriver.com>
---
  .../python/python-ndg-httpsclient.inc         | 25 -----------------
  .../python/python3-ndg-httpsclient_0.5.1.bb   | 27 ++++++++++++++++++-
  2 files changed, 26 insertions(+), 26 deletions(-)
  delete mode 100644 
meta-python/recipes-devtools/python/python-ndg-httpsclient.inc

diff --git a/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc 
b/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc
deleted file mode 100644
index bca58f764..000000000
--- a/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc
+++ /dev/null
@@ -1,25 +0,0 @@
-DESCRIPTION = "Provides enhanced HTTPS support for httplib and urllib2 using 
PyOpenSSL"
-HOMEPAGE = "http://python-requests.org";
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=ce22c0cd986d2de3f7073cd6b5523ae0"
-
-SRC_URI[md5sum] = "b0fc8ea38f87d2c1ab1ed79a95c078f9"
-SRC_URI[sha256sum] = 
"d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210"
-
-PYPI_PACKAGE = "ndg_httpsclient"
-
-DEPENDS += " \
-    ${PYTHON_PN}-pyopenssl \
-    ${PYTHON_PN}-pyasn1 \
-"
-
-RDEPENDS_${PN} += " \
-    ${PYTHON_PN}-datetime \
-    ${PYTHON_PN}-logging \
-    ${PYTHON_PN}-pyopenssl \
-    ${PYTHON_PN}-pyasn1 \
-"
-
-BBCLASSEXTEND = "native nativesdk"
-
-UPSTREAM_CHECK_REGEX = ""
diff --git 
a/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb 
b/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb
index 65a8c816f..23e1868c2 100644
--- a/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb
@@ -1,5 +1,30 @@
+DESCRIPTION = "Provides enhanced HTTPS support for httplib and urllib2 using 
PyOpenSSL"
+HOMEPAGE = "https://github.com/cedadev/ndg_httpsclient/";
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=ce22c0cd986d2de3f7073cd6b5523ae0"
+
+SRC_URI[md5sum] = "b0fc8ea38f87d2c1ab1ed79a95c078f9"
+SRC_URI[sha256sum] = 
"d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210"
+
  inherit pypi setuptools3 update-alternatives
-require python-ndg-httpsclient.inc
+
+PYPI_PACKAGE = "ndg_httpsclient"
+
+DEPENDS += " \
+    ${PYTHON_PN}-pyopenssl \
+    ${PYTHON_PN}-pyasn1 \
+"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-pyopenssl \
+    ${PYTHON_PN}-pyasn1 \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = ""
ALTERNATIVE_${PN} = "ndg_httpclient"
  ALTERNATIVE_LINK_NAME[ndg_httpclient] = "${bindir}/ndg_httpclient"


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#85336): 
https://lists.openembedded.org/g/openembedded-devel/message/85336
Mute This Topic: https://lists.openembedded.org/mt/75083699/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to