Sync from SUSE:SLFO:Main python-xcffib revision 8f565f8e4f600b33cf09745dc0f8acaa
This commit is contained in:
parent
0a3548d5e9
commit
6597a7093a
@ -1,23 +0,0 @@
|
||||
Index: xcffib-1.2.0/test/test_python_code.py
|
||||
===================================================================
|
||||
--- xcffib-1.2.0.orig/test/test_python_code.py
|
||||
+++ xcffib-1.2.0/test/test_python_code.py
|
||||
@@ -19,7 +19,6 @@ import xcffib.xinput
|
||||
import os
|
||||
import struct
|
||||
import sys
|
||||
-from xcffib._ffi import ffi
|
||||
from xcffib.xproto import EventMask
|
||||
|
||||
from .conftest import XcffibTest
|
||||
@@ -176,8 +175,8 @@ class TestPythonCode:
|
||||
)
|
||||
|
||||
# Create cdata from the bytearray and cast it to a generic reply
|
||||
- cdata = ffi.new("char x[72]", B_HIT_EVENT)
|
||||
- generic_reply = ffi.cast("xcb_generic_reply_t *", cdata)
|
||||
+ cdata = xcffib.ffi.new("char x[72]", B_HIT_EVENT)
|
||||
+ generic_reply = xcffib.ffi.cast("xcb_generic_reply_t *", cdata)
|
||||
|
||||
# Pass the reply to our hoist_event method
|
||||
event = xcffib_test.conn.hoist_event(generic_reply)
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 18 15:09:53 UTC 2023 - Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
|
||||
|
||||
- update to 1.5.0:
|
||||
* build against xcb-proto 1.16.0 (Tycho Andersen)
|
||||
* add an automatic-github-releaser script
|
||||
* use cffi's in-line mode
|
||||
* build against xcb-proto 1.16.0
|
||||
- remove python-xcffib-ffi-import.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 10 06:54:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -27,15 +27,13 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-xcffib%{?psuffix}
|
||||
Version: 1.3.0
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
Summary: A drop in replacement for xpyb, an XCB python binding
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/tych0/xcffib
|
||||
Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz
|
||||
# fix ffi import [bsc#1209570c4]
|
||||
Patch1: python-xcffib-ffi-import.patch
|
||||
BuildRequires: %{python_module cffi >= 1.1.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%if %{with test}
|
||||
|
BIN
xcffib-1.3.0.tar.gz
(Stored with Git LFS)
BIN
xcffib-1.3.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
xcffib-1.5.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
xcffib-1.5.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user