forked from pool/graphene
Accepting request 546409 from GNOME:Next
- Switch to python3: + Update the shebang in src/identfilter.py using sed. + Replace --identifier-filter-cmd=python in src/meson.build with --identifier-filter-cmd=python3 (using sed). + Add python3-base BuildRequires: needed to have the python3 interpreter present. fails in the testsuite on the "box" test OBS-URL: https://build.opensuse.org/request/show/546409 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/graphene?expand=0&rev=12
This commit is contained in:
parent
04f83e5a73
commit
6131db1b49
@ -1,8 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 29 12:22:26 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Switch to python3:
|
||||||
|
+ Update the shebang in src/identfilter.py using sed.
|
||||||
|
+ Replace --identifier-filter-cmd=python in src/meson.build with
|
||||||
|
--identifier-filter-cmd=python3 (using sed).
|
||||||
|
+ Add python3-base BuildRequires: needed to have the python3
|
||||||
|
interpreter present.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 10 01:57:07 CEST 2017 - ro@suse.de
|
Thu Aug 10 01:57:07 CEST 2017 - ro@suse.de
|
||||||
|
|
||||||
- on i586, disable sse2 for the moment, otherwise the package
|
- on i586, disable sse2 for the moment, otherwise the package
|
||||||
fails in the testsuite on the "box" test
|
fails in the testsuite on the "box" test
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 4 08:47:33 UTC 2017 - zaitor@opensuse.org
|
Sat Mar 4 08:47:33 UTC 2017 - zaitor@opensuse.org
|
||||||
|
@ -28,6 +28,7 @@ Source99: baselibs.conf
|
|||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: meson >= 0.37.0
|
BuildRequires: meson >= 0.37.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python3-base
|
||||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.30.0
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.30.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -76,6 +77,9 @@ This subpackage contains the development files for the Graphene library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
# replace usr/bin/env shebang
|
||||||
|
sed -i "s|/usr/bin/env python|/usr/bin/python3|" src/identfilter.py
|
||||||
|
sed -i "s|--identifier-filter-cmd=python|--identifier-filter-cmd=python3|" src/meson.build
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# meson errors out without a utf8 LANG set
|
# meson errors out without a utf8 LANG set
|
||||||
|
Loading…
x
Reference in New Issue
Block a user