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

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

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

%define modname tablib

Name: python3-module-%modname
Version: 0.12.1
Release: alt2.1
Summary: Format agnostic tabular data library (XLS, JSON, YAML, CSV)

Group: Development/Python3
License: MIT
URL: http://github.com/kennethreitz/tablib
Source0: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-module-html5lib python3-module-pbr python3-module-yaml

%add_python3_self_prov_path %buildroot%python3_sitelibdir/%modname/packages/dbfpy3/utils.py

%description
Tablib is a format-agnostic tabular dataset library, written in Python.

Output formats supported:

- Excel (Sets + Books)
- JSON (Sets + Books)
- YAML (Sets + Books)
- HTML (Sets)
- TSV (Sets)
- CSV (Sets)

%add_python3_req_skip UserDict
%add_python3_req_skip odf

%prep
%setup
pushd tablib/packages/dbfpy/
sed -i '/print.*/ s/$/)/' dbfnew.py | sed 's/print/print(/' > dbfnew.py
popd

%build
%python3_build

%install
%python3_install

%files
%doc README.rst AUTHORS LICENSE
%python3_sitelibdir/*


%changelog

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

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