Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37862197
en ru br
ALT Linux repos
S:3.1.5-alt1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname xlsxwriter

Name:    python3-module-%oname
Version: 3.1.3
Release: alt1
Summary: A Python module for creating Excel XLSX files
License: BSD
Group:   Development/Python3
Url:     https://github.com/jmcnamara/XlsxWriter
Packager: Python Development Team <python at packages.altlinux.org>

Source: %oname-%version.tar
#VCS: https://github.com/jmcnamara/XlsxWriter
BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: time
# Provides py.test3 for us without the minor version:
BuildRequires: python3-module-pytest >= 3.0.5-alt2

Provides: python-module-%oname = %EVR
Obsoletes: python-module-%oname < %EVR

%description
XlsxWriter is a Python module for writing files in the Excel 2007+ XLSX
file format.

XlsxWriter can be used to write text, numbers, formulas and hyperlinks
to multiple worksheets and it supports features such as formatting and
many more.

%prep
%setup -q -n %oname-%version
# Set correct interpreter for tests
subst "s|'python'|'%__python3'|" setup.py

%build
%python3_build_debug

%install
%python3_install
pushd %buildroot%_bindir
for i in *; do
      cp "$i" "${i}3"
done
popd

%check
%__python3 setup.py test
py.test3 -vv

%files
%doc Changes *.md *.rst examples dev/performance
%_bindir/*.py*
%python3_sitelibdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin