commit 7be8fc1a11ade40c4e15f023803bd563d32c6a7a61039467e1ed72ea650dd9ed Author: Tomáš Chvátal Date: Thu Aug 27 19:48:26 2020 +0000 Accepting request 830067 from home:andythe_great Add license and documentation file. OBS-URL: https://build.opensuse.org/request/show/830067 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-geomdl?expand=0&rev=1 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/NURBS-Python-5.2.10.tar.gz b/NURBS-Python-5.2.10.tar.gz new file mode 100644 index 0000000..1cfda35 --- /dev/null +++ b/NURBS-Python-5.2.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2e5cf0b4735b1f5bb798723cffb9da11587dc2a283e2eeaccf6263d5b098637 +size 3443318 diff --git a/python-geomdl.changes b/python-geomdl.changes new file mode 100644 index 0000000..89c0458 --- /dev/null +++ b/python-geomdl.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 27 16:55:19 UTC 2020 - andy great + +- Add license and documentation file. + +------------------------------------------------------------------- +Thu Aug 27 07:17:21 UTC 2020 - andy great + +- Initial package release. diff --git a/python-geomdl.spec b/python-geomdl.spec new file mode 100644 index 0000000..2c299bc --- /dev/null +++ b/python-geomdl.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-geomdl +# +# Copyright (c) 2020 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/ +# + + +%define archivename NURBS-Python +%define packagename geomdl +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-geomdl +Version: 5.2.10 +Release: 0 +Summary: Object-oriented B-Spline and NURBS evaluation library +License: MIT +URL: https://github.com/orbingol/NURBS-Python +Source: https://github.com/orbingol/NURBS-Python/archive/v%{version}.tar.gz#/%{archivename}-%{version}.tar.gz +BuildRequires: %{python_module matplotlib >= 2.2.3} +BuildRequires: %{python_module numpy >= 1.15.4} +BuildRequires: %{python_module plotly} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-matplotlib >= 2.2.3 +Requires: python-numpy >= 1.15.4 +Requires: python-plotly +BuildArch: noarch +%python_subpackages + +%description +NURBS-Python (geomdl) is a pure Python, self-contained, object-oriented +B-Spline and NURBS spline library. + +%prep +%setup -q -n %{archivename}-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%license LICENSE +%doc README.rst +%{python_sitelib}/*egg-info +%{python_sitelib}/%{packagename} + +%changelog