rpms/django-evolution/devel FED01-Disable-ez_setup-when-installing-by-RPM.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 django-evolution.spec, 1.2, 1.3 sources, 1.2, 1.3
Stephen Gallagher
sgallagh at fedoraproject.org
Thu Jun 3 19:21:53 UTC 2010
- Previous message: rpms/lxlauncher/devel lxlauncher-0.2.1-fix-build-loop.patch, NONE, 1.1 lxlauncher.spec, 1.8, 1.9
- Next message: rpms/paraview/F-13 import.log, NONE, 1.1 paraview-3.8.0-demo.patch, NONE, 1.1 paraview-3.8.0-hdf5-1.8.patch, NONE, 1.1 paraview-3.8.0-include.patch, NONE, 1.1 paraview-3.8.0-installpath.patch, NONE, 1.1 .cvsignore, 1.11, 1.12 paraview.spec, 1.49, 1.50 sources, 1.11, 1.12 paraview-3.4.0-hdf5-1.8.2.patch, 1.1, NONE paraview-3.6.0-assistant-qt4.patch, 1.2, NONE paraview-3.6.0-install.patch, 1.1, NONE paraview-3.6.1-demo.patch, 1.1, NONE paraview-3.6.1-doc.patch, 1.1, NONE paraview-3.6.1-plugins.patch, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sgallagh
Update of /cvs/pkgs/rpms/django-evolution/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26877
Modified Files:
.cvsignore django-evolution.spec sources
Added Files:
FED01-Disable-ez_setup-when-installing-by-RPM.patch
Log Message:
* Thu Jun 3 2010 Stephen Gallagher <sgallagh at redhat.com> - 0.5-2
- Stable upstream release 0.5.0
FED01-Disable-ez_setup-when-installing-by-RPM.patch:
setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE FED01-Disable-ez_setup-when-installing-by-RPM.patch ---
--- 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
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/django-evolution/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore 20 Mar 2009 06:30:18 -0000 1.2
+++ .cvsignore 3 Jun 2010 19:21:52 -0000 1.3
@@ -1 +1 @@
-django-evolution-r164.tar.gz
+django_evolution-0.5.tar.gz
Index: django-evolution.spec
===================================================================
RCS file: /cvs/pkgs/rpms/django-evolution/devel/django-evolution.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- django-evolution.spec 24 Jul 2009 20:20:47 -0000 1.2
+++ django-evolution.spec 3 Jun 2010 19:21:53 -0000 1.3
@@ -1,24 +1,29 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%define alphatag r164
-
Name: django-evolution
-Version: 0.0
-Release: 1%{?dist}.1.svn%{alphatag}
+Version: 0.5
+Release: 2%{?dist}
Summary: Schema evolution for Django
Group: Development/Languages
License: BSD
URL: http://code.google.com/p/django-evolution/
-# svn export -%{alphatag} http://django-evolution.googlecode.com/svn/trunk/ django-evolution-%{alphatag}
-# tar zcf django-evolution-%{alphatag}.tar.gz django-evolution-%{alphatag}
-Source0: %{name}-%{alphatag}.tar.gz
+Source0: http://pypi.python.org/packages/source/d/django_evolution/django_evolution-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
+BuildRequires: python-setuptools
+BuildRequires: python-nose
+BuildRequires: python-coverage
+BuildRequires: pyflakes
+BuildRequires: python-sqlite
+BuildRequires: Django
Requires: Django
+# 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.
@@ -30,24 +35,38 @@ Django that allows you to track changes
update the database to reflect those changes.
%prep
-%setup -q -n %{name}-%{alphatag}
+%setup -q -n django_evolution-%{version}
+%patch0001 -p1
%build
%{__python} setup.py build
+%check
+%{__python} tests/runtests.py
+%{__python} tests/run-pyflakes.py
+
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+#Make tests executable
+chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/tests/runtests.py
+chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/tests/run-pyflakes.py
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README docs/
-%{python_sitelib}/*
+%{python_sitelib}/django_evolution/*
+%{python_sitelib}/django_evolution-%{version}*.egg-info
+%{python_sitelib}/tests/*
%changelog
+* 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
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/django-evolution/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources 20 Mar 2009 06:30:19 -0000 1.2
+++ sources 3 Jun 2010 19:21:53 -0000 1.3
@@ -1 +1 @@
-394703c4bf2a13a6f545cb71efe5097e django-evolution-r164.tar.gz
+603cd8dc3ac13963c1b3d5b18e7e3615 django_evolution-0.5.tar.gz
- Previous message: rpms/lxlauncher/devel lxlauncher-0.2.1-fix-build-loop.patch, NONE, 1.1 lxlauncher.spec, 1.8, 1.9
- Next message: rpms/paraview/F-13 import.log, NONE, 1.1 paraview-3.8.0-demo.patch, NONE, 1.1 paraview-3.8.0-hdf5-1.8.patch, NONE, 1.1 paraview-3.8.0-include.patch, NONE, 1.1 paraview-3.8.0-installpath.patch, NONE, 1.1 .cvsignore, 1.11, 1.12 paraview.spec, 1.49, 1.50 sources, 1.11, 1.12 paraview-3.4.0-hdf5-1.8.2.patch, 1.1, NONE paraview-3.6.0-assistant-qt4.patch, 1.2, NONE paraview-3.6.0-install.patch, 1.1, NONE paraview-3.6.1-demo.patch, 1.1, NONE paraview-3.6.1-doc.patch, 1.1, NONE paraview-3.6.1-plugins.patch, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list