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

Group :: Development/Python3
RPM: python3-module-semver

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

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