1 OBS-URL: https://build.opensuse.org/request/show/437377 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycha?expand=0&rev=2
62 lines
1.9 KiB
RPMSpec
62 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package python-pycha
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2016 Dr. Axel Braun
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: python-pycha
|
|
Version: 0.7.0
|
|
Release: 0
|
|
Summary: A library for making charts with Python
|
|
License: LGPL-3.0+
|
|
Group: Development/Languages/Python
|
|
Url: http://bitbucket.org/lgs/pycha/
|
|
Source: https://pypi.io/packages/source/p/pycha/pycha-%{version}.tar.gz
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-setuptools
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Pycha is a Python package for drawing charts using the Cairo library.
|
|
It will not try to draw any possible chart on Earth, but draw the
|
|
most common ones nicely. Pycha is based on the Plotr which is based on
|
|
PlotKit, both of which are written in JavaScript and are for client
|
|
web programming. Pycha was developed for the server side.
|
|
|
|
%prep
|
|
%setup -q -n pycha-%{version}
|
|
|
|
%build
|
|
python setup.py build
|
|
|
|
%install
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
%fdupes -s %{buildroot}
|
|
|
|
%check
|
|
#python setup.py test
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING README.txt CHANGES.txt AUTHORS
|
|
%{python_sitelib}/*
|
|
%{_bindir}/chavier
|
|
|
|
%changelog
|