python3-packaging: Consolidate in a single file
PATCH 1/4 python3-packaging: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
--- .../recipes-devtools/python/python-packaging.inc | 10 ---------- .../python/python3-packaging_20.3.bb | 12 +++++++++++- 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-packaging.inc
meta-python/recipes-devtools/python/python-packaging.inc deleted +0 -10
@@ -1,10 +0,0 @@ -DESCRIPTION = "Core utilities for Python packages" -HOMEPAGE = "https://github.com/pypa/packaging" -LICENSE = "Apache-2.0 & BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" - -SRC_URI[md5sum] = "19e0d1f82a9007b448650ccfeffd0a26" -SRC_URI[sha256sum] = "3c292b474fda1671ec57d46d739d072bfd495a4f51ad01a055121d81e952b7a3" - -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing"
meta-python/recipes-devtools/python/python3-packaging_20.3.bb +11 -1
@@ -1,2 +1,12 @@ +DESCRIPTION = "Core utilities for Python packages" +HOMEPAGE = "https://github.com/pypa/packaging" +LICENSE = "Apache-2.0 & BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" + +SRC_URI[md5sum] = "19e0d1f82a9007b448650ccfeffd0a26" +SRC_URI[sha256sum] = "3c292b474fda1671ec57d46d739d072bfd495a4f51ad01a055121d81e952b7a3" + inherit pypi setuptools3 -require python-packaging.inc + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing"
Signature · 1 line
2.17.1
PATCH 2/4 python3-packaging: Upgrade 20.3 -> 20.4
Upgrade to release 20.4 with the following improvements:
- Canonicalize version before comparing specifiers
- specifiers: don't rely on hashes for equality
- Add a NewType for normalized names
- Bug fixes
---
.../{python3-packaging_20.3.bb => python3-packaging_20.4.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-packaging_20.3.bb => python3-packaging_20.4.bb} (70%)meta-python/recipes-devtools/python/python3-packaging_20.4.bb renamed from meta-python/recipes-devtools/python/python3-packaging_20.3.bb +2 -2
@@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/pypa/packaging" LICENSE = "Apache-2.0 & BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" -SRC_URI[md5sum] = "19e0d1f82a9007b448650ccfeffd0a26" -SRC_URI[sha256sum] = "3c292b474fda1671ec57d46d739d072bfd495a4f51ad01a055121d81e952b7a3" +SRC_URI[md5sum] = "3208229da731c5d8e29d4d8941e75005" +SRC_URI[sha256sum] = "4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8" inherit pypi setuptools3
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 2/4] python3-packaging: Upgrade 20.3 -> 20.4
Quoted 8 lines · Leon Anavi
Upgrade to release 20.4 with the following improvements:
- Canonicalize version before comparing specifiers
- specifiers: don't rely on hashes for equality
- Add a NewType for normalized names
- Bug fixesSigned-off-by Leon Anavi <[email protected]>
Quoted 25 lines
--- .../{python3-packaging_20.3.bb => python3-packaging_20.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)rename meta-python/recipes-devtools/python/{python3-packaging_20.3.bb => python3-packaging_20.4.bb} (70%)
meta-python/recipes-devtools/python/python3-packaging_20.4.bb renamed from meta-python/recipes-devtools/python/python3-packaging_20.3.bb +2
-2@@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/pypa/packaging" LICENSE = "Apache-2.0 & BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" -SRC_URI[md5sum] = "19e0d1f82a9007b448650ccfeffd0a26" -SRC_URI[sha256sum] = "3c292b474fda1671ec57d46d739d072bfd495a4f51ad01a055121d81e952b7a3" +SRC_URI[md5sum] = "3208229da731c5d8e29d4d8941e75005" +SRC_URI[sha256sum] = "4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8" inherit pypi setuptools3
PATCH 3/4 python3-parse-type: Consolidate in a single file
In reply to Leon AnaviConsolidate inc and bb files into a single bb file.
--- .../python/python-parse-type.inc | 25 ----------------- .../python/python3-parse-type_0.4.2.bb | 27 +++++++++++++++++-- 2 files changed, 25 insertions(+), 27 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-parse-type.inc
meta-python/recipes-devtools/python/python-parse-type.inc deleted +0 -25
@@ -1,25 +0,0 @@ -SUMMARY = "Simplifies building parse types based on the parse module" -HOMEPAGE = "https://github.com/jenisys/parse_type" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" - -SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" -SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" - -PYPI_PACKAGE = "parse_type" -inherit pypi ptest - -RDEPENDS_${PN} += "${PYTHON_PN}-parse" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -}
meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb +25 -2
@@ -1,2 +1,25 @@ -inherit setuptools3 -require python-parse-type.inc +SUMMARY = "Simplifies building parse types based on the parse module" +HOMEPAGE = "https://github.com/jenisys/parse_type" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" + +SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" +SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" + +PYPI_PACKAGE = "parse_type" +inherit pypi ptest setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-parse" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +}
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 3/4] python3-parse-type: Consolidate in a single file
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 71 lines
--- .../python/python-parse-type.inc | 25 ----------------- .../python/python3-parse-type_0.4.2.bb | 27 +++++++++++++++++-- 2 files changed, 25 insertions(+), 27 deletions(-)delete mode 100644 meta-python/recipes-devtools/python/python-parse-type.inc
meta-python/recipes-devtools/python/python-parse-type.inc deleted +0
-25@@ -1,25 +0,0 @@ -SUMMARY = "Simplifies building parse types based on the parse module" -HOMEPAGE = "https://github.com/jenisys/parse_type" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" - -SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" -SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" - -PYPI_PACKAGE = "parse_type" -inherit pypi ptest - -RDEPENDS_${PN} += "${PYTHON_PN}-parse" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -}meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb +25
-2@@ -1,2 +1,25 @@ -inherit setuptools3 -require python-parse-type.inc +SUMMARY = "Simplifies building parse types based on the parse module" +HOMEPAGE = "https://github.com/jenisys/parse_type" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" + +SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" +SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" + +PYPI_PACKAGE = "parse_type" +inherit pypi ptest setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-parse" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +}
PATCH 4/4 python3-parse-type: Upgrade 0.4.2 -> 0.5.2
In reply to Leon AnaviUpgrade to release 0.5.2. The year in file LICENCE has been changed therefore the checksum has been changed but it still remains a BSD License. Add python3-six as a run-time dependency. The new release brings:
- Update to parse-1.12.0
- Code cleanups
- Bug fixes
---
...n3-parse-type_0.4.2.bb => python3-parse-type_0.5.2.bb} | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
rename meta-python/recipes-devtools/python/{python3-parse-type_0.4.2.bb => python3-parse-type_0.5.2.bb} (60%)meta-python/recipes-devtools/python/python3-parse-type_0.5.2.bb renamed from meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb +4 -4
@@ -1,15 +1,15 @@ SUMMARY = "Simplifies building parse types based on the parse module" HOMEPAGE = "https://github.com/jenisys/parse_type" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" +LIC_FILES_CHKSUM = "file://LICENSE;md5=16374dbaeaca1890153edb3f41371222" -SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" -SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" +SRC_URI[md5sum] = "b954062f14ab723a91fe1e2be15e859d" +SRC_URI[sha256sum] = "7f690b18d35048c15438d6d0571f9045cffbec5907e0b1ccf006f889e3a38c0b" PYPI_PACKAGE = "parse_type" inherit pypi ptest setuptools3 -RDEPENDS_${PN} += "${PYTHON_PN}-parse" +RDEPENDS_${PN} += "${PYTHON_PN}-parse ${PYTHON_PN}-six" SRC_URI += " \ file://run-ptest \
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 4/4] python3-parse-type: Upgrade 0.4.2 -> 0.5.2
Quoted 10 lines · Leon Anavi
Upgrade to release 0.5.2. The year in file LICENCE has been changed therefore the checksum has been changed but it still remains a BSD License. Add python3-six as a run-time dependency. The new release brings:
- Update to parse-1.12.0
- Code cleanups
- Bug fixesSigned-off-by Leon Anavi <[email protected]>
Quoted 34 lines
--- ...n3-parse-type_0.4.2.bb => python3-parse-type_0.5.2.bb} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)rename meta-python/recipes-devtools/python/{python3-parse-type_0.4.2.bb => python3-parse-type_0.5.2.bb} (60%)
meta-python/recipes-devtools/python/python3-parse-type_0.5.2.bb renamed from meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb +4
-4@@ -1,15 +1,15 @@ SUMMARY = "Simplifies building parse types based on the parse module" HOMEPAGE = "https://github.com/jenisys/parse_type" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" +LIC_FILES_CHKSUM = "file://LICENSE;md5=16374dbaeaca1890153edb3f41371222" -SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" -SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" +SRC_URI[md5sum] = "b954062f14ab723a91fe1e2be15e859d" +SRC_URI[sha256sum] = "7f690b18d35048c15438d6d0571f9045cffbec5907e0b1ccf006f889e3a38c0b" PYPI_PACKAGE = "parse_type" inherit pypi ptest setuptools3 -RDEPENDS_${PN} += "${PYTHON_PN}-parse" +RDEPENDS_${PN} += "${PYTHON_PN}-parse ${PYTHON_PN}-six" SRC_URI += " \ file://run-ptest \
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 42 lines
--- .../recipes-devtools/python/python-packaging.inc | 10 ---------- .../python/python3-packaging_20.3.bb | 12 +++++++++++- 2 files changed, 11 insertions(+), 11 deletions(-)delete mode 100644 meta-python/recipes-devtools/python/python-packaging.inc
meta-python/recipes-devtools/python/python-packaging.inc deleted +0
-10@@ -1,10 +0,0 @@ -DESCRIPTION = "Core utilities for Python packages" -HOMEPAGE = "https://github.com/pypa/packaging" -LICENSE = "Apache-2.0 & BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" - -SRC_URI[md5sum] = "19e0d1f82a9007b448650ccfeffd0a26" -SRC_URI[sha256sum] = "3c292b474fda1671ec57d46d739d072bfd495a4f51ad01a055121d81e952b7a3" - -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing"meta-python/recipes-devtools/python/python3-packaging_20.3.bb +11
-1@@ -1,2 +1,12 @@ +DESCRIPTION = "Core utilities for Python packages" +HOMEPAGE = "https://github.com/pypa/packaging" +LICENSE = "Apache-2.0 & BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" + +SRC_URI[md5sum] = "19e0d1f82a9007b448650ccfeffd0a26" +SRC_URI[sha256sum] = "3c292b474fda1671ec57d46d739d072bfd495a4f51ad01a055121d81e952b7a3" + inherit pypi setuptools3 -require python-packaging.inc + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing"