diff --git a/_service b/_service new file mode 100644 index 0000000..53ba5da --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + git + https://gitlab.gnome.org/GNOME/pygobject.git + 3.48.1 + @PARENT_TAG@+@TAG_OFFSET@ + v?(.*)\+0 + \1 + + + + + *.tar + zst + + + + diff --git a/pygobject-3.46.0.tar.xz b/pygobject-3.46.0.tar.xz deleted file mode 100644 index 6f77751..0000000 --- a/pygobject-3.46.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:426008b2dad548c9af1c7b03b59df0440fde5c33f38fb5406b103a43d653cafc -size 561552 diff --git a/pygobject-3.48.1.obscpio b/pygobject-3.48.1.obscpio new file mode 100644 index 0000000..e38c3a6 --- /dev/null +++ b/pygobject-3.48.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72731b44b419aa4e02fe9cff7ddc128181f7ec32a639618d9f404a7173755c30 +size 2972684 diff --git a/pygobject.obsinfo b/pygobject.obsinfo new file mode 100644 index 0000000..2ef0c62 --- /dev/null +++ b/pygobject.obsinfo @@ -0,0 +1,4 @@ +name: pygobject +version: 3.48.1 +mtime: 1710056035 +commit: 67b807613a93544fb7ff8f456b0de004950f7da4 diff --git a/python-gobject.changes b/python-gobject.changes index 558583f..533a7b7 100644 --- a/python-gobject.changes +++ b/python-gobject.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Mon Mar 11 08:00:09 UTC 2024 - Dominique Leuenberger + +- 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 + +- 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 + +- 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 diff --git a/python-gobject.spec b/python-gobject.spec index c90c3f6..64339ab 100644 --- a/python-gobject.spec +++ b/python-gobject.spec @@ -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/