commit 2592880944f11b00802bd699ba34bbbf4688eacd8a41abf667ccc66db3a5845b Author: Dominique Leuenberger Date: Sun Nov 28 20:30:04 2021 +0000 Accepting request 934317 from devel:languages:python initialized devel package after accepting 934317 OBS-URL: https://build.opensuse.org/request/show/934317 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-rust?expand=0&rev=5 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-setuptools-rust.changes b/python-setuptools-rust.changes new file mode 100644 index 0000000..277d61c --- /dev/null +++ b/python-setuptools-rust.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Nov 27 13:25:03 UTC 2021 - Dirk Müller + +- Initial package (1.0.0) diff --git a/python-setuptools-rust.spec b/python-setuptools-rust.spec new file mode 100644 index 0000000..2f8e599 --- /dev/null +++ b/python-setuptools-rust.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-setuptools-rust +# +# Copyright (c) 2021 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-setuptools-rust +Version: 1.0.0 +Release: 0 +Summary: Setuptools plugin for Rust extensions +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://github.com/PyO3/setuptools-rust +Source: https://files.pythonhosted.org/packages/source/s/setuptools-rust/setuptools-rust-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module semantic_version >= 2.8.2} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module typing_extensions >= 3.7.4.3} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros +Requires: python-semantic_version >= 2.8.2 +Requires: python-tomli +Requires: python-typing_extensions >= 3.7.4.3 +BuildArch: noarch +%python_subpackages + +%description +setuptools-rust is a plugin for setuptools to build Rust Python extensions +implemented with PyO3 or rust-cpython. + +Compile and distribute Python extensions written in Rust as easily as if they +were written in C. + +%prep +%setup -q -n setuptools-rust-%{version} + +%build +%python_build + +%install +%python_install + +%check +export LANG=en_US.UTF-8 +%python_exec setup.py test + +%files %{python_files} +%license LICENSE +%doc README.md +%{python_sitelib}/* + +%changelog diff --git a/setuptools-rust-1.0.0.tar.gz b/setuptools-rust-1.0.0.tar.gz new file mode 100644 index 0000000..d7cf7b4 --- /dev/null +++ b/setuptools-rust-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb6e6d41f01e63d042288e5c609684adf93426c10ea745ec324263f3fcbf27e9 +size 279024