summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpythonFunktionen6
1 files changed, 4 insertions, 2 deletions
diff --git a/pythonFunktionen b/pythonFunktionen
index 793cfb9d6..5bb696e9c 100755
--- a/pythonFunktionen
+++ b/pythonFunktionen
@@ -74,9 +74,11 @@ versteheRequirements() {
tar -Oxzf "${archiv}" "${_pkgname}-${pkgver}/requirements.txt" | \
sed '
/^#/d
+ s,^https\?:.*/mysql-connector-python-[^/]*$,mysql-connector,
s/^/_depends:/
'
- }
+ } | \
+ sort -u
)"
for wasAusgeben in "${!metaRegexe[@]}"; do
@@ -89,7 +91,7 @@ versteheRequirements() {
p
' | \
sed '
- /^cython$/! s/^/python-/
+ /^cython$\|^python-/! s/^/python-/
'
)
done