[python-turbojson13] - New turbojson13 forward compat module for EPEL6 based on the current python-turbojson package

Toshio くらとみ toshio at fedoraproject.org
Thu Jan 20 21:56:54 UTC 2011


commit 969056e2901b3330853da7e04152279d9b699b55
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Thu Jan 20 13:56:42 2011 -0800

    - New turbojson13 forward compat module for EPEL6 based on the current
      python-turbojson package

 .gitignore                               |    1 +
 python-turbojson-peak-rules-compat.patch |   13 +++
 python-turbojson1.3.spec                 |  123 ++++++++++++++++++++++++++++++
 sources                                  |    1 +
 4 files changed, 138 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e063dc3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/TurboJson-1.3.tar.gz
diff --git a/python-turbojson-peak-rules-compat.patch b/python-turbojson-peak-rules-compat.patch
new file mode 100644
index 0000000..74f71ab
--- /dev/null
+++ b/python-turbojson-peak-rules-compat.patch
@@ -0,0 +1,13 @@
+Index: TurboJson-1.3/setup.py
+===================================================================
+--- TurboJson-1.3.orig/setup.py
++++ TurboJson-1.3/setup.py
+@@ -18,7 +18,7 @@ setup(
+         'turbogears'
+     ],
+     install_requires = [
+-        'PEAK-Rules >= 0.5a1.dev-r2600',
++        'PEAK-Rules >= 0.5a1.dev-r2582',
+         'simplejson >= 1.9.1'
+     ],
+     tests_require = [
diff --git a/python-turbojson1.3.spec b/python-turbojson1.3.spec
new file mode 100644
index 0000000..d64a299
--- /dev/null
+++ b/python-turbojson1.3.spec
@@ -0,0 +1,123 @@
+%if !(0%{?fedora} > 12 || 0%{?rhel} >= 6)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
+
+%global module turbojson
+
+Name:           python-turbojson13
+Version:        1.3
+Release:        2%{?dist}
+Summary:        Python template plugin that supports json
+
+Group:          Development/Languages
+License:        MIT
+URL:            http://cheeseshop.python.org/pypi/TurboJson
+Source0:        http://pypi.python.org/packages/source/T/TurboJson/TurboJson-%{version}.tar.gz
+# Our peak-rules package has patches that bring it up to the required version
+# -- need to patch turbojson so that the metadata there knows this
+Patch0:         python-turbojson-peak-rules-compat.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-peak-rules >= 0.5a1.dev-8.2582
+BuildRequires: python-simplejson >= 1.9.1
+BuildRequires: python-nose python-sqlalchemy python-sqlobject
+
+Requires:      python-peak-rules >= 0.5a1.dev-8.2582
+Requires:      python-simplejson >= 1.9.1
+
+%description
+This package provides a template engine plugin, allowing you
+to easily use Json with TurboGears, Buffet or other systems
+that support python.templating.engines.
+
+This package contains version 1.3 of turbjson.
+
+%prep
+%setup -q -n TurboJson-%{version}
+%patch0 -p1 -b .deps
+
+%build
+%{__python} setup.py bdist_egg
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{python_sitelib}
+touch %{buildroot}%{python_sitelib}/easy-install.pth
+easy_install -m --prefix %{buildroot}%{_usr} dist/*.egg
+find %{buildroot}%{python_sitelib} -type f -exec chmod a-x \{\} \;
+%{__rm} %{buildroot}%{python_sitelib}/easy-install.pth
+
+%check
+python setup.py test
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc README.txt
+%{python_sitelib}/*.egg/
+
+
+%changelog
+* Mon Jan 17 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 1.3-2
+- New turbojson13 forward compat module for EPEL6 based on the current
+  python-turbojson package
+
+* Sun Dec 26 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 1.3-2
+- Update spec for minor guidelines changes
+
+* Sun Sep 19 2010 Luke Macken <lmacken at redhat.com> - 1.3-1
+- Update to 1.3
+- Remove turbojson-result-row-proxy.patch, which is present in this release
+- Drop our prioritized_methods requirement
+- Require a more recent version of PEAK-Rules
+- Pull in SQLAlchemy & SQLObject as BuildRequires to run the test suite
+
+* Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 1.2.1-10
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+
+* Mon Feb 8 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 1.2.1-9
+- Add patch to fix SA RowProxy and ResultProxy
+- Update BR for setuptools and defining python_sitelib
+- Trim changelog
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.1-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Mar 3 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 1.2.1-7
+- And nose
+
+* Tue Mar 3 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 1.2.1-6
+- Add BR on simplejson so testsuite will run.
+
+* Tue Mar 3 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 1.2.1-5
+- Enable test suite.
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 1.2.1-3
+- Rebuild for Python 2.6
+
+* Wed Sep 17 2008 Luke Macken <lmacken at redhat.com> 1.2.1-2
+- Require python-prioritized-methods > 0.2
+
+* Tue Sep 16 2008 Luke Macken <lmacken at redhat.com> 1.2.1-1
+- Latest release of the 1.2.x series
+- Require python-peak-rules (#459157, #459117)
+
+* Sun Jun 22 2008 Luke Macken <lmacken at redhat.com> 1.2-1
+- Latest upstream release, intended to be used with the upcoming TurboGears 1.1 version.
+- Remove python-turbojson-SAfix-r3749.patch
+
+* Sat Feb 2 2008 Toshio Kuratomi <tkuratom at redhat.com> 1.1.2-3
+- ...and remember to include the patch in cvs.
+
+* Sat Feb 2 2008 Toshio Kuratomi <tkuratom at redhat.com> 1.1.2-2
+- Backport fix for 1.1.2's SQLAlchemy breakage.
diff --git a/sources b/sources
index e69de29..e56ec05 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a871282bec715d5b22c489eb952cec47  TurboJson-1.3.tar.gz


More information about the scm-commits mailing list