Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 6a6c386129
Fetching contributors…

Cannot retrieve contributors at this time

98 lines (73 sloc) 2.901 kB
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%global modname tw2.jqplugins.flot
Name: python-tw2-jqplugins-flot
Version: 2.0.0
Release: 1%{?dist}
Summary: jQuery flot (plotting) for ToscaWidgets2
Group: Development/Languages
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# For building, generally
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python-tw2-core
BuildRequires: python-tw2-excanvas
BuildRequires: python-tw2-jqplugins-ui
# Specifically for the test suite
BuildRequires: python-nose
BuildRequires: python-formencode
BuildRequires: python-BeautifulSoup
BuildRequires: python-strainer
BuildRequires: python-webtest
# Templating languages for the test suite
BuildRequires: python-mako
BuildRequires: python-genshi
# Runtime requirements
Requires: python-tw2-core
Requires: python-tw2-excanvas
Requires: python-tw2-jqplugins-ui
toscawidgets2 (tw2) aims to be a practical and useful widgets framework
that helps people build interactive websites with compelling features, faster
and easier. Widgets are re-usable web components that can include a template,
server-side code and JavaScripts/CSS resources. The library aims to be:
flexible, reliable, documented, performant, and as simple as possible.
flot is a pure Javascript plotting library for jQuery. It produces graphical
plots of arbitrary datasets on-the-fly client-side.
This module, tw2.jqplugins.flot, provides toscawidgets2 (tw2) access
to flot widgets.
%setup -q -n %{modname}-%{version}
%if %{?rhel}%{!?rhel:0} >= 6
# Make sure that epel/rhel picks up the correct version of webob
awk 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"WebOb>=1.0\"]; import pkg_resources"}1' >
# Remove all the fancy nosetests configuration for older python
rm setup.cfg
%{__python} build
# This is a hack to get the jqplugins to not stomp all over each others
# namespace declarations.
rm -f build/lib/tw2/jqplugins/*
rm -rf %{buildroot}
%{__python} install -O1 --skip-build \
--install-data=%{_datadir} --root %{buildroot}
PYTHONPATH=$(pwd) python test
rm -rf %{buildroot}
%doc README.rst LICENSE.txt
* Tue Apr 17 2012 Ralph Bean <> - 2.0.1-1
- Package new version
- Fixes test suite
* Thu Apr 12 2012 Ralph Bean <> - 2.0.0-1
- Initial packaging for Fedora
Jump to Line
Something went wrong with that request. Please try again.