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

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

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname entrypoints

%def_with check

Name: python3-module-%oname
Version: 0.3
Release: alt3
Summary: Discover and load entry points from installed packages
License: MIT
Group: Development/Python3
BuildArch: noarch
Url: https://pypi.python.org/pypi/entrypoints

# https://github.com/takluyver/entrypoints.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3(flit)

%if_with check
BuildRequires: python3(pytest)
BuildRequires: python3(tox)
%endif

%description
Discover and load entry points from installed packages.

%prep
%setup

%build
%python3_build_debug

%install
%python3_install

%check
cat > tox.ini <<EOF
[tox]
envlist = py3
usedevelop = True

[testenv]
commands =
   {envpython} -m pytest {posargs:-vra}
EOF
export PIP_NO_BUILD_ISOLATION=no
export PIP_NO_INDEX=YES
export TOXENV=py3
tox.py3 --sitepackages -vvr -s false

%files
%python3_sitelibdir/entrypoints.py
%python3_sitelibdir/__pycache__/entrypoints.cpython-*
%python3_sitelibdir/entrypoints-%version-py%_python3_version.egg-info/

%changelog

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

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