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

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

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname ezcf

Name: python3-module-%oname
Version: 0.2.1
Release: alt1

Summary: Import JSON/YAML like importing .py files
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/ezcf/
# https://github.com/laike9m/ezcf.git
BuildArch: noarch

Source: %name-%version.tar
Patch0: disable-failed-tests.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-yaml
BuildRequires: python3-module-coverage
BuildRequires: python3-module-configobj
BuildRequires: python3-module-xmltodict

%py3_provides %oname
%py3_requires yaml json


%description
ezcf stands for easy configuration, it allows you to import JSON/YAML
like importing .py files, which is very useful for reading conf files
with these formats.

%prep
%setup
%patch0 -p1

%build
export LC_ALL=en_US.UTF-8

%python3_build_debug

%install
export LC_ALL=en_US.UTF-8

%python3_install

%check
export LC_ALL=en_US.UTF-8

export PYTHONPATH=%buildroot%python3_sitelibdir
%__python3 setup.py test
pushd tests
%__python3 -m unittest discover -v
popd

%files
%doc *.rst
%python3_sitelibdir/*


%changelog

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

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