]> git.pld-linux.org Git - packages/libgpiod.git/commitdiff
- up to 2.1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 12 Nov 2023 19:27:50 +0000 (20:27 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 12 Nov 2023 19:27:50 +0000 (20:27 +0100)
libgpiod-python.patch
libgpiod.spec

index c742a67e11352307af11b802da63e8f80927f55a..c230194d9b3d0d153a6c3f992b01c7f90a67d862 100644 (file)
@@ -1,17 +1,11 @@
---- libgpiod-2.0/bindings/python/Makefile.am.orig      2023-03-02 15:37:46.000000000 +0100
-+++ libgpiod-2.0/bindings/python/Makefile.am   2023-03-30 20:16:19.674654682 +0200
-@@ -11,12 +11,12 @@ endif
- all-local:
-       GPIOD_WITH_TESTS=$(BUILD_TESTS) \
--      $(PYTHON) $(srcdir)/setup.py build_ext --inplace \
-+      $(PYTHON) $(srcdir)/setup.py build_ext --inplace \
-               --include-dirs=$(top_srcdir)/include/:$(top_srcdir)/tests/gpiosim/ \
-               --library-dirs=$(top_builddir)/lib/.libs/:$(top_srcdir)/tests/gpiosim/.libs/
+--- libgpiod-2.1/bindings/python/Makefile.am.orig      2023-11-12 19:57:20.387550810 +0100
++++ libgpiod-2.1/bindings/python/Makefile.am   2023-11-12 20:16:15.008070710 +0100
+@@ -19,7 +19,7 @@ all-local:
  
  install-exec-local:
--      $(PYTHON) $(srcdir)/setup.py install --prefix=$(DESTDIR)$(prefix)
-+      $(PYTHON) $(srcdir)/setup.py install --root=$(DESTDIR) --prefix=$(prefix)
+       GPIOD_WITH_TESTS= \
+-      $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
++      $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix)
  
  SUBDIRS = gpiod
  
index cc86ff4688211c4e15dd191d02770aaee1bac21e..8a7fd6d32eb557da1b089018c976a31b76aaa643 100644 (file)
 Summary:       Library and tools for interacting with the Linux GPIO character device
 Summary(pl.UTF-8):     Biblioteka i narzędzia do obsługi linuksowych urządzeń znakowych GPIO
 Name:          libgpiod
-Version:       2.0.2
+Version:       2.1
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       https://www.kernel.org/pub/software/libs/libgpiod/%{name}-%{version}.tar.xz
-# Source0-md5: 97931170f1291316b3bf36239c1b3e4a
+# Source0-md5: 42e576d44c261411c9e58bba8a87e7f5
 Patch0:                %{name}-python.patch
 URL:           https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
 %{?with_apidocs:BuildRequires: doxygen}
@@ -217,7 +217,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{py3_sitedir}/gpiod/_ext.cpython-*.so
 %{py3_sitedir}/gpiod/*.py
 %{py3_sitedir}/gpiod/__pycache__
-%{py3_sitedir}/gpiod-2.0.0-py*.egg-info
+%{py3_sitedir}/gpiod-2.0.1-py*.egg-info
 %endif
 
 %if %{with apidocs}
This page took 0.177207 seconds and 4 git commands to generate.