From patchwork Tue Jun 24 16:24:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 65586 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F3CFC77B7C for ; Tue, 24 Jun 2025 16:24:21 +0000 (UTC) Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) by mx.groups.io with SMTP id smtpd.web11.182.1750782260352627797 for ; Tue, 24 Jun 2025 09:24:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=bRlTgEZi; spf=pass (domain: baylibre.com, ip: 209.85.222.179, mailfrom: tgamblin@baylibre.com) Received: by mail-qk1-f179.google.com with SMTP id af79cd13be357-7d20f799fe9so62030985a.2 for ; Tue, 24 Jun 2025 09:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1750782257; x=1751387057; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=naeLpHPulhxMI1rVSzepL/xZCjxteSP7cwiNhFt81rw=; b=bRlTgEZiBK4Cc3byWBpUkVkZkfTEv9XE+Ky84JVAh7L14Cb37hgwuizxaQwsPg72RV fmBi9XkmKKc6W+qxofor6fC5eQ/DMkh3wI4V8L1WX0nOgjOp5spCx7jDbJM4mpraqBs+ Jkt3sZtHEIr3xmKtm2mYp2MMms0Ri3C8qAHdiGKfUUmKmRGv9kUYfuvPvGxuZs4KKi6q 99gGCVtgRXdygmn6kC/jzubqbLPIqJMVohxW7aqo+LOGfm7no3GNn0RdvGnGqiPKylxo gSchdwii6w+zhbIWKKRKUvN3W9zPlw7z382w6MuF2XGMvZ0O5/fROX6H6xzMJT1q0RID S6Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750782257; x=1751387057; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=naeLpHPulhxMI1rVSzepL/xZCjxteSP7cwiNhFt81rw=; b=QLM/R5WjUe3sBG+j6/L7JnfS2IxPPLlRZOiT0IuBlIBtYnu1o1x9KQHc8E1aQgZhrP QZbtLNzRp1QpoQOn/e30YTyG1AMhkx9QWSx1jLfiDfsVC0gNWOXrOhc+mR35b7ns4puB R6vuLBnLRd6PUXtiRadavqlaUwue8y0fe/1muoAAsFcJmrVUPL1SXJQrEz6oK1x5FXp0 so2zcmoS4vjXMhJNSVezlCxgZlCbnQQ3we7WA1DTcyhnm4sNo14yIWTmCcBXCB6O3b2P pjhqSesWrDQgyrlq8xe6HZtQTJc68RoNn68Cpq7f0gzLVhisOSFCXvCiqr1YtOaYJM3X QLFQ== X-Gm-Message-State: AOJu0Yxb7AcQ2rD9GRIJig8lEE+2xEUZQAcjIYlMBMyP7W/TXwL+b7vk osnha0iHKDXygF2jI5TM0y4z7wCJHUmROOJRE/OJsDQ900GFa06AMiN1B33WZA7MLzKvWje5NMY Is4hl X-Gm-Gg: ASbGncs/Db2GSKtx023QPOOwK1vHNxoqkGyTOnxOmp2roibhW4lDITVrOGgRj8BBMmL AC8k5C48MenXQ5uB8f2fCK01O693YkG8Gq8kfVSFdkPoxJra7DL+dACNo/Ej3lbr0kHuqmoIJfb 9blhurBzjuSDfV4YO5ICm5WS+yywkCnjciVMDugF3S683V6jX6lx3IG4oyYaH6oxsPJikqs5wKA 9EGEYxee01jGTl3rHs4mDhMzn0F5Lx7MuS15fMIFZLlPj+shuqCG257y68TJ+x+L03xkNq1HZhc +IOE2Vx4fVt+ON9+eG88T2atC8ZrcbDgoLDVCWPWUckrA/nqa9VwmekN2Xk51XfFqfak3TAhJoa umn1ng1iy9CvP0QeHrkss2Q== X-Google-Smtp-Source: AGHT+IHNSeFadLv94qDZDoKb5jTJOzY7GZlsrAzWWRNUvMkyt0areJTMPWnDcHl8vIw4gKakLHYj4w== X-Received: by 2002:a05:620a:28d1:b0:7cc:7704:bf87 with SMTP id af79cd13be357-7d428d4ccfcmr31220185a.42.1750782257248; Tue, 24 Jun 2025 09:24:17 -0700 (PDT) Received: from localhost (d24-150-219-207.home.cgocable.net. [24.150.219.207]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7d3f999bfdasm523181885a.1.2025.06.24.09.24.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jun 2025 09:24:16 -0700 (PDT) From: Trevor Gamblin To: openembedded-core@lists.openembedded.org Subject: [OE-core][PATCH] python3-smartypants: upgrade 2.0.0 -> 2.0.2 Date: Tue, 24 Jun 2025 12:24:12 -0400 Message-ID: <20250624162414.722163-1-tgamblin@baylibre.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 24 Jun 2025 16:24:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/219273 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 --- .../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%) 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 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 +Update to apply on v2.0.2. + +Signed-off-by: Trevor Gamblin --- setup.py | 2 +- smartypants | 2 +- @@ -16,32 +19,35 @@ Signed-off-by: Tim Orling 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"