summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-09 15:48:17 +0200
committerErich Eckner <git@eckner.net>2018-07-09 15:48:17 +0200
commitfbb5466510eb3d3ca54b8f7bc57a0634470009b3 (patch)
tree2a4d63b3e5b71e3ecf03432594a59299406b1d48
parent5299e61595a055cc5a2c5930163dbd91fd70d4d3 (diff)
downloadarchlinuxewe-fbb5466510eb3d3ca54b8f7bc57a0634470009b3.tar.xz
pythonFunktionen: Verbesserungen
-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