Skip to contentSkip to conversation

python3-smartypants: upgrade 2.0.0 -> 2.0.2

PATCH Trevor Gamblin 1 participant 1 message Jun 24, 2025 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · Trevor Gamblin via lists.openembedded.org

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

Quoted 6 lines

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.

Forgot the License-Update line, will resend shortly.

Quoted 103 lines
---
  .../0001-Change-hash-bang-to-python3.patch    | 24 ++++++++++++-------
  ..._2.0.0.bb => python3-smartypants_2.0.2.bb} |  4 ++--
  2 files changed, 17 insertions(+), 11 deletions(-)

rename meta/recipes-devtools/python/{python3-smartypants_2.0.0.bb => python3-smartypants_2.0.2.bb} (67%)

meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch +15 -9
index aab16eaab4..63bd523cb7 100644
@@ -1,4 +1,4 @@
-From e299bcb05405ff49450307bf3002c1fac14a866c Mon Sep 17 00:00:00 2001
+From 7425e49166e6f16743ec9528697d06bc4103dc5e Mon Sep 17 00:00:00 2001
  From: Tim Orling <[email protected]>
  Date: Sun, 20 Feb 2022 18:55:50 -0800
  Subject: [PATCH] Change hash bang to python3
@@ -9,6 +9,9 @@ Upstream-Status: Inappropriate [oe-core specific]
 
  Signed-off-by: Tim Orling <[email protected]>
 
+Update to apply on v2.0.2.
+
+Signed-off-by: Trevor Gamblin <[email protected]>
  ---
   setup.py       | 2 +-
   smartypants    | 2 +-
@@ -16,32 +19,35 @@ Signed-off-by: Tim Orling <[email protected]>
   3 files changed, 3 insertions(+), 3 deletions(-)
 
  diff --git a/setup.py b/setup.py
-index ff1ea76..96a8b73 100755
+index c183fc0..e10d757 100755
  --- a/setup.py
  +++ b/setup.py
  @@ -1,4 +1,4 @@
  -#!/usr/bin/env python
  +#!/usr/bin/env python3
- # Copyright (C) 2013, 2014 by Yu-Jie Lin
+ # Copyright (c) 2025–present Justin Mayer
   # For detail license information, See COPYING
 
  diff --git a/smartypants b/smartypants
-index 189adf5..0cca568 100755
+index 1dabf7d..20c130e 100755
  --- a/smartypants
  +++ b/smartypants
  @@ -1,4 +1,4 @@
  -#!/usr/bin/env python
  +#!/usr/bin/env python3
- # Copyright (c) 2013, 2014 Yu-Jie Lin
+ # Copyright (c) 2025–present Justin Mayer
   # Licensed under the BSD License, for detailed license information, see COPYING
 
  diff --git a/smartypants.py b/smartypants.py
-index a70575b..e53bd87 100755
+index 62c1472..a440d14 100755
  --- a/smartypants.py
  +++ b/smartypants.py
  @@ -1,4 +1,4 @@
  -#!/usr/bin/python
-+#!/usr/bin/env python3
- # -*- coding: utf-8 -*-
++#!/usr/bin/python3
+ # Copyright (c) 2025–present Justin Mayer
+ # Copyright (c) 2017 Leo Hemsted
   # Copyright (c) 2013, 2014, 2016 Yu-Jie Lin
- # Copyright (c) 2004, 2005, 2007, 2013 Chad Miller
+--
+2.49.0
+
meta/recipes-devtools/python/python3-smartypants_2.0.2.bb renamed from meta/recipes-devtools/python/python3-smartypants_2.0.0.bb +2 -3
similarity index 67%
rename from meta/recipes-devtools/python/python3-smartypants_2.0.0.bb
rename to meta/recipes-devtools/python/python3-smartypants_2.0.2.bb
index 9bb07eab52..a439f8a880 100644
@@ -1,12 +1,12 @@
  SUMMARY = "Translator of plain ASCII punctuation characters into 'smart' typographic punctuation HTML entities"
  HOMEPAGE = "https://pythonhosted.org/smartypants/"
  LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING;md5=977036977591ac666c728921ecc54c4f"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ca325788d94ee694fef2a308c5073454"
 
  inherit pypi setuptools3
 
  PYPI_PACKAGE = "smartypants"
  SRC_URI += "file://0001-Change-hash-bang-to-python3.patch"
-SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36"
+SRC_URI[sha256sum] = "39d64ce1d7cc6964b698297bdf391bc12c3251b7f608e6e55d857cd7c5f800c6"
 
  BBCLASSEXTEND = "native nativesdk"
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#219273): https://lists.openembedded.org/g/openembedded-core/message/219273
Mute This Topic: https://lists.openembedded.org/mt/113810198/7611679
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-