1. Ralph Bean
  2. tw2.jit


Ralph Bean  committed a9c53e2

Licensing and 2.0.2 bump.

  • Participants
  • Parent commits 582a248
  • Branches default

Comments (0)

Files changed (2)

File python-tw2-jit.spec

View file
  • Ignore whitespace
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%global modname tw2.jit
+Name:           python-tw2-jit
+Version:        2.0.2
+Release:        1%{?dist}
+Summary:        Javascript Infovis Toolkit (JIT) for ToscaWidgets2
+Group:          Development/Languages
+License:        MIT
+URL:            http://toscawidgets.org
+Source0:        http://pypi.python.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+# For building
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-tw2-core
+BuildRequires:  python-tw2-jquery
+BuildRequires:  python-tw2-sqla
+BuildRequires:  python-sqlalchemy
+BuildRequires:  python-BeautifulSoup
+BuildRequires:  python-genshi
+BuildRequires:  python-mako
+# Runtime requirements
+Requires:  python-tw2-core
+Requires:  python-tw2-jquery
+Requires:  python-tw2-sqla
+Requires:  python-sqlalchemy
+Requires:  python-BeautifulSoup
+Requires:  python-genshi
+Requires:  python-mako
+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.
+The JavaScript InfoVis Toolkit (thejit) is a javascript library that
+provides web standard based tools to create interactive data visualizations
+for the Web.  It is pretty, interactive, and fast.
+This module, tw2.jit, provides toscawidgets2 (tw2) widgets that render
+thejit data visualizations.
+%setup -q -n %{modname}-%{version}
+%{__python} setup.py build
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build \
+    --install-data=%{_datadir} --root %{buildroot}
+rm -rf %{buildroot}
+%doc README.rst
+* Thu Apr 12 2012 Ralph Bean <rbean@redhat.com> - 2.0.2-1
+- Initial packaging for Fedora

File setup.py

View file
  • Ignore whitespace
-    version='2.0.1',
+    version='2.0.2',
     description='toscawidgets2 wrapper for the javascript infovis toolkit(jit)',
     author='Ralph Bean',
+    license='MIT',
     classifiers = [
-        'Development Status :: 4 - Beta',
+        'Development Status :: 5 - Production/Stable',
+        'License :: OSI Approved :: MIT License',
         'Environment :: Web Environment',
         'Environment :: Web Environment :: ToscaWidgets',
         'Topic :: Software Development :: Libraries :: Python Modules',