[python-django-evolution] Rename django-evolution to python-django-evolution

Stephen Gallagher sgallagh at fedoraproject.org
Mon Jul 16 15:13:41 UTC 2012


commit 931b0b20dacba779cddd0cb08c954994965ee556
Author: Stephen Gallagher <sgallagh at redhat.com>
Date:   Mon Jul 16 11:13:05 2012 -0400

    Rename django-evolution to python-django-evolution

 .gitignore                                         |    1 +
 ...1-Disable-ez_setup-when-installing-by-RPM.patch |   13 ++
 python-django-evolution.spec                       |  135 ++++++++++++++++++++
 sources                                            |    1 +
 4 files changed, 150 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..83ecef9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django_evolution-0.6.7.tar.gz
diff --git a/FED01-Disable-ez_setup-when-installing-by-RPM.patch b/FED01-Disable-ez_setup-when-installing-by-RPM.patch
new file mode 100644
index 0000000..55a8d9b
--- /dev/null
+++ b/FED01-Disable-ez_setup-when-installing-by-RPM.patch
@@ -0,0 +1,13 @@
+--- a/setup.py	2010-04-18 22:13:31.000000000 -0400
++++ b/setup.py	2010-06-03 14:54:56.845136562 -0400
+@@ -2,8 +2,8 @@
+ #
+ # Setup script for Django Evolution
+ 
+-from ez_setup import use_setuptools
+-use_setuptools()
++#from ez_setup import use_setuptools
++#use_setuptools()
+ 
+ from setuptools import setup, find_packages
+ from setuptools.command.test import test
diff --git a/python-django-evolution.spec b/python-django-evolution.spec
new file mode 100644
index 0000000..98bd7c0
--- /dev/null
+++ b/python-django-evolution.spec
@@ -0,0 +1,135 @@
+Name:           python-django-evolution
+Version:        0.6.7
+Release:        4%{?dist}
+Summary:        Schema evolution for Django
+
+Group:          Development/Languages
+License:        BSD
+URL:            http://code.google.com/p/django-evolution/
+Source0:        http://pypi.python.org/packages/source/d/django_evolution/django_evolution-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-nose
+BuildRequires:  python-coverage
+BuildRequires:  pyflakes
+BuildRequires:  python-sqlite
+BuildRequires:  python-django >= 1.1.1
+Requires:       python-django >= 1.1.1
+
+Provides:       django-evolution = %{version}-%{release}
+Obsoletes:      django-evolution < 0.6.7-4
+
+# Patches
+Patch0001: FED01-Disable-ez_setup-when-installing-by-RPM.patch
+
+%description
+When you run ./manage.py syncdb, Django will look for any new models that
+have been defined, and add a database table to represent those new models.
+However, if you make a change to an existing model, ./manage.py syncdb will
+not make any changes to the database.
+
+This is where Django Evolution fits in. Django Evolution is an extension to
+Django that allows you to track changes in your models over time, and to
+update the database to reflect those changes.
+
+%prep
+%setup -q -n django_evolution-%{version}
+%patch0001 -p1
+
+rm -Rf *.egg-info
+
+%build
+%{__python} setup.py build
+
+%check
+%{__python} tests/runtests.py
+%{__python} tests/run-pyflakes.py
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+# Delete tests. They aren't useful in an installed system
+rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/tests
+
+
+%files
+%doc AUTHORS LICENSE README docs/
+%{python_sitelib}/django_evolution/*
+%{python_sitelib}/django_evolution-%{version}*.egg-info
+
+%changelog
+* Mon Jul 16 2012 Stephen Gallagher <sgallagh at redhat.com> - 0.6.7-4
+- Correct Provides: version
+
+* Fri Jul 13 2012 Stephen Gallagher <sgallagh at redhat.com> - 0.6.7-3
+- Fixes from package review
+
+* Wed Jul 11 2012 Stephen Gallagher <sgallagh at redhat.com> - 0.6.7-2
+- Rename package to python-django-evolution
+
+* Tue Apr 19 2012 Stephen Gallagher <sgallagh at redhat.com> - 0.6.7-1
+- New upstream release 0.6.7
+- Fixes issue where an app listed in INSTALLED_APPS that didn't contain models
+  would error out when installing a baseline evolution.
+
+* Tue Apr 03 2012 Stephen Gallagher <sgallagh at redhat.com> - 0.6.6-1
+- New upstream release 0.6.6
+- Generate more accurate sample evolutions
+- Generate PEP-8-compliant sample evolutions
+- Support Django 1.4's timezone awareness in the Version model
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Aug 22 2011 Stephen Gallagher <sgallagh at redhat.com> - 0.6.5-1
+- New upstream release 0.6.5
+- Fixed the version association for baseline evolutions for apps
+- Added a built-in evolution to remove the Message model in Django 1.4 SVN
+
+* Mon Jul 11 2011 Stephen Gallagher <sgallagh at redhat.com> - 0.6.4-2
+- Resolves: rhbz#720056 - file conflict python-paste-deploy x django-evolution
+- Remove tests from installed RPM
+
+* Thu Jun 23 2011 Stephen Gallagher <sgallagh at redhat.com> - 0.6.4-1
+- New upstream release 0.6.4
+- Unit test compatibility fixes for Django SVN
+- Installs a baseline evolution history for any new apps, preventing the
+- problem where an up-to-date set of models for a new app would be installed
+- on syncdb, followed by a failed evolution due to those changes having
+- already been made.
+
+* Tue May 10 2011 Stephen Gallagher <sgallagh at redhat.com> - 0.6.3-1
+- New upstream release 0.6.3
+- Fixes a long-standing PostgreSQL bug with adding non-null fields with
+- default values
+- Fixes the multi-database support when the databases are of different
+- backends
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Mon Nov 22 2010 Stephen Gallagher <sgallagh at redhat.com> - 0.6.2-1
+- Upgrade to django-evolution 0.6.2 to support ReviewBoard 1.5.1
+
+* Wed Nov 10 2010 Stephen Gallagher <sgallagh at redhat.com> - 0.6.1-1
+- Upgrade to latest upstream release
+
+* Thu Jul 29 2010 Stephen Gallagher <sgallagh at redhat.com> - 0.5-4
+- Rebuilding to fix python 2.7 issues
+
+* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.5-3
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+
+* Thu Jun 3 2010 Stephen Gallagher <sgallagh at redhat.com> - 0.5-2
+- Stable upstream release 0.5.0
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0-1.1.svnr164
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Mon Mar 02 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> 0.0-0.1.svnr164
+- Add Requires: Django
+
+* Wed Feb 18 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> 0.0-0.20080217svnr164
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..ff2a330 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+24b8373916f53f74d701b99a6cf41409  django_evolution-0.6.7.tar.gz


More information about the scm-commits mailing list