Skip to contentSkip to conversation

python3-pyroute2: update to 0.6.5

PATCH In review Oleksandr Kravchuk 3 participants 3 messages Oct 16, 2021 – Oct 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python3-pyroute2: update to 0.6.5

Tests are, unfortunately, not anymore supplied with pypi package.

---
 ...hon3-pyroute2_0.5.19.bb => python3-pyroute2_0.6.5.bb} | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyroute2_0.5.19.bb => python3-pyroute2_0.6.5.bb} (75%)
meta-python/recipes-devtools/python/python3-pyroute2_0.6.5.bb renamed from meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb +2 -7
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb
rename to meta-python/recipes-devtools/python/python3-pyroute2_0.6.5.bb
index a85b0929d..d69439352 100644
@@ -3,9 +3,9 @@ LICENSE = "GPLv2 & Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce"
 
-SRC_URI[sha256sum] = "45460d12ed2a5caf272a357a3360b36d1e346f17afe1425b66fc21d70f462b29"
+SRC_URI[sha256sum] = "d0995c8aeb96c0e4eed4d62e97c9d795000a1a33b747d6dc54326665857cf11c"
 
-inherit setuptools3 pypi ptest
+inherit setuptools3 pypi
 
 RDEPENDS:${PN} += " \
     ${PYTHON_PN}-ctypes \
@@ -29,8 +29,3 @@ RDEPENDS:${PN}-ptest += " \
 	${PYTHON_PN}-pytest \
 	${PYTHON_PN}-fcntl \
 "
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · Oleksandr Kravchuk

[Please note: This e-mail is from an EXTERNAL e-mail address]

Tests are, unfortunately, not anymore supplied with pypi package.

Let's hold off on this uprev and I'll see about modifying the recipe to the git fetcher, which might allow us to keep the ptests. I'm very hesitant about removing ptest coverage where we can get it.

- Trevor

Quoted 47 lines
---
  ...hon3-pyroute2_0.5.19.bb => python3-pyroute2_0.6.5.bb} | 9 ++-------
  1 file changed, 2 insertions(+), 7 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pyroute2_0.5.19.bb => python3-pyroute2_0.6.5.bb} (75%)

meta-python/recipes-devtools/python/python3-pyroute2_0.6.5.bb renamed from meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb +0 -0
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb
rename to meta-python/recipes-devtools/python/python3-pyroute2_0.6.5.bb
index a85b0929d..d69439352 100644
@@ -3,9 +3,9 @@ LICENSE = "GPLv2 & Apache-2.0"
  LIC_FILES_CHKSUM ="file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 

file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce"

meta-python/recipes-devtools/python/python3-pyroute2_0.6.5.bb renamed from meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb +2 -8
-SRC_URI[sha256sum] = "45460d12ed2a5caf272a357a3360b36d1e346f17afe1425b66fc21d70f462b29"
+SRC_URI[sha256sum] = "d0995c8aeb96c0e4eed4d62e97c9d795000a1a33b747d6dc54326665857cf11c"
 
-inherit setuptools3 pypi ptest
+inherit setuptools3 pypi
 
  RDEPENDS:${PN} += " \
      ${PYTHON_PN}-ctypes \
@@ -29,8 +29,3 @@ RDEPENDS:${PN}-ptest += " \
         ${PYTHON_PN}-pytest \
         ${PYTHON_PN}-fcntl \
  "
-
-do_install_ptest() {
-       install -d ${D}${PTEST_PATH}/tests
-       cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#93402):https://lists.openembedded.org/g/openembedded-devel/message/93402 Mute This Topic:https://lists.openembedded.org/mt/86371301/3616776
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 8 lines · Trevor Gamblin
Quoted 3 lines · Oleksandr Kravchuk

[Please note: This e-mail is from an EXTERNAL e-mail address]

Tests are, unfortunately, not anymore supplied with pypi package.

Let's hold off on this uprev and I'll see about modifying the recipe to the git fetcher, which might allow us to keep the ptests. I'm very hesitant about removing ptest coverage where we can get it.

makes sense. I have removed it from master-next

Quoted 48 lines

- Trevor

Quoted 46 lines
---
  ...hon3-pyroute2_0.5.19.bb => python3-pyroute2_0.6.5.bb} | 9 ++-------
  1 file changed, 2 insertions(+), 7 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pyroute2_0.5.19.bb => python3-pyroute2_0.6.5.bb} (75%)

meta-python/recipes-devtools/python/python3-pyroute2_0.6.5.bb renamed from meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb +0 -0
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb
rename to meta-python/recipes-devtools/python/python3-pyroute2_0.6.5.bb
index a85b0929d..d69439352 100644
@@ -3,9 +3,9 @@ LICENSE = "GPLv2 & Apache-2.0"
  LIC_FILES_CHKSUM ="file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 

file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce"

meta-python/recipes-devtools/python/python3-pyroute2_0.6.5.bb renamed from meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb +2 -8
-SRC_URI[sha256sum] = "45460d12ed2a5caf272a357a3360b36d1e346f17afe1425b66fc21d70f462b29"
+SRC_URI[sha256sum] = "d0995c8aeb96c0e4eed4d62e97c9d795000a1a33b747d6dc54326665857cf11c"
 
-inherit setuptools3 pypi ptest
+inherit setuptools3 pypi
 
  RDEPENDS:${PN} += " \
      ${PYTHON_PN}-ctypes \
@@ -29,8 +29,3 @@ RDEPENDS:${PN}-ptest += " \
         ${PYTHON_PN}-pytest \
         ${PYTHON_PN}-fcntl \
  "
-
-do_install_ptest() {
-       install -d ${D}${PTEST_PATH}/tests
-       cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#93402):https://lists.openembedded.org/g/openembedded-devel/message/93402 Mute This Topic:https://lists.openembedded.org/mt/86371301/3616776
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-