Accepting request 1118908 from devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/1118908 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xcffib?expand=0&rev=15
This commit is contained in:
commit
c769bd536e
@ -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.
3
xcffib-1.5.0.tar.gz
Normal file
3
xcffib-1.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a95c9465f2f97b4fcede606bd1e08407a32df71cb760fd57bfe53677db691acc
|
||||
size 89544
|
Loading…
Reference in New Issue
Block a user