summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2025-06-24 12:43:01 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-26 11:02:34 +0100
commit33d128592f2f6360447b88ddb97ce4894fef601c (patch)
tree2daa6639410255e1add5126efdfde37779594022 /meta/recipes-devtools/python
parentbf9c285a10d0355a932081308000abd27574467f (diff)
downloadpoky-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.patch24
-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 @@
1From e299bcb05405ff49450307bf3002c1fac14a866c Mon Sep 17 00:00:00 2001 1From 7425e49166e6f16743ec9528697d06bc4103dc5e Mon Sep 17 00:00:00 2001
2From: Tim Orling <tim.orling@konsulko.com> 2From: Tim Orling <tim.orling@konsulko.com>
3Date: Sun, 20 Feb 2022 18:55:50 -0800 3Date: Sun, 20 Feb 2022 18:55:50 -0800
4Subject: [PATCH] Change hash bang to python3 4Subject: [PATCH] Change hash bang to python3
@@ -9,6 +9,9 @@ Upstream-Status: Inappropriate [oe-core specific]
9 9
10Signed-off-by: Tim Orling <tim.orling@konsulko.com> 10Signed-off-by: Tim Orling <tim.orling@konsulko.com>
11 11
12Update to apply on v2.0.2.
13
14Signed-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
18diff --git a/setup.py b/setup.py 21diff --git a/setup.py b/setup.py
19index ff1ea76..96a8b73 100755 22index 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
28diff --git a/smartypants b/smartypants 31diff --git a/smartypants b/smartypants
29index 189adf5..0cca568 100755 32index 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
38diff --git a/smartypants.py b/smartypants.py 41diff --git a/smartypants.py b/smartypants.py
39index a70575b..e53bd87 100755 42index 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--
522.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 @@
1SUMMARY = "Translator of plain ASCII punctuation characters into 'smart' typographic punctuation HTML entities" 1SUMMARY = "Translator of plain ASCII punctuation characters into 'smart' typographic punctuation HTML entities"
2HOMEPAGE = "https://pythonhosted.org/smartypants/" 2HOMEPAGE = "https://pythonhosted.org/smartypants/"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://COPYING;md5=977036977591ac666c728921ecc54c4f" 4LIC_FILES_CHKSUM = "file://COPYING;md5=ca325788d94ee694fef2a308c5073454"
5 5
6inherit pypi setuptools3 6inherit pypi setuptools3
7 7
8PYPI_PACKAGE = "smartypants" 8PYPI_PACKAGE = "smartypants"
9SRC_URI += "file://0001-Change-hash-bang-to-python3.patch" 9SRC_URI += "file://0001-Change-hash-bang-to-python3.patch"
10SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36" 10SRC_URI[sha256sum] = "39d64ce1d7cc6964b698297bdf391bc12c3251b7f608e6e55d857cd7c5f800c6"
11 11
12BBCLASSEXTEND = "native nativesdk" 12BBCLASSEXTEND = "native nativesdk"