diff mbox series

python3-smartypants: upgrade 2.0.0 -> 2.0.2

Message ID 20250624162414.722163-1-tgamblin@baylibre.com
State New
Headers show
Series python3-smartypants: upgrade 2.0.0 -> 2.0.2 | expand

Commit Message

Trevor Gamblin June 24, 2025, 4:24 p.m. UTC
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.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
 .../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%)

Comments

patchtest@automation.yoctoproject.org June 24, 2025, 4:31 p.m. UTC | #1
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch /home/patchtest/share/mboxes/python3-smartypants-upgrade-2.0.0---2.0.2.patch

FAIL: test lic files chksum modified not mentioned: LIC_FILES_CHKSUM changed without "License-Update:" tag and description in commit message (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)

PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!
diff mbox series

Patch

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 @@ 
-From e299bcb05405ff49450307bf3002c1fac14a866c Mon Sep 17 00:00:00 2001
+From 7425e49166e6f16743ec9528697d06bc4103dc5e Mon Sep 17 00:00:00 2001
 From: Tim Orling <tim.orling@konsulko.com>
 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 <tim.orling@konsulko.com>
 
+Update to apply on v2.0.2.
+
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
 ---
  setup.py       | 2 +-
  smartypants    | 2 +-
@@ -16,32 +19,35 @@  Signed-off-by: Tim Orling <tim.orling@konsulko.com>
  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
+
diff --git a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb b/meta/recipes-devtools/python/python3-smartypants_2.0.2.bb
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
--- 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 @@ 
 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"