From 1edfea6956eb2c9e12e4e06e7dbac4cc8fb202b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 24 Feb 2021 13:06:35 +0100 Subject: [PATCH] Update comment for python_altnames() to reflect the reality --- python.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python.lua b/python.lua index 8766c91..8391fe7 100644 --- a/python.lua +++ b/python.lua @@ -3,8 +3,8 @@ -- Determine alternate names provided from the given name. -- Used in pythonname provides generator, python_provide and py_provides. -- There are 2 rules: --- python3-foo -> python-foo, python3X-foo --- python3X-foo -> python-foo, python3-foo +-- python3-foo -> python-foo, python3.X-foo +-- python3.X-foo -> python-foo, python3-foo -- There is no python-foo -> rule, python-foo packages are version agnostic. -- Returns a table/array with strings. Empty when no rule matched. local function python_altnames(name)