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"