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

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

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

%define oname semver
%def_with check

Name: python3-module-%oname
Version: 2.13.0
Release: alt1

Summary: Python package to work with Semantic Versioning

Group: Development/Python3
License: BSD 3-Clause
Url: https://pypi.org/project/semver/

# Source-url: %__pypi_url %oname

Source: %name-%version.tar

BuildArch: noarch

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

%if_with check
%py3_buildrequires tox
%endif

Requires: python3 >= 3.6

%description
A Python module for semantic versioning. Simplifies comparing versions.

%prep
%setup

sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
   $(find ./ -name '*.py')

%build
%python3_build

%install
%python3_install
%python3_prune

%check
py.test3 -v .

%files
%doc *.rst LICENSE.txt
%_bindir/*
%python3_sitelibdir/*


%changelog

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

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