Accepting request 1159428 from GNOME:Factory
GNOME 46 (forwarded request 1156863 from dimstar) OBS-URL: https://build.opensuse.org/request/show/1159428 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gobject?expand=0&rev=97
This commit is contained in:
commit
f2dde7922d
19
_service
Normal file
19
_service
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://gitlab.gnome.org/GNOME/pygobject.git</param>
|
||||
<param name="revision">3.48.1</param>
|
||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||
<param name="versionrewrite-pattern">v?(.*)\+0</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
<!-- <param name="changesgenerate">enable</param> -->
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual" />
|
||||
</services>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:426008b2dad548c9af1c7b03b59df0440fde5c33f38fb5406b103a43d653cafc
|
||||
size 561552
|
3
pygobject-3.48.1.obscpio
Normal file
3
pygobject-3.48.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:72731b44b419aa4e02fe9cff7ddc128181f7ec32a639618d9f404a7173755c30
|
||||
size 2972684
|
4
pygobject.obsinfo
Normal file
4
pygobject.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: pygobject
|
||||
version: 3.48.1
|
||||
mtime: 1710056035
|
||||
commit: 67b807613a93544fb7ff8f456b0de004950f7da4
|
@ -1,3 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 11 08:00:09 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Update to version 3.48.1:
|
||||
+ Fix installation with pip failing in some environments with
|
||||
ModuleNotFoundError in g-ir-scanner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 9 18:38:20 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Update to version 3.48.0:
|
||||
+ test: fix some tests on macOS.
|
||||
+ docs: some dark mode fixes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 13 07:52:01 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Update to version 3.47.0:
|
||||
+ Drop setuptools in favor of meson-python.
|
||||
+ Fundamental type support.
|
||||
+ Fundamental type support for GValues.
|
||||
+ pygi-convert.sh: migrate FILE_CHOOSER_CONFIRMATION_*.
|
||||
+ gimodule, cairo: Use multi-phase initialization as per PEP-489.
|
||||
+ Deprecate classes in gi.option module.
|
||||
+ Deprecate pygtkcompat.
|
||||
+ Add support for (optional) nullable GErrors.
|
||||
+ Fix CssProvider not valid in GTK2.
|
||||
+ Fix double free if array item cannot be marshalled to Python.
|
||||
+ Raise exception if a callback property is encountered.
|
||||
+ build: Fix pycairo detection "script" for Windows.
|
||||
+ Replace deprecated ``pkgutil.find_loader`` call.
|
||||
+ Avoid segfault on property access for incompletely initialized
|
||||
objects.
|
||||
+ pygenum: When getting a member instance, use correct key for
|
||||
the lookup.
|
||||
+ Project / Development / CI:
|
||||
- Remove pborelli from the maintainer list.
|
||||
- Add Arjan Molenaar to maintainers.
|
||||
- Remove runtests script.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 10 19:51:54 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-gobject
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -34,18 +34,19 @@
|
||||
%define libffi_version 3.0
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-gobject
|
||||
Version: 3.46.0
|
||||
Version: 3.48.1
|
||||
Release: 0
|
||||
Summary: Python bindings for GObject
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://wiki.gnome.org/Projects/PyGObject/
|
||||
Source0: https://download.gnome.org/sources/pygobject/3.46/%{_name}-%{version}.tar.xz
|
||||
Source0: %{_name}-%{version}.tar.zst
|
||||
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module meson-python}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pycairo >= %{pycairo_version}}
|
||||
BuildRequires: %{python_module pycairo-devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -128,10 +129,13 @@ find examples -name '*.py' -exec chmod -R -x {} +
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%meson
|
||||
%meson_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%meson_install
|
||||
%pyproject_install
|
||||
# Incorrectly installed by a python38-setuptools vendored distutils
|
||||
# which does not play well with the distro patched python38.
|
||||
# Later flavors installed the correct files into lib64 as well
|
||||
@ -153,6 +157,7 @@ find %{buildroot}%{$python_sitearch} -name GIMarshallingTests* -delete -print
|
||||
}
|
||||
|
||||
find %{buildroot} "(" -name '*.la' -or -name '*.a' ")" -delete
|
||||
rm %{buildroot}%{_libdir}/*/site-packages/*.egg-info
|
||||
|
||||
%{?python_compileall}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
@ -162,9 +167,9 @@ find %{buildroot} "(" -name '*.la' -or -name '*.a' ")" -delete
|
||||
%doc NEWS
|
||||
%doc examples/
|
||||
%{python_sitearch}/gi/
|
||||
%{python_sitearch}/PyGObject-%{version}*-py*.egg-info
|
||||
# Lives in cairo subpackage
|
||||
%exclude %{python_sitearch}/gi/_gi_cairo*.so
|
||||
%{python_sitearch}/pygobject-%{version}.dist-info/
|
||||
# Lives in Gdk subpackage
|
||||
%exclude %{python_sitearch}/gi/_gtktemplate.py
|
||||
%exclude %{python_sitearch}/gi/overrides/Gdk.*
|
||||
@ -198,6 +203,7 @@ find %{buildroot} "(" -name '*.la' -or -name '*.a' ")" -delete
|
||||
|
||||
%files %{python_files devel}
|
||||
%doc README.rst
|
||||
%{_includedir}/python%{python_version}/pygobject/
|
||||
|
||||
%files -n %{name}-common-devel
|
||||
%{_includedir}/pygobject-3.0/
|
||||
|
Loading…
Reference in New Issue
Block a user