[packages/python-django] Up to 1.8.5; rel 1
mmazur
mmazur at pld-linux.org
Tue Oct 13 12:54:46 CEST 2015
commit 39cf8c3662462c432b0ee0471afed98132ae08ca
Author: Mariusz Mazur <mmazur at axeos.com>
Date: Tue Oct 13 10:54:36 2015 +0000
Up to 1.8.5; rel 1
python-django-pyc.patch | 13 -------------
python-django.spec | 14 ++++++--------
2 files changed, 6 insertions(+), 21 deletions(-)
---
diff --git a/python-django.spec b/python-django.spec
index 20e15b6..f987253 100644
--- a/python-django.spec
+++ b/python-django.spec
@@ -6,16 +6,15 @@
Summary: The web framework for perfectionists with deadlines
Summary(pl.UTF-8): Szkielet WWW dla perfekcjonistów z ograniczeniami czasowymi
Name: python-%{module}
-Version: 1.6.2
-Release: 4
+Version: 1.8.5
+Release: 1
License: BSD
Group: Libraries/Python
-Source0: http://www.djangoproject.com/m/releases/1.6/Django-%{version}.tar.gz
-# Source0-md5: 45d974c623b3bfbf9976f3d808fe1ee9
-Patch0: %{name}-pyc.patch
+Source0: http://www.djangoproject.com/m/releases/1.8/Django-%{version}.tar.gz
+# Source0-md5: 02426a28fb356e52006e053503d66490
URL: http://www.djangoproject.com/
%if %{with python2}
-BuildRequires: python-devel >= 1:2.6
+BuildRequires: python-devel >= 1:2.7
BuildRequires: python-setuptools
%endif
%if %{with python3}
@@ -47,7 +46,7 @@ Group: Libraries/Python
%pyrequires_eq python3
Requires: python3-modules
Suggests: python3-devel-tools
-#Suggests: python3-MySQLdb # not available yet
+Suggests: python3-MySQLdb
Suggests: python3-psycopg2
%description -n python3-%{module}
@@ -74,7 +73,6 @@ Dokumentacja do Django.
%prep
%setup -q -n Django-%{version}
-%patch0 -p1
%build
%{__python} setup.py build
diff --git a/python-django-pyc.patch b/python-django-pyc.patch
deleted file mode 100644
index 8e5e33e..0000000
--- a/python-django-pyc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- Django-1.0/django/core/management/__init__.py~ 2008-09-09 16:04:14.713687966 +0200
-+++ Django-1.0/django/core/management/__init__.py 2008-09-09 16:04:18.667023812 +0200
-@@ -22,8 +22,8 @@
- """
- command_dir = os.path.join(management_dir, 'commands')
- try:
-- return [f[:-3] for f in os.listdir(command_dir)
-- if not f.startswith('_') and f.endswith('.py')]
-+ return [f[:f.rfind('.')] for f in os.listdir(command_dir)
-+ if not f.startswith('_') and (f.endswith('.py') or f.endswith('.pyc'))]
- except OSError:
- return []
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-django.git/commitdiff/39cf8c3662462c432b0ee0471afed98132ae08ca
More information about the pld-cvs-commit
mailing list