From 689a4a54febba1fd712259cc235dd02e6687cdc5 Mon Sep 17 00:00:00 2001 From: Justin Bronder Date: Tue, 1 Mar 2022 16:44:46 -0500 Subject: python3-ntplib: pull from PyPI Switch back to pulling from PyPI which now does have appropriate release tarballs. This fixes building the wheel. While touching the recipe, also add HOMEPAGE and point LIC_FILES_CHKSUM at the LICENSE file that's now part of the release tarball. Signed-off-by: Justin Bronder Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-ntplib_0.4.0.bb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-ntplib_0.4.0.bb b/meta-python/recipes-devtools/python/python3-ntplib_0.4.0.bb index e8620b14b5..d78bec046f 100644 --- a/meta-python/recipes-devtools/python/python3-ntplib_0.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-ntplib_0.4.0.bb @@ -1,13 +1,11 @@ DESCRIPTION = "This module offers a simple interface to query NTP servers from Python." +HOMEPAGE = "https://github.com/cf-natali/ntplib" SECTION = "devel/python" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://ntplib.py;beginline=1;endline=23;md5=afa07338a9595257e94c205c3e72224d" +LIC_FILES_CHKSUM = "file://LICENSE;md5=40707636fe237d725e2bd32cd949b7fe" -SRC_URI = "git://github.com/cf-natali/ntplib.git;branch=master;protocol=https" -SRCREV ?= "b9c11c5906bc802a20a2dab390e57c50be558808" +SRC_URI[sha256sum] = "899d8fb5f8c2555213aea95efca02934c7343df6ace9d7628a5176b176906267" -S = "${WORKDIR}/git" - -inherit setuptools3 python3native +inherit pypi setuptools3 RDEPENDS:${PN} += "${PYTHON_PN}-datetime ${PYTHON_PN}-io" -- cgit v1.2.3-54-g00ecf