pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/scripts mk/scripts/remove_todo: support python 3.10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49b201c3ee19
branches:  trunk
changeset: 374307:49b201c3ee19
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Feb 18 18:10:09 2022 +0000

description:
mk/scripts/remove_todo: support python 3.10

diffstat:

 mk/scripts/remove_todo |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 86d26d0b6c0f -r 49b201c3ee19 mk/scripts/remove_todo
--- a/mk/scripts/remove_todo    Fri Feb 18 17:55:46 2022 +0000
+++ b/mk/scripts/remove_todo    Fri Feb 18 18:10:09 2022 +0000
@@ -20,7 +20,7 @@
 fi
 
 TODO=$1
-PKGBASE=$(echo $2 | sed "s/^py[0-9][0-9]-/py-/")
+PKGBASE=$(echo $2 | sed "s/^py[0-9][0-9]*-/py-/")
 PKGVERSION=$3
 TMPFILE="$TODO.$$"
 PKG_ADMIN="${PKG_ADMIN:-pkg_admin}"



Home | Main Index | Thread Index | Old Index