diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2025-06-24 12:43:01 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-26 11:02:34 +0100 |
| commit | 33d128592f2f6360447b88ddb97ce4894fef601c (patch) | |
| tree | 2daa6639410255e1add5126efdfde37779594022 /meta/recipes-devtools/python | |
| parent | bf9c285a10d0355a932081308000abd27574467f (diff) | |
| download | poky-33d128592f2f6360447b88ddb97ce4894fef601c.tar.gz | |
python3-smartypants: upgrade 2.0.0 -> 2.0.2
Changelog (https://github.com/justinmayer/smartypants.py/blob/main/CHANGES.rst#releases-20-and-greater):
Release 2.0.2 (2025-06-17)
- Fix double closing quotes after an HTML block
- Fix regular expressions and tests for Python 3.12+
- Move documentation to ReadTheDocs
Release 2.0.1 (2017-12-20)
- use re.match instead of re.search to improve performance on large strings
The patch '0001-Change-hash-bang-to-python3.patch' needed a refresh to
apply on the latest version.
License-Update: Update and granularize copyright years
(From OE-Core rev: ebb83ce10fecd1a4378a238191f1e012f0c849b7)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch | 24 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-smartypants_2.0.2.bb (renamed from meta/recipes-devtools/python/python3-smartypants_2.0.0.bb) | 4 |
2 files changed, 17 insertions, 11 deletions
diff --git a/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch b/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch index aab16eaab4..63bd523cb7 100644 --- a/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch +++ b/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From e299bcb05405ff49450307bf3002c1fac14a866c Mon Sep 17 00:00:00 2001 | 1 | From 7425e49166e6f16743ec9528697d06bc4103dc5e Mon Sep 17 00:00:00 2001 |
| 2 | From: Tim Orling <tim.orling@konsulko.com> | 2 | From: Tim Orling <tim.orling@konsulko.com> |
| 3 | Date: Sun, 20 Feb 2022 18:55:50 -0800 | 3 | Date: Sun, 20 Feb 2022 18:55:50 -0800 |
| 4 | Subject: [PATCH] Change hash bang to python3 | 4 | Subject: [PATCH] Change hash bang to python3 |
| @@ -9,6 +9,9 @@ Upstream-Status: Inappropriate [oe-core specific] | |||
| 9 | 9 | ||
| 10 | Signed-off-by: Tim Orling <tim.orling@konsulko.com> | 10 | Signed-off-by: Tim Orling <tim.orling@konsulko.com> |
| 11 | 11 | ||
| 12 | Update to apply on v2.0.2. | ||
| 13 | |||
| 14 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
| 12 | --- | 15 | --- |
| 13 | setup.py | 2 +- | 16 | setup.py | 2 +- |
| 14 | smartypants | 2 +- | 17 | smartypants | 2 +- |
| @@ -16,32 +19,35 @@ Signed-off-by: Tim Orling <tim.orling@konsulko.com> | |||
| 16 | 3 files changed, 3 insertions(+), 3 deletions(-) | 19 | 3 files changed, 3 insertions(+), 3 deletions(-) |
| 17 | 20 | ||
| 18 | diff --git a/setup.py b/setup.py | 21 | diff --git a/setup.py b/setup.py |
| 19 | index ff1ea76..96a8b73 100755 | 22 | index c183fc0..e10d757 100755 |
| 20 | --- a/setup.py | 23 | --- a/setup.py |
| 21 | +++ b/setup.py | 24 | +++ b/setup.py |
| 22 | @@ -1,4 +1,4 @@ | 25 | @@ -1,4 +1,4 @@ |
| 23 | -#!/usr/bin/env python | 26 | -#!/usr/bin/env python |
| 24 | +#!/usr/bin/env python3 | 27 | +#!/usr/bin/env python3 |
| 25 | # Copyright (C) 2013, 2014 by Yu-Jie Lin | 28 | # Copyright (c) 2025–present Justin Mayer |
| 26 | # For detail license information, See COPYING | 29 | # For detail license information, See COPYING |
| 27 | 30 | ||
| 28 | diff --git a/smartypants b/smartypants | 31 | diff --git a/smartypants b/smartypants |
| 29 | index 189adf5..0cca568 100755 | 32 | index 1dabf7d..20c130e 100755 |
| 30 | --- a/smartypants | 33 | --- a/smartypants |
| 31 | +++ b/smartypants | 34 | +++ b/smartypants |
| 32 | @@ -1,4 +1,4 @@ | 35 | @@ -1,4 +1,4 @@ |
| 33 | -#!/usr/bin/env python | 36 | -#!/usr/bin/env python |
| 34 | +#!/usr/bin/env python3 | 37 | +#!/usr/bin/env python3 |
| 35 | # Copyright (c) 2013, 2014 Yu-Jie Lin | 38 | # Copyright (c) 2025–present Justin Mayer |
| 36 | # Licensed under the BSD License, for detailed license information, see COPYING | 39 | # Licensed under the BSD License, for detailed license information, see COPYING |
| 37 | 40 | ||
| 38 | diff --git a/smartypants.py b/smartypants.py | 41 | diff --git a/smartypants.py b/smartypants.py |
| 39 | index a70575b..e53bd87 100755 | 42 | index 62c1472..a440d14 100755 |
| 40 | --- a/smartypants.py | 43 | --- a/smartypants.py |
| 41 | +++ b/smartypants.py | 44 | +++ b/smartypants.py |
| 42 | @@ -1,4 +1,4 @@ | 45 | @@ -1,4 +1,4 @@ |
| 43 | -#!/usr/bin/python | 46 | -#!/usr/bin/python |
| 44 | +#!/usr/bin/env python3 | 47 | +#!/usr/bin/python3 |
| 45 | # -*- coding: utf-8 -*- | 48 | # Copyright (c) 2025–present Justin Mayer |
| 49 | # Copyright (c) 2017 Leo Hemsted | ||
| 46 | # Copyright (c) 2013, 2014, 2016 Yu-Jie Lin | 50 | # Copyright (c) 2013, 2014, 2016 Yu-Jie Lin |
| 47 | # Copyright (c) 2004, 2005, 2007, 2013 Chad Miller | 51 | -- |
| 52 | 2.49.0 | ||
| 53 | |||
diff --git a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb b/meta/recipes-devtools/python/python3-smartypants_2.0.2.bb index 9bb07eab52..a439f8a880 100644 --- a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb +++ b/meta/recipes-devtools/python/python3-smartypants_2.0.2.bb | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | SUMMARY = "Translator of plain ASCII punctuation characters into 'smart' typographic punctuation HTML entities" | 1 | SUMMARY = "Translator of plain ASCII punctuation characters into 'smart' typographic punctuation HTML entities" |
| 2 | HOMEPAGE = "https://pythonhosted.org/smartypants/" | 2 | HOMEPAGE = "https://pythonhosted.org/smartypants/" |
| 3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=977036977591ac666c728921ecc54c4f" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca325788d94ee694fef2a308c5073454" |
| 5 | 5 | ||
| 6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
| 7 | 7 | ||
| 8 | PYPI_PACKAGE = "smartypants" | 8 | PYPI_PACKAGE = "smartypants" |
| 9 | SRC_URI += "file://0001-Change-hash-bang-to-python3.patch" | 9 | SRC_URI += "file://0001-Change-hash-bang-to-python3.patch" |
| 10 | SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36" | 10 | SRC_URI[sha256sum] = "39d64ce1d7cc6964b698297bdf391bc12c3251b7f608e6e55d857cd7c5f800c6" |
| 11 | 11 | ||
| 12 | BBCLASSEXTEND = "native nativesdk" | 12 | BBCLASSEXTEND = "native nativesdk" |
