Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37745737
en ru br
ALT Linux repositórios
S:3.0.1-alt2

Group :: Development/Python3
RPM: python3-module-numpy-stl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname numpy-stl

Name: python3-module-%oname
Version: 3.0.1
Release: alt2

Summary: Library to make reading, writing and modifying both binary and ascii STL files easy
License: BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/numpy-stl/
BuildArch: noarch

# https://github.com/WoLpH/numpy-stl.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel

BuildRequires: python3-module-matplotlib
BuildRequires: python3-module-python_utils
BuildRequires: python3-module-pytest
BuildRequires: python3-module-pytest-cov
BuildRequires: python3-module-docutils
BuildRequires: python3-module-sphinx
BuildRequires: xvfb-run

%py3_provides stl


%description
Simple library to make working with STL files (and 3D objects in
general) fast and easy.

Due to all operations heavily relying on numpy this is one of the
fastest STL editing libraries for Python available.

%prep
%setup

sed -i 's|sphinx-build|sphinx-build-3|' docs/Makefile

%build
%pyproject_build

%install
%pyproject_install

%make -C docs html

%check
export PYTHONPATH=%buildroot%python3_sitelibdir
sed -i '/--flake8/d' pytest.ini
py.test-3 -v

%files
%doc *.rst docs/_build/html
%_bindir/*
%python3_sitelibdir/stl
%python3_sitelibdir/*.dist-info

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009