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

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

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

%define oname node_semver

%def_with check

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

Summary: python version of node-semver

License: MIT
Group: Development/Python3
Url: https://pypi.org/project/node-semver/

# Source-url: https://github.com/podhmo/python-semver/archive/%version.tar.gz

Source: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3

%if_with check
%py3_buildrequires pytest >= 2.13.1
%endif

%description
Python version of [node-semver] (https://github.com/isaacs/node-semver).

%prep
%setup

%build
%python3_build_debug

%install
%python3_install
%python3_prune
# don't intersect with original semver
# https://github.com/podhmo/python-semver/issues/39
mv %buildroot%python3_sitelibdir/semver/ %buildroot%python3_sitelibdir/%oname/

%check
py.test3 -v .

%files
%doc README.rst
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info/
%python3_sitelibdir/%oname/

%changelog

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

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