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 <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Justin Bronder
2022-03-01 16:44:46 -05:00
committed by Khem Raj
parent c340e94cd0
commit 689a4a54fe
@@ -1,13 +1,11 @@
DESCRIPTION = "This module offers a simple interface to query NTP servers from Python." DESCRIPTION = "This module offers a simple interface to query NTP servers from Python."
HOMEPAGE = "https://github.com/cf-natali/ntplib"
SECTION = "devel/python" SECTION = "devel/python"
LICENSE = "MIT" 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" SRC_URI[sha256sum] = "899d8fb5f8c2555213aea95efca02934c7343df6ace9d7628a5176b176906267"
SRCREV ?= "b9c11c5906bc802a20a2dab390e57c50be558808"
S = "${WORKDIR}/git" inherit pypi setuptools3
inherit setuptools3 python3native
RDEPENDS:${PN} += "${PYTHON_PN}-datetime ${PYTHON_PN}-io" RDEPENDS:${PN} += "${PYTHON_PN}-datetime ${PYTHON_PN}-io"