Группа :: 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 можно просмотреть здесь
%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 можно просмотреть здесь