#1 Disable xpyb support
Merged 5 years ago by kalev. Opened 5 years ago by otaylor.
rpms/ otaylor/pycairo no-xpyb  into  master

Disable xpyb support
Owen W. Taylor • 5 years ago  
file modified
+6 -4
@@ -1,6 +1,6 @@ 

  Name: pycairo

  Version: 1.17.1

- Release: 2%{?dist}

+ Release: 3%{?dist}

  Summary: Python bindings for the cairo library

  

  License: MPLv1.1 or LGPLv2
@@ -12,7 +12,6 @@ 

  BuildRequires: pkgconfig

  BuildRequires: python2-devel

  BuildRequires: python2-pytest

- BuildRequires: python-xpyb-devel

  BuildRequires: python3-devel

  BuildRequires: python3-pytest

  
@@ -22,7 +21,6 @@ 

  %package -n python2-cairo

  Summary: Python 2 bindings for the cairo library

  %{?python_provide:%python_provide python2-cairo}

- Requires: python-xpyb

  # Renamed in F27

  Obsoletes: pycairo < 1.15.2

  Provides: pycairo = %{version}-%{release}
@@ -64,7 +62,7 @@ 

  %setup -q

  

  %build

- %py2_build -- --enable-xpyb

+ %py2_build

  %py3_build

  

  %install
@@ -96,6 +94,10 @@ 

  %{_libdir}/pkgconfig/py3cairo.pc

  

  %changelog

+ * Thu Sep 27 2018 Owen Taylor <otaylor@redhat.com> - 1.17.1-3

+ - Disable xpyb support - this is only for Python2, and was originally added

+   for qtile, which uses Python3 now.

+ 

  * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.1-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

  

This is only for python2, and was originally added for qtile, which uses Python3 now.
xpyb is unmaintained upstream, and doesn't build with recent xcb-proto.

(Ran into this when trying to rebuild pycairo for Flaptak inclusion -
https://bugs.gentoo.org/649876 has a compilation fix for xpyb, but if we can just drop it,
even better.)

Pull-Request has been merged by kalev

5 years ago