Compare commits

..

21 Commits
f25 ... master

Author SHA1 Message Date
Fedora Release Engineering
5d9a889ab0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 23:07:19 +00:00
Miro Hrončok
d9404975a9 Rebuilt for Python 3.7 2018-06-15 14:30:38 +02:00
Kalev Lember
cd1bca702e Update to 3.28.3 2018-05-31 23:13:18 +02:00
Kalev Lember
0f3e91a34d Update to 3.28.2 2018-03-28 09:38:36 +02:00
Kalev Lember
65e73f4cbb Update to 3.28.1 2018-03-19 09:11:11 +01:00
Kalev Lember
7856e54fbd Update to 3.28.0 2018-03-12 13:23:28 +01:00
Kalev Lember
ade4801379 Update to 3.27.5 2018-03-03 10:34:35 +01:00
Iryna Shcherbina
a3effe1d0c Update Python 2 dependency declarations to new packaging standards 2018-02-21 02:52:36 +01:00
Fedora Release Engineering
7db5fe721b - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 06:09:48 +00:00
Kalev Lember
8f8bae3279 Update to 3.27.1 2017-12-20 16:52:09 +01:00
Kalev Lember
c0d8992d63 Update to 3.26.1 2017-11-01 22:12:13 +01:00
Troy Dawson
9a2a707853 Cleanup spec file conditionals 2017-09-27 14:55:22 -07:00
Kalev Lember
d21cc9d043 Update to 3.26.0 2017-09-14 23:19:15 +02:00
Kalev Lember
de5038ee74 Rename python-gobject-base to python2-gobject-base as well 2017-09-14 10:25:24 +02:00
Zbigniew Jędrzejewski-Szmek
ba7b4534b0 Python 2 binary package renamed to python2-pygobject3 2017-08-19 09:39:16 -04:00
Fedora Release Engineering
12d8ec0b85 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 06:32:11 +00:00
Fedora Release Engineering
68f50a828e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 09:17:53 +00:00
Kalev Lember
e962eea998 Update to 3.24.1 2017-04-11 14:23:00 +02:00
Kalev Lember
8250eeb4c7 Update to 3.24.0 2017-03-21 10:58:39 +01:00
Fedora Release Engineering
f21ae9f748 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 08:04:35 +00:00
Charalampos Stratakis
bf27af4d37 Rebuild for Python 3.6 2016-12-12 20:36:01 +01:00
2 changed files with 92 additions and 24 deletions

View File

@ -1,43 +1,44 @@
# Last updated for version 3.18.0
# Last updated for version 3.27.5
%define glib2_version 2.38.0
%define gobject_introspection_version 1.46.0
%define pycairo_version 1.11.1
%define python2_version 2.7
%if 0%{?fedora} > 12
%if 0%{?fedora} || 0%{?rhel} >= 8
%global with_python3 1
%define python3_version 3.1
%define python3_version 3.4
%endif
%global with_check 0
Name: pygobject3
Version: 3.22.0
Release: 1%{?dist}
Version: 3.28.3
Release: 3%{?dist}
Summary: Python bindings for GObject Introspection
License: LGPLv2+ and MIT
URL: https://wiki.gnome.org/Projects/PyGObject
Source0: https://download.gnome.org/sources/pygobject/3.22/pygobject-%{version}.tar.xz
Source0: https://download.gnome.org/sources/pygobject/3.28/pygobject-%{version}.tar.xz
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
BuildRequires: python2-devel >= %{python2_version}
BuildRequires: python2-cairo-devel >= %{pycairo_version}
%if 0%{?with_python3}
BuildRequires: python3-devel >= %{python3_version}
BuildRequires: python3-cairo-devel
BuildRequires: python3-cairo-devel >= %{pycairo_version}
%endif # if with_python3
BuildRequires: cairo-gobject-devel
BuildRequires: pycairo-devel
# Required by the upstream selftest suite:
%if %{with_check}
%if 0%{?fedora}
%if 0%{?with_python3}
# Temporarily disabled pyflakes tests to avoid the build failing due to too new
# pyflakes 0.7.2 in F19
# https://bugzilla.gnome.org/show_bug.cgi?id=701009
#BuildRequires: pyflakes
BuildRequires: python-pep8
#BuildRequires: python2-pyflakes
BuildRequires: python2-pep8
%endif
## for the Gdk and Gtk typelibs, used during the test suite:
BuildRequires: gtk3
@ -54,22 +55,24 @@ BuildRequires: dbus-x11
The %{name} package provides a convenient wrapper for the GObject library
for use in Python programs.
%package -n python-gobject
%package -n python2-gobject
%{?python_provide:%python_provide python2-gobject}
Summary: Python 2 bindings for GObject Introspection
Requires: python-gobject-base%{?_isa} = %{version}-%{release}
Requires: python2-gobject-base%{?_isa} = %{version}-%{release}
# The cairo override module depends on this
Requires: pycairo%{?_isa}
Requires: python2-cairo%{?_isa} >= %{pycairo_version}
Obsoletes: %{name} < 3.17.90-2
Provides: %{name} = %{version}-%{release}
Provides: %{name}%{?_isa} = %{version}-%{release}
%description -n python-gobject
%description -n python2-gobject
The python-gobject package provides a convenient wrapper for the GObject
library and and other libraries that are compatible with GObject Introspection,
for use in Python 2 programs.
%package -n python-gobject-base
%package -n python2-gobject-base
%{?python_provide:%python_provide python2-gobject-base}
Summary: Python 2 bindings for GObject Introspection base package
Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version}
@ -77,7 +80,7 @@ Obsoletes: %{name}-base < 3.17.90-2
Provides: %{name}-base = %{version}-%{release}
Provides: %{name}-base%{?_isa} = %{version}-%{release}
%description -n python-gobject-base
%description -n python2-gobject-base
This package provides the non-cairo specific bits of the GObject Introspection
library.
@ -86,7 +89,7 @@ library.
Summary: Python 3 bindings for GObject Introspection
Requires: python3-gobject-base%{?_isa} = %{version}-%{release}
# The cairo override module depends on this
Requires: python3-cairo%{?_isa}
Requires: python3-cairo%{?_isa} >= %{pycairo_version}
%description -n python3-gobject
The python3-gobject package provides a convenient wrapper for the GObject
@ -105,7 +108,7 @@ library.
%package devel
Summary: Development files for embedding PyGObject introspection support
Requires: python-gobject%{?_isa} = %{version}-%{release}
Requires: python2-gobject%{?_isa} = %{version}-%{release}
%if 0%{?with_python3}
Requires: python3-gobject%{?_isa} = %{version}-%{release}
%endif
@ -183,12 +186,12 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
%endif # with_check
%files -n python-gobject
%files -n python2-gobject
%{python_sitearch}/gi/_gi_cairo.so
%files -n python-gobject-base
%files -n python2-gobject-base
%license COPYING
%doc AUTHORS NEWS README
%doc NEWS
%dir %{python_sitearch}/gi
%{python_sitearch}/gi/*
%exclude %{python_sitearch}/gi/_gi_cairo.so
@ -201,7 +204,7 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
%files -n python3-gobject-base
%license COPYING
%doc AUTHORS NEWS README
%doc NEWS
%dir %{python3_sitearch}/gi
%{python3_sitearch}/gi/*
%exclude %{python3_sitearch}/gi/_gi_cairo*.so
@ -216,6 +219,71 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
%{_libdir}/pkgconfig/pygobject-3.0.pc
%changelog
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 3.28.3-2
- Rebuilt for Python 3.7
* Fri Jun 01 2018 Kalev Lember <klember@redhat.com> - 3.28.3-1
- Update to 3.28.3
* Wed Mar 28 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
- Update to 3.28.2
* Mon Mar 19 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1
- Update to 3.28.1
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
- Update to 3.28.0
* Sat Mar 03 2018 Kalev Lember <klember@redhat.com> - 3.27.5-1
- Update to 3.27.5
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.27.1-3
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.27.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Dec 20 2017 Kalev Lember <klember@redhat.com> - 3.27.1-1
- Update to 3.27.1
* Wed Nov 01 2017 Kalev Lember <klember@redhat.com> - 3.26.1-1
- Update to 3.26.1
* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 3.26.0-2
- Cleanup spec file conditionals
* Thu Sep 14 2017 Kalev Lember <klember@redhat.com> - 3.26.0-1
- Update to 3.26.0
* Thu Sep 14 2017 Kalev Lember <klember@redhat.com> - 3.24.1-5
- Rename python-gobject-base to python2-gobject-base as well
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.24.1-4
- Python 2 binary package renamed to python2-pygobject3
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Apr 11 2017 Kalev Lember <klember@redhat.com> - 3.24.1-1
- Update to 3.24.1
* Tue Mar 21 2017 Kalev Lember <klember@redhat.com> - 3.24.0-1
- Update to 3.24.0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.22.0-2
- Rebuild for Python 3.6
* Mon Sep 19 2016 Kalev Lember <klember@redhat.com> - 3.22.0-1
- Update to 3.22.0

View File

@ -1 +1 @@
ed4117ed5d554d25fd7718807fbf819f pygobject-3.22.0.tar.xz
SHA512 (pygobject-3.28.3.tar.xz) = 0abda393dd774f9cea04f883eab53f5ebde81d2439ed18cfe08ef39a1996054ab34bf4e770f70116a4485fb4f9970464b9a950ffa4af76cfa21ecc8d4dff968d