python3-ntplib: Upgrade 0.3.3 -> 0.3.4

Upgrade to release 0.3.4:
- Use setuptools
- update URL

Use source from the GitHub repository instead of pypi because
appropriate archive for this release is not available at pypi.org.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2020-08-27 17:54:09 +03:00
committed by Khem Raj
parent 01c1b8a946
commit 0f3a77cd0c

View File

@@ -3,12 +3,11 @@ SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://ntplib.py;beginline=1;endline=23;md5=afa07338a9595257e94c205c3e72224d"
SRCNAME = "ntplib"
SRC_URI[md5sum] = "c7cc8e9b09f40c84819859d70b7784ca"
SRC_URI[sha256sum] = "c4621b64d50be9461d9bd9a71ba0b4af06fbbf818bbd483752d95c1a4e273ede"
SRC_URI = "git://github.com/cf-natali/ntplib.git"
SRCREV ?= "aea7925c26152024ca8cf207e77f403f8127727a"
S = "${WORKDIR}/${SRCNAME}-${PV}"
S = "${WORKDIR}/git"
inherit setuptools3 python3native pypi
inherit setuptools3 python3native
RDEPENDS_${PN} += "${PYTHON_PN}-datetime ${PYTHON_PN}-io"