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

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_without check

%define oname constantly
Name: python3-module-%oname
Version: 15.1.0
Release: alt6

Summary: Symbolic constants in Python

Url: http://github.com/twisted/constantly
License: X11
Group: Development/Python3
BuildArch: noarch

# https://github.com/twisted/constantly.git

Source: %name-%version.tar

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

%description
A library that provides symbolic constant support.
It includes collections and constants with text, numeric, and bit flag values.
Originally ``twisted.python.constants`` from the `Twisted <https://twistedmatrix.com/>`_ project.

%prep
%setup

# fix version info

sed -i \
-e "s/git_refnames\s*=\s*\"[^\"]*\"/git_refnames = \" \(tag: %version\)\"/" \
%oname/_version.py

%build
%python3_build

%install
%python3_install

%check
py.test3

%files
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-py*.egg-info

%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