diff options
| author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2026-02-05 18:04:54 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-06 10:06:25 -0800 |
| commit | 52d56293d67c22c34cef27eb92f96fe628c1745b (patch) | |
| tree | 215bc977de1542d6324df15bd0e4f0a67f21384f /meta-python/recipes-devtools/python | |
| parent | 1b820b98afd55c881822beb9057162dc67ecb386 (diff) | |
| download | meta-openembedded-52d56293d67c22c34cef27eb92f96fe628c1745b.tar.gz | |
python3-pyrad: upgrade 2.4-> 2.5.2
1.ChangeLog
Fix readthedocs
2.Remove following patches as they were merged upstream
use-poetry-core.patch
208.patch
3.Change license checksum as position of License Info has changed in PKG-INFO file.
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyrad/208.patch | 51 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyrad/use-poetry-core.patch | 26 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyrad_2.5.2.bb (renamed from meta-python/recipes-devtools/python/python3-pyrad_2.4.bb) | 8 |
3 files changed, 2 insertions, 83 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyrad/208.patch b/meta-python/recipes-devtools/python/python3-pyrad/208.patch deleted file mode 100644 index b08f183583..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyrad/208.patch +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | From d17438da2008f48aa13cc95a626c990bf645799a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Luca Barbieri <lucabarb@gmail.com> | ||
| 3 | Date: Wed, 8 Jan 2025 10:35:22 +0100 | ||
| 4 | Subject: [PATCH 1/2] Fix pyproject.toml format | ||
| 5 | |||
| 6 | Fix pyproject format to correctly build with poetry-core 2.0.0 | ||
| 7 | Upstream-Status: Submitted [https://github.com/pyradius/pyrad/pull/208] | ||
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 9 | --- | ||
| 10 | pyproject.toml | 28 ++++++++++++++-------------- | ||
| 11 | 1 file changed, 14 insertions(+), 14 deletions(-) | ||
| 12 | |||
| 13 | --- a/pyproject.toml | ||
| 14 | +++ b/pyproject.toml | ||
| 15 | @@ -2,16 +2,16 @@ | ||
| 16 | requires = ["poetry-core>=1.0.0"] | ||
| 17 | build-backend = "poetry.core.masonry.api" | ||
| 18 | |||
| 19 | -[tool.poetry] | ||
| 20 | +[project] | ||
| 21 | name = "pyrad" | ||
| 22 | version= "2.4" | ||
| 23 | readme = "README.rst" | ||
| 24 | license = "BSD-3-Clause" | ||
| 25 | description="RADIUS tools" | ||
| 26 | authors = [ | ||
| 27 | - "Istvan Ruzman <istvan@ruzman.eu>", | ||
| 28 | - "Christian Giese <developer@gicnet.de>", | ||
| 29 | -] | ||
| 30 | + { name = "Istvan Ruzman", email = "istvan@ruzman.eu" }, | ||
| 31 | + { name = "Christian Giese", email = "developer@gicnet.de" }, | ||
| 32 | + ] | ||
| 33 | keywords = ["AAA", "accounting", "authentication", "authorization", "RADIUS"] | ||
| 34 | classifiers = [ | ||
| 35 | "Development Status :: 6 - Mature", | ||
| 36 | @@ -28,7 +28,7 @@ include = [ | ||
| 37 | "example/*" | ||
| 38 | ] | ||
| 39 | |||
| 40 | -[tool.poetry.urls] | ||
| 41 | +[project.urls] | ||
| 42 | repository = "https://github.com/pyradius/pyrad" | ||
| 43 | |||
| 44 | [tool.poetry.dependencies] | ||
| 45 | @@ -36,5 +36,5 @@ python = "^2.7 || ^3.6" | ||
| 46 | six = "^1.15.0" | ||
| 47 | netaddr = "^0.8" | ||
| 48 | |||
| 49 | -[tool.poetry.dev-dependencies] | ||
| 50 | +[tool.poetry.group.dev.dependencies] | ||
| 51 | nose = "^0.10.0b1" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyrad/use-poetry-core.patch b/meta-python/recipes-devtools/python/python3-pyrad/use-poetry-core.patch deleted file mode 100644 index 43a177da0a..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyrad/use-poetry-core.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | Upstream-Status: Backport [https://github.com/pyradius/pyrad/commit/ffe182a44909e8f8278fb3e2ea052ddc097b48b9] | ||
| 2 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
| 3 | |||
| 4 | From a4b70067dd6269e14a2f9530d820390a8a454231 Mon Sep 17 00:00:00 2001 | ||
| 5 | From: Martin Weinelt <hexa@darmstadt.ccc.de> | ||
| 6 | Date: Thu, 14 Apr 2022 22:07:37 +0200 | ||
| 7 | Subject: [PATCH] Use poetry-core for pyproject based builds | ||
| 8 | |||
| 9 | https://github.com/python-poetry/poetry-core#why-is-this-required | ||
| 10 | --- | ||
| 11 | pyproject.toml | 4 ++-- | ||
| 12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/pyproject.toml b/pyproject.toml | ||
| 15 | index 87b1df3..711c52f 100755 | ||
| 16 | --- a/pyproject.toml | ||
| 17 | +++ b/pyproject.toml | ||
| 18 | @@ -1,6 +1,6 @@ | ||
| 19 | [build-system] | ||
| 20 | -requires = ["poetry>=1.0"] | ||
| 21 | -build-backend = "poetry.masonry.api" | ||
| 22 | +requires = ["poetry-core>=1.0.0"] | ||
| 23 | +build-backend = "poetry.core.masonry.api" | ||
| 24 | |||
| 25 | [tool.poetry] | ||
| 26 | name = "pyrad" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyrad_2.4.bb b/meta-python/recipes-devtools/python/python3-pyrad_2.5.2.bb index e8cfffc9cc..415a8a8212 100644 --- a/meta-python/recipes-devtools/python/python3-pyrad_2.4.bb +++ b/meta-python/recipes-devtools/python/python3-pyrad_2.5.2.bb | |||
| @@ -1,14 +1,10 @@ | |||
| 1 | SUMMARY = "RADIUS tools" | 1 | SUMMARY = "RADIUS tools" |
| 2 | SECTION = "devel/python" | 2 | SECTION = "devel/python" |
| 3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" | 4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=53dbfa56f61b90215a9f8f0d527c043d" |
| 5 | 5 | ||
| 6 | PYPI_PACKAGE = "pyrad" | 6 | PYPI_PACKAGE = "pyrad" |
| 7 | SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9" | 7 | SRC_URI[sha256sum] = "368e8d3cb7b9e2ca9e4357b343787238bf135edd3f3598cf26ccd65d32506ff9" |
| 8 | |||
| 9 | SRC_URI += "file://use-poetry-core.patch \ | ||
| 10 | file://208.patch \ | ||
| 11 | " | ||
| 12 | 8 | ||
| 13 | inherit pypi python_poetry_core | 9 | inherit pypi python_poetry_core |
| 14 | 10 | ||
