From 4c4ac999ced2965cbe06bc96d7c502d4886e3616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 7 Jun 2023 08:28:45 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 python-cppy revision ed01e9bc8e765414893c0764d9c382da --- .gitattributes | 23 ++++++++++++++++ cppy-1.2.1.tar.gz | 3 +++ python-cppy-rpmlintrc | 2 ++ python-cppy.changes | 40 ++++++++++++++++++++++++++++ python-cppy.spec | 61 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 129 insertions(+) create mode 100644 .gitattributes create mode 100644 cppy-1.2.1.tar.gz create mode 100644 python-cppy-rpmlintrc create mode 100644 python-cppy.changes create mode 100644 python-cppy.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/cppy-1.2.1.tar.gz b/cppy-1.2.1.tar.gz new file mode 100644 index 0000000..d3ee4ea --- /dev/null +++ b/cppy-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83b43bf17b1085ac15c5debdb42154f138b928234b21447358981f69d0d6fe1b +size 18040 diff --git a/python-cppy-rpmlintrc b/python-cppy-rpmlintrc new file mode 100644 index 0000000..09a95b8 --- /dev/null +++ b/python-cppy-rpmlintrc @@ -0,0 +1,2 @@ +# These are package essentials +addFilter("devel-file-in-non-devel-package .*cppy/include/cppy") diff --git a/python-cppy.changes b/python-cppy.changes new file mode 100644 index 0000000..fd2b58f --- /dev/null +++ b/python-cppy.changes @@ -0,0 +1,40 @@ +------------------------------------------------------------------- +Fri Apr 21 12:23:49 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:40:42 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Thu Jul 14 17:35:43 UTC 2022 - Ben Greiner + +- Actually needs setuptools 61.2 now + +------------------------------------------------------------------- +Thu Jul 14 10:49:56 UTC 2022 - Ben Greiner + +- Update to 1.2.1 + * make the pyproject.toml fully PEP 621 compliant PR #19 + +------------------------------------------------------------------- +Mon Mar 28 15:27:01 UTC 2022 - Ben Greiner + +- Fix version metadata (broke kiwisolver) +- Follow upstreams Python >= 3.7 restriction + +------------------------------------------------------------------- +Sun Mar 27 11:08:35 UTC 2022 - Dirk Müller + +- update to 1.2.0: + - expose a build_ext subclass that can be re-used in other projects PR #16 + - use a PEP 517 compatible install procedure PR #16 + - do not access directly ob_type on PyObject use Py_TYPE + +------------------------------------------------------------------- +Thu Apr 9 11:16:32 UTC 2020 - pgajdos@suse.com + +- initial version 1.1.0, required by python-enaml + diff --git a/python-cppy.spec b/python-cppy.spec new file mode 100644 index 0000000..1843a1f --- /dev/null +++ b/python-cppy.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-cppy +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-cppy +Version: 1.2.1 +Release: 0 +Summary: C++ headers for C extension development +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://github.com/nucleic/cppy +Source: https://files.pythonhosted.org/packages/source/c/cppy/cppy-%{version}.tar.gz +Source99: python-cppy-rpmlintrc +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools >= 61.2} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module tomli} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +C++ headers for C extension development + +%prep +%setup -q -n cppy-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/cppy +%{python_sitelib}/cppy-%{version}*-info + +%changelog