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 authored and Khem Raj committed 2022-03-03 08:48:07 -08:00
1 parent c340e94cd0
commit 689a4a54fe
1 file changed
+4 -6
@@ -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"