Skip to contentSkip to conversation

python3-ntplib: Upgrade 0.3.3 -> 0.3.4

PATCH In review Leon Anavi 2 participants 2 messages Aug 27, 2020 – Aug 31, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

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

---
 .../{python3-ntplib_0.3.3.bb => python3-ntplib_0.3.4.bb} | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-ntplib_0.3.3.bb => python3-ntplib_0.3.4.bb} (55%)
meta-python/recipes-devtools/python/python3-ntplib_0.3.4.bb renamed from meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb +4 -5
similarity index 55%
rename from meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb
rename to meta-python/recipes-devtools/python/python3-ntplib_0.3.4.bb
index ce2618b81..ae4c10f38 100644
@@ -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"
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Leon Anavi

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.

Quoted 31 lines
---
  .../{python3-ntplib_0.3.3.bb => python3-ntplib_0.3.4.bb} | 9 ++++-----
  1 file changed, 4 insertions(+), 5 deletions(-)

rename meta-python/recipes-devtools/python/{python3-ntplib_0.3.3.bb => python3-ntplib_0.3.4.bb} (55%)

meta-python/recipes-devtools/python/python3-ntplib_0.3.4.bb renamed from meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb +4 -5
similarity index 55%
rename from meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb
rename to meta-python/recipes-devtools/python/python3-ntplib_0.3.4.bb
index ce2618b81..ae4c10f38 100644
@@ -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"