%global srcname pyswip Name: python-%{srcname} Version: 0.3.2 Release: 1%{?dist} Summary: Python-SWI-Prolog bridge License: MIT URL: https://github.com/yuce/pyswip Source0: https://github.com/yuce/pyswip/archive/v%{version}/%{srcname}-%{version}.tar.gz # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildArch: noarch BuildRequires: swi-prolog-core BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pytest %description PySWIP is a Python - SWI-Prolog bridge enabling to query SWI-Prolog in your Python programs. It features an (incomplete) SWI-Prolog foreign language interface, a utility class that makes it easy querying with Prolog and also a Pythonic interface. %package -n python3-%{srcname} Summary: %summary Requires: swi-prolog-core %description -n python3-%{srcname} PySWIP is a Python - SWI-Prolog bridge enabling to query SWI-Prolog in your Python programs. It features an (incomplete) SWI-Prolog foreign language interface, a utility class that makes it easy querying with Prolog and also a Pythonic interface. %prep %autosetup -n %{srcname}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %pytest %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md CHANGELOG.md %changelog * Fri Nov 1 2024 Christoph Karl - 0.3.2-1 - Update to version 0.3.2 * Tue Sep 17 2024 Jerry James - 0.2.10-18 - Adapt to changes in the pl package in F41+ * Fri Jul 19 2024 Fedora Release Engineering - 0.2.10-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.2.10-16 - Rebuilt for Python 3.13 * Thu Feb 1 2024 Jerry James - 0.2.10-15 - Stop building for 32-bit x86 - Modernize the spec file * Fri Jan 26 2024 Fedora Release Engineering - 0.2.10-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.2.10-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.2.10-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.2.10-11 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.2.10-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 28 2022 Christoph Karl - 0.2.10-9 - SPDX migration (checked, no change) * Sun Dec 18 2022 Christoph Karl - 0.2.10-8 - Patch for SWI-Prolog Version > 8.5.2 * Fri Jul 22 2022 Fedora Release Engineering - 0.2.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.2.10-6 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.2.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.10-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 07 2021 Christoph Karl - 0.2.10 - Revive with version 0.2.10 * Sat Feb 02 2019 Fedora Release Engineering - 0.2.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Sep 24 2018 Till Hofmann - 0.2.7-4 - Remove python2 subpackage * Sat Jul 14 2018 Fedora Release Engineering - 0.2.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro HronĨok - 0.2.7-2 - Rebuilt for Python 3.7 * Sat Jun 09 2018 Till Hofmann - 0.2.7-1 - Update to 0.2.7 * Mon Jun 04 2018 Till Hofmann - 0.2.6-1 - Update to 0.2.6 * Fri May 25 2018 Till Hofmann - 0.2.5-1 - Update to 0.2.5 * Fri Feb 09 2018 Fedora Release Engineering - 0.2.3-5.git72771d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Feb 09 2018 Igor Gnatenko - 0.2.3-4.git72771d9 - Escape macros in %%changelog * Thu Jul 27 2017 Fedora Release Engineering - 0.2.3-3.git72771d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Mar 13 2017 Till Hofmann - 0.2.3-2.git72771d9 - Don't glob %%{python_sitelib}/* but add files separately instead * Sun Jan 15 2017 Till Hofmann - 0.2.3-1.git72771d9 - Initial package