aboutsummaryrefslogtreecommitdiffstats
path: root/gi-find-deps.sh.in
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2013-08-08 06:54:13 +0000
committerJani Välimaa <wally@mageia.org>2013-08-08 06:54:13 +0000
commita4a8574808c03cb4bfe260d7bc21c2124029585a (patch)
tree4120c173c5922fc58a874961aea6fb83cc861cba /gi-find-deps.sh.in
parent23a6367888de38c25d9119d734243833f9ba2ab7 (diff)
downloadrpm-setup-a4a8574808c03cb4bfe260d7bc21c2124029585a.tar
rpm-setup-a4a8574808c03cb4bfe260d7bc21c2124029585a.tar.gz
rpm-setup-a4a8574808c03cb4bfe260d7bc21c2124029585a.tar.bz2
rpm-setup-a4a8574808c03cb4bfe260d7bc21c2124029585a.tar.xz
rpm-setup-a4a8574808c03cb4bfe260d7bc21c2124029585a.zip
don't add python-gi requires automatically as we can't be sure if the code was written for python3 (again from SUSE)
Diffstat (limited to 'gi-find-deps.sh.in')
-rwxr-xr-xgi-find-deps.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gi-find-deps.sh.in b/gi-find-deps.sh.in
index f099c6a..a66868d 100755
--- a/gi-find-deps.sh.in
+++ b/gi-find-deps.sh.in
@@ -55,7 +55,8 @@ function python_requires {
for module in $(grep -h -P "from gi\.repository import (\w+)" $1 | sed 's:#.*::' | sed -e 's,from gi.repository import,,' -r -e 's:\s+as\s+\w+::g' -e 's:\s*,\s*: :g'); do
split_name_version $module
print_req_prov
- echo "python-gi >= 2.90.2"
+ # Temporarly disabled... this is not true if the python code is written for python3... And there seems no real 'way' to identify this.
+ #echo "python-gi >= 2.90.2"
done
for module in $(grep -h -P -o "(gi\.require_version\(['\"][^'\"]+['\"],\s*['\"][^'\"]+['\"]\))" $1 | sed -e 's:gi.require_version::' -e "s:[()\"' ]::g" -e 's:,:-:'); do
split_name_version $module