Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
python-numpy-stl
python-numpy-stl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-numpy-stl.spec of Package python-numpy-stl
# # spec file for package python-numpy-stl # # Copyright (c) 2022 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 http://bugs.opensuse.org/ # %define skip_python2 1 Name: python-numpy-stl Version: 2.17.1 Release: 0 Summary: Simple library for working with STL files License: BSD-3-Clause-Clear Group: Development/Languages/Python Url: https://github.com/WoLpH/numpy-stl/ Source: https://github.com/WoLpH/numpy-stl/releases/download/v%{version}/numpy-stl-%{version}.tar.gz BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module python-utils} BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-numpy Requires: python-python-utils Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch %python_subpackages %description Simple library to make working with STL files (and 3D objects in general) fast and easy. %prep %setup -q -n numpy-stl-%version %build %python_build %install %python_install %python_clone -a %{buildroot}%{_bindir}/stl %python_clone -a %{buildroot}%{_bindir}/stl2ascii %python_clone -a %{buildroot}%{_bindir}/stl2bin %{python_expand %fdupes %{buildroot}%{$python_sitelib}} %post %{python_install_alternative stl stl2ascii stl2bin} %postun %python_uninstall_alternative stl %check %pytest %files %{python_files} %license LICENSE %doc README.rst %python_alternative %{_bindir}/stl %python_alternative %{_bindir}/stl2ascii %python_alternative %{_bindir}/stl2bin %{python_sitelib}/*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor