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

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

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and 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

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

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