rpms/python-storm/F-11 README-Django.Fedora, NONE, 1.1 .cvsignore, 1.3, 1.4 python-storm.spec, 1.6, 1.7 sources, 1.3, 1.4

Michel Alexandre Salim salimma at fedoraproject.org
Fri Aug 28 16:10:54 UTC 2009


Author: salimma

Update of /cvs/pkgs/rpms/python-storm/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15982/F-11

Modified Files:
	.cvsignore python-storm.spec sources 
Added Files:
	README-Django.Fedora 
Log Message:
* Fri Aug 28 2009 Michel Salim <salimma at fedoraproject.org> - 0.15-1
- Update to 0.15
- Deprecate %{name}-sqlite, now part of main package
- Separate -django and -zope subpackages



--- NEW FILE README-Django.Fedora ---
Storm as an alternate Django ORM
================================
When using storm as an alternate Django ORM, please note that to use a
particular database backend, you must have both Django's module for
that backend, as well as Storm's module (e.g. for PostgreSQL,
python-storm-postgresql).

Django packaging is currently monolithic, so in effect this means you
need to install the appropriate Storm backend, unless you stick with
SQLite, which is bundled by default.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-storm/F-11/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore	19 Feb 2009 00:54:11 -0000	1.3
+++ .cvsignore	28 Aug 2009 16:10:54 -0000	1.4
@@ -1 +1 @@
-storm-0.14.tar.bz2
+storm-0.15.tar.bz2


Index: python-storm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-storm/F-11/python-storm.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- python-storm.spec	26 Feb 2009 23:36:40 -0000	1.6
+++ python-storm.spec	28 Aug 2009 16:10:54 -0000	1.7
@@ -1,64 +1,33 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:           python-storm
-Version:        0.14
-Release:        2%{?dist}
+Version:        0.15
+Release:        1%{?dist}
 Summary:        An object-relational mapper (ORM) for Python
 
 Group:          Development/Languages
 License:        LGPLv2+
 URL:            https://storm.canonical.com/
 Source0:        https://launchpad.net/storm/trunk/%{version}/+download/storm-%{version}.tar.bz2
+Source1:        README-Django.Fedora
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # C extension now compiled by default
 #BuildArch:      noarch
 BuildRequires:  python-devel python-setuptools
-# needed for unit tests
-BuildRequires:  python-sqlite2
-Requires:       python-storm-backend = %{version}-%{release}
 
-%description
-Storm is an object-relational mapper (ORM) for Python developed at
-Canonical. The project has been in development for more than a year
-for use in Canonical projects such as [WWW] Launchpad, and has
-recently been released as an open-source product.
-
-Highlights:
-
- * Clean and lightweight API offers a short learning curve and
-   long-term maintainability.
- * Storm is developed in a test-driven manner. An untested line of
-   code is considered a bug.
- * Storm needs no special class constructors, nor imperative base
-   classes.
- * Storm is well designed (different classes have very clear
-   boundaries, with small and clean public APIs).
- * Designed from day one to work both with thin relational databases,
-   such as SQLite, and big iron systems like PostgreSQL and MySQL.
- * Storm is easy to debug, since its code is written with a KISS
-   principle, and thus is easy to understand.
- * Designed from day one to work both at the low end, with trivial
-   small databases, and the high end, with applications accessing
-   billion row tables and committing to multiple database backends.
- * It's very easy to write and support backends for Storm (current
-   backends have around 100 lines of code).
+Provides:       %{name}-sqlite = %{version}-%{release}
+Obsoletes:      %{name}-sqlite  < %{version}-%{release}
 
-%package    sqlite
-Summary:    SQLite backend for %{name}
-Group:      Development/Libraries
-Provides:   %{name}-backend = %{version}-%{release}
-Requires:   %{name} = %{version}-%{release}
-Requires:   python-sqlite2
+%description
+Storm is an object-relational mapper (ORM) for Python. It offers a clean and
+lightweight API offers a short learning curve and long-term maintainability and
+it is easy to written backends for it.
 
-%description sqlite
-The %{name}-sqlite package contains the SQLite database backend for
-%{name}.
 
 %package    mysql
 Summary:    MySQL backend for %{name}
 Group:      Development/Libraries
-Provides:   %{name}-backend = %{version}-%{release}
 Requires:   %{name} = %{version}-%{release}
 Requires:   MySQL-python
 
@@ -69,7 +38,6 @@ The %{name}-mysql package contains the M
 %package    postgresql
 Summary:    PostgreSQL backend for %{name}
 Group:      Development/Libraries
-Provides:   %{name}-backend = %{version}-%{release}
 Requires:   %{name} = %{version}-%{release}
 Requires:   python-psycopg2
 
@@ -78,6 +46,27 @@ The %{name}-postgresql package contains 
 backend for %{name}.
 
 
+%package    django
+Summary:    Support for using %{name} as Django ORM
+Group:      Development/Libraries
+Requires:   Django
+Requires:   %{name}-zope = %{version}-%{release}
+
+%description django
+The %{name}-django package contains an alternative ORM implementation
+for Django.
+
+
+%package    zope
+Summary:    Zope integration for %{name}
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires:   python-zope-interface python-transaction
+
+%description zope
+The %{name}-zope package provides Zope integration for %{name}.
+
+
 %prep
 %setup -q -n storm-%{version}
 
@@ -107,15 +96,21 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc LICENSE NEWS README TODO tests/tutorial.txt
+%exclude %{python_sitearch}/storm/django
+%exclude %{python_sitearch}/storm/zope
 %exclude %{python_sitearch}/storm/cextensions.c
 %exclude %{python_sitearch}/storm/databases/mysql.*
-%exclude %{python_sitearch}/storm/databases/sqlite.*
 %exclude %{python_sitearch}/storm/databases/postgres.*
 %{python_sitearch}/storm*
 
-%files sqlite
+%files django
+%defattr(-,root,root,-)
+%doc README-Django.Fedora
+%{python_sitearch}/storm/django
+
+%files zope
 %defattr(-,root,root,-)
-%{python_sitearch}/storm/databases/sqlite.*
+%{python_sitearch}/storm/zope
 
 %files mysql
 %defattr(-,root,root,-)
@@ -126,6 +121,11 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitearch}/storm/databases/postgres.*
 
 %changelog
+* Fri Aug 28 2009 Michel Salim <salimma at fedoraproject.org> - 0.15-1
+- Update to 0.15
+- Deprecate %{name}-sqlite, now part of main package
+- Separate -django and -zope subpackages
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.14-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-storm/F-11/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	19 Feb 2009 00:54:11 -0000	1.3
+++ sources	28 Aug 2009 16:10:54 -0000	1.4
@@ -1 +1 @@
-b5329b58229640791895e6b5a37845ab  storm-0.14.tar.bz2
+65ef57156e129ab09b2237dad76cdffe  storm-0.15.tar.bz2




More information about the fedora-extras-commits mailing list