From 3811c91c1f6a149f7a15eed7d3fd9bc36ef35b1c Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 4 Jan 2025 11:51:47 +0300 Subject: [PATCH] import python-pycosat-0.6.6-5.el10 --- .gitignore | 1 + .python-pycosat.metadata | 1 + SPECS/python-pycosat.spec | 179 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 181 insertions(+) create mode 100644 .gitignore create mode 100644 .python-pycosat.metadata create mode 100644 SPECS/python-pycosat.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..63716ff --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pycosat-0.6.6.tar.gz diff --git a/.python-pycosat.metadata b/.python-pycosat.metadata new file mode 100644 index 0000000..6e9818d --- /dev/null +++ b/.python-pycosat.metadata @@ -0,0 +1 @@ +52157ec610691058b908fa1b5a68a4a9864c4bb4 SOURCES/pycosat-0.6.6.tar.gz diff --git a/SPECS/python-pycosat.spec b/SPECS/python-pycosat.spec new file mode 100644 index 0000000..e01389a --- /dev/null +++ b/SPECS/python-pycosat.spec @@ -0,0 +1,179 @@ +%global srcname pycosat +%global sum Python bindings to picosat (a SAT solver) +%global pkgdesc \ +PicoSAT is a popular SAT solver written by Armin Biere in pure C. This \ +package provides efficient Python bindings to picosat on the C level, i.e. \ +when importing pycosat, the picosat solver becomes part of the Python process \ +itself. + +Name: python-%{srcname} +Version: 0.6.6 +Release: 5%{?dist} +Summary: %{sum} + +License: MIT +URL: https://github.com/ContinuumIO/%{srcname} +Source0: https://github.com/ContinuumIO/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: picosat-devel + +%description +%{pkgdesc} + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: %{sum} +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-pytest +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} + +%description -n python%{python3_pkgversion}-%{srcname} +%{pkgdesc} + + +%prep +%setup -q -n %{srcname}-%{version} +sed -i -e s/distutils.core/setuptools/ setup.py +rm picosat.* + +# upstream only applies proper flags when build is invoked with --inplace +sed -i "s/if .--inplace. in sys.argv:/if True:/" setup.py + +%build +%py3_build + +%install +%py3_install + +%check +PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-%{python3_version} -vv + +%files -n python%{python3_pkgversion}-%{srcname} +%license LICENSE +%doc AUTHORS.md CHANGELOG.md README.rst +%{python3_sitearch}/* + +%changelog +* Sat Jan 04 2025 Arkady L. Shane - 0.6.6-5 +- Rebuilt for MSVSphere 10 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.6.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 0.6.6-4 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.6.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.6.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Oct 04 2023 Orion Poplawski - 0.6.6-1 +- Update to 0.6.6 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.6.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0.6.4-3 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.6.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Oct 27 2022 Orion Poplawski - 0.6.4-1 +- Update to 0.6.4 + +* Fri Jul 22 2022 Fedora Release Engineering - 0.6.3-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.6.3-18 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.6.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.6.3-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.6.3-15 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.6.3-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.6.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jun 24 2020 Orion Poplawski - 0.6.3-12 +- Add BR on python-setuptools + +* Tue May 26 2020 Miro Hrončok - 0.6.3-11 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.6.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.6.3-9 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.6.3-8 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.6.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.6.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Oct 7 2018 Orion Poplawski - 0.6.3-5 +- Drop Python 2 package for Fedora 30+ (bugz #1634962) + +* Sat Jul 14 2018 Fedora Release Engineering - 0.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.6.3-3 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.6.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Feb 5 2018 Orion Poplawski - 0.6.3-1 +- Update to 0.6.3 + +* Thu Aug 03 2017 Fedora Release Engineering - 0.6.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.6.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.6.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.6.1-9 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 0.6.1-8 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Tue Apr 19 2016 Orion Poplawski - 0.6.1-7 +- Build python3 packages for EPEL7 + +* Thu Feb 04 2016 Fedora Release Engineering - 0.6.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jan 13 2016 Jerry James - 0.6.1-5 +- Rebuild for picosat 965 + +* Sun Jan 3 2016 Orion Poplawski - 0.6.1-4 +- Fix PYTHONPATH in %%check + +* Tue Nov 10 2015 Fedora Release Engineering - 0.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Tue Sep 22 2015 Orion Poplawski - 0.6.1-2 +- Quiet setup + +* Mon Sep 21 2015 Orion Poplawski - 0.6.1-1 +- Initial package