Skip to contentSkip to conversation

python3-semantic-version: Add recipe

PATCH In review Leon Anavi 3 participants 3 messages Feb 26, 2021 – Mar 1, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/1 python3-semantic-version: Add recipe

Add semantic_version - a library implementing the 'SemVer' scheme. Version 2.8.5 brings:

- Properly handle wildcards in SimpleSpec (e.g. ==1.2.*)

---
 .../python/python3-semantic-version_2.8.5.bb         | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-semantic-version_2.8.5.bb
meta-python/recipes-devtools/python/python3-semantic-version_2.8.5.bb new file +12 -0
new file mode 100644
index 0000000000..b8541ff570
@@ -0,0 +1,12 @@
+SUMMARY  = "A library implementing the 'SemVer' scheme."
+DESCRIPTION = "Semantic version comparison for Python (see http://semver.org/)"
+HOMEPAGE = "https://github.com/rbarrois/python-semanticversion"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4fb31e3c1c7eeb8b5e8c07657cdd54e2"
+
+SRC_URI[sha256sum] = "d2cb2de0558762934679b9a104e82eca7af448c9f4974d1f3eeccff651df8a54"
+
+PYPI_PACKAGE = "semantic_version"
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Leon Anavi

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

Add semantic_version - a library implementing the 'SemVer' scheme. Version 2.8.5 brings:

- Properly handle wildcards in SimpleSpec (e.g. ==1.2.*)

Quoted 29 lines
---
  .../python/python3-semantic-version_2.8.5.bb         | 12 ++++++++++++
  1 file changed, 12 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-semantic-version_2.8.5.bb

meta-python/recipes-devtools/python/python3-semantic-version_2.8.5.bb new file +12 -1
new file mode 100644
index 0000000000..b8541ff570
@@ -0,0 +1,12 @@
+SUMMARY  = "A library implementing the 'SemVer' scheme."
+DESCRIPTION = "Semantic version comparison for Python (see http://semver.org/)"
+HOMEPAGE = "https://github.com/rbarrois/python-semanticversion"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4fb31e3c1c7eeb8b5e8c07657cdd54e2"
+
+SRC_URI[sha256sum] = "d2cb2de0558762934679b9a104e82eca7af448c9f4974d1f3eeccff651df8a54"
+
+PYPI_PACKAGE = "semantic_version"
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
--

2.17.1

#2 lore raw

there is python3-semver recipe as well. While they are different sources but perhaps are similar in functionality can you find out if we need both

Quoted 47 lines · Trevor Gamblin

On 2021-02-26 9:55 a.m., Leon Anavi wrote:

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

Add semantic_version - a library implementing the 'SemVer' scheme. Version 2.8.5 brings:

- Properly handle wildcards in SimpleSpec (e.g. ==1.2.*)

---
 .../python/python3-semantic-version_2.8.5.bb         | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-semantic-version_2.8.5.bb
meta-python/recipes-devtools/python/python3-semantic-version_2.8.5.bb new file +12 -1
new file mode 100644
index 0000000000..b8541ff570
@@ -0,0 +1,12 @@
+SUMMARY  = "A library implementing the 'SemVer' scheme."
+DESCRIPTION = "Semantic version comparison for Python (see http://semver.org/)"
+HOMEPAGE = "https://github.com/rbarrois/python-semanticversion"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4fb31e3c1c7eeb8b5e8c07657cdd54e2"
+
+SRC_URI[sha256sum] = "d2cb2de0558762934679b9a104e82eca7af448c9f4974d1f3eeccff651df8a54"
+
+PYPI_PACKAGE = "semantic_version"
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
--

2.17.1