Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37731195
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-numpy-stl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and 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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin