Skip to contentSkip to conversation

python3-ntplib: pull from PyPI

PATCH New Justin Bronder 1 participant 1 message Mar 1, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 .../recipes-devtools/python/python3-ntplib_0.4.0.bb    | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
meta-python/recipes-devtools/python/python3-ntplib_0.4.0.bb +4 -6
index e8620b14b5..d78bec046f 100644
@@ -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"
Signature · 1 line
2.35.1