From 9ac0250122999cc96878423a13d9906406bf799cfab2f891485de921e6094c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 1 Jul 2019 09:55:42 +0000 Subject: [PATCH] Accepting request 712260 from home:bnavigator A build system generator for CPython C/C++/Fortran/Cython extensions OBS-URL: https://build.opensuse.org/request/show/712260 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + python-scikit-build.changes | 17 ++++++++ python-scikit-build.spec | 84 +++++++++++++++++++++++++++++++++++++ scikit-build-0.10.0.tar.gz | 3 ++ 5 files changed, 128 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-scikit-build.changes create mode 100644 python-scikit-build.spec create mode 100644 scikit-build-0.10.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-scikit-build.changes b/python-scikit-build.changes new file mode 100644 index 0000000..93a65a0 --- /dev/null +++ b/python-scikit-build.changes @@ -0,0 +1,17 @@ +------------------------------------------------------------------- +Thu Jun 27 13:14:57 UTC 2019 - Benjamin Greiner + +- back to sitelib + +------------------------------------------------------------------- +Wed Jun 26 13:22:10 UTC 2019 - Benjamin Greiner + +- force installation to %python_sitearch +- use %pytest_arch macro +- add docs dir +- cleaned up spec using spec-cleaner + +------------------------------------------------------------------- +Wed Jun 19 11:26:36 UTC 2019 - Benjamin Greiner + +- update to version 0.10.0 diff --git a/python-scikit-build.spec b/python-scikit-build.spec new file mode 100644 index 0000000..9ba7924 --- /dev/null +++ b/python-scikit-build.spec @@ -0,0 +1,84 @@ +# +# spec file for package python-scikit-build +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-scikit-build +Version: 0.10.0 +Release: 0 +Summary: Improved build system generator for Python C/C++/Fortran/Cython extensions +License: MIT +Group: Development/Languages/Python +URL: https://github.com/scikit-build/scikit-build +Source: https://files.pythonhosted.org/packages/source/s/scikit-build/scikit-build-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools >= 28.0.0} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-packaging +Requires: python-setuptools >= 28.0.0 +Requires: python-wheel >= 0.29.0 +# SECTION test requirements +BuildRequires: %{python_module Cython >= 0.25.1} +BuildRequires: %{python_module codecov >= 2.0.5} +BuildRequires: %{python_module coverage >= 4.2} +BuildRequires: %{python_module flake8 >= 3.0.4} +BuildRequires: %{python_module packaging} +BuildRequires: %{python_module path.py >= 11.5.0} +BuildRequires: %{python_module pytest >= 3.0.3} +BuildRequires: %{python_module pytest-cov >= 2.4.0} +BuildRequires: %{python_module pytest-mock >= 1.4.0} +BuildRequires: %{python_module pytest-runner >= 2.9} +BuildRequires: %{python_module pytest-virtualenv >= 1.2.5} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module six >= 1.10.0} +BuildRequires: %{python_module virtualenv} +BuildRequires: %{python_module wheel >= 0.29.0} +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: gcc-fortran +BuildRequires: git-core +BuildRequires: ninja +# /SECTION +%python_subpackages + +%description +Improved build system generator for Python C/C++/Fortran/Cython extensions + +%prep +%setup -q -n scikit-build-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + + +%check +# setup.py install, develop, etc default to writing to /usr . +# Tests need enhancing upstream or patching. +%pytest -k 'not (test_install_command or test_develop_command or test_test_command or test_hello_develop)' + +%files %{python_files} +%doc AUTHORS.rst README.rst CONTRIBUTING.rst HISTORY.rst docs/ +%license LICENSE +%{python_sitelib}/skbuild +%{python_sitelib}/scikit_build-%{version}-py*.egg-info + +%changelog diff --git a/scikit-build-0.10.0.tar.gz b/scikit-build-0.10.0.tar.gz new file mode 100644 index 0000000..f7e16e4 --- /dev/null +++ b/scikit-build-0.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7342017cc82dd6178e3b19377389b8a8d1f8b429d9cdb315cfb1094e34a0f526 +size 132443