Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37779145
en ru br
ALT Linux repos
S:0.8.0-alt2

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

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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin