/[packages]/cauldron/python-django-evolution/current/SPECS/python-django-evolution.spec
ViewVC logotype

Annotation of /cauldron/python-django-evolution/current/SPECS/python-django-evolution.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 728281 - (hide annotations) (download)
Sat Sep 27 12:27:59 2014 UTC (9 years, 6 months ago) by tv
File size: 1914 byte(s)
rebuild for missing pythoneggs deps
1 ahmad 42369
2     Name: python-django-evolution
3 philippem 661155 Version: 0.7.3
4 tv 728281 Release: %mkrel 3
5 ahmad 42369 Summary: Schema evolution for Django
6    
7     Group: Development/Python
8     License: BSD
9     URL: http://code.google.com/p/django-evolution/
10     # svn export -%{alphatag} http://django-evolution.googlecode.com/svn/trunk/ django-evolution-%{alphatag}
11     # tar zcf django-evolution-%{alphatag}.tar.gz django-evolution-%{alphatag}
12 philippem 334323 #Source0: %{realname}-%{alphatag}.tar.gz
13 philippem 650699 Source0: http://downloads.reviewboard.org/releases/django-evolution/0.7/django_evolution-%{version}.tar.gz
14 philippem 334323 # Patches from Fedora
15     Patch0001: FED01-Disable-ez_setup-when-installing-by-RPM.patch
16    
17    
18 ahmad 42369
19     BuildArch: noarch
20 philippem 472007 BuildRequires: pkgconfig(python)
21 philippem 174579 BuildRequires: python-setuptools
22 philippem 334323 BuildRequires: python-nose
23     BuildRequires: python-coverage
24     BuildRequires: pyflakes
25     BuildRequires: python-sqlite
26 philippem 334331 BuildRequires: python-django
27 ahmad 42369 Requires: python-django
28    
29     %description
30     When you run ./manage.py syncdb, Django will look for any new models that
31     have been defined, and add a database table to represent those new models.
32     However, if you make a change to an existing model, ./manage.py syncdb will
33     not make any changes to the database.
34    
35     This is where Django Evolution fits in. Django Evolution is an extension to
36     Django that allows you to track changes in your models over time, and to
37     update the database to reflect those changes.
38    
39     %prep
40 philippem 334329 %setup -q -n django_evolution-%{version}
41 philippem 334323 %patch0001 -p1
42 ahmad 42369
43     %build
44     %{__python} setup.py build
45    
46     %install
47     %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
48 philippem 334329 # Delete tests. They aren't useful in an installed system
49     rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/tests
50 ahmad 42369
51 philippem 334323 %check
52     %{__python} tests/runtests.py
53     %{__python} tests/run-pyflakes.py
54    
55 ahmad 42369 %files
56 philippem 650700 %doc AUTHORS LICENSE NEWS PKG-INFO docs/
57 philippem 334329 %{python_sitelib}/django_evolution/*
58     %{python_sitelib}/django_evolution-%{version}*.egg-info
59 ahmad 42369
60    

  ViewVC Help
Powered by ViewVC 1.1.30