Sync from SUSE:ALP:Source:Standard:1.0 python-cppy revision ed01e9bc8e765414893c0764d9c382da

This commit is contained in:
Adrian Schröter 2023-06-07 08:28:45 +02:00
commit 4c4ac999ce
5 changed files with 129 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

BIN
cppy-1.2.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

2
python-cppy-rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
# These are package essentials
addFilter("devel-file-in-non-devel-package .*cppy/include/cppy")

40
python-cppy.changes Normal file
View File

@ -0,0 +1,40 @@
-------------------------------------------------------------------
Fri Apr 21 12:23:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:40:42 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Thu Jul 14 17:35:43 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Actually needs setuptools 61.2 now
-------------------------------------------------------------------
Thu Jul 14 10:49:56 UTC 2022 - Ben Greiner <code@bnavigator.de>
- 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 <code@bnavigator.de>
- Fix version metadata (broke kiwisolver)
- Follow upstreams Python >= 3.7 restriction
-------------------------------------------------------------------
Sun Mar 27 11:08:35 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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

61
python-cppy.spec Normal file
View File

@ -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