[python-mongoengine] New Version

Yohan Graterol yograterol at fedoraproject.org
Tue Aug 27 02:11:01 UTC 2013


commit 3764c0a3d1f9a0f7ef725ada826ea2853e984124
Author: Yohan Graterol <yohangraterol92 at gmail.com>
Date:   Mon Aug 26 21:40:18 2013 -0430

    New Version

 fix-requirements-pillow-instead-PIL.patch |   22 ++++++++++++++--------
 mongoengine-0.8.3.tar.gz                  |  Bin 190931 -> 0 bytes
 mongoengine-0.8.4.tar.gz                  |  Bin 0 -> 124353 bytes
 python-mongoengine.spec                   |   13 ++++++++-----
 4 files changed, 22 insertions(+), 13 deletions(-)
---
diff --git a/fix-requirements-pillow-instead-PIL.patch b/fix-requirements-pillow-instead-PIL.patch
index 131e6ee..4500505 100644
--- a/fix-requirements-pillow-instead-PIL.patch
+++ b/fix-requirements-pillow-instead-PIL.patch
@@ -1,11 +1,17 @@
---- mongoengine-0.7.9-orig/setup.py	2013-03-13 00:13:02.055747450 -0430
-+++ mongoengine-0.7.9/setup.py	2013-03-13 00:41:36.719846819 -0430
-@@ -58,7 +58,7 @@
-         extra_opts['packages'].append("tests")
-         extra_opts['package_data'] = {"tests": ["mongoengine.png"]}
+--- mongoengine-0.8.4/setup.py_old	2013-08-26 21:35:30.134064882 -0430
++++ mongoengine-0.8.4/setup.py	2013-08-23 09:21:22.000000000 -0430
+@@ -51,12 +51,12 @@
+ extra_opts = {"packages": find_packages(exclude=["tests", "tests.*"])}
+ if sys.version_info[0] == 3:
+     extra_opts['use_2to3'] = True
+-    extra_opts['tests_require'] = ['nose', 'coverage', 'blinker', 'django>=1.5.1']
++    extra_opts['tests_require'] = ['nose', 'coverage', 'blinker', 'jinja2==2.6', 'django>=1.5.1']
+     if "test" in sys.argv or "nosetests" in sys.argv:
+         extra_opts['packages'] = find_packages()
+         extra_opts['package_data'] = {"tests": ["fields/mongoengine.png", "fields/mongodb_leaf.png"]}
  else:
--    extra_opts['tests_require'] = ['nose', 'coverage', 'blinker', 'django>=1.3', 'PIL']
-+    extra_opts['tests_require'] = ['nose', 'coverage', 'blinker', 'django>=1.3', 'pillow']
-     extra_opts['packages'] = find_packages(exclude=('tests',))
+-    extra_opts['tests_require'] = ['nose', 'coverage', 'blinker', 'django>=1.4.2', 'pillow', 'python-dateutil']
++    extra_opts['tests_require'] = ['nose', 'coverage', 'blinker', 'django>=1.4.2', 'PIL', 'jinja2>=2.6', 'python-dateutil']
  
  setup(name='mongoengine',
+       version=VERSION,
diff --git a/mongoengine-0.8.4.tar.gz b/mongoengine-0.8.4.tar.gz
new file mode 100644
index 0000000..65800a6
Binary files /dev/null and b/mongoengine-0.8.4.tar.gz differ
diff --git a/python-mongoengine.spec b/python-mongoengine.spec
index 89d6c6a..635bd96 100644
--- a/python-mongoengine.spec
+++ b/python-mongoengine.spec
@@ -1,6 +1,6 @@
 %global pkgname mongoengine
 Name: python-mongoengine
-Version: 0.8.3
+Version: 0.8.4
 Release: 1%{?dist}
 Summary: A Python Document-Object Mapper for working with MongoDB
 
@@ -8,11 +8,12 @@ License: MIT
 URL:     http://pypi.python.org/pypi/mongoengine/
 Source0: http://pypi.python.org/packages/source/m/mongoengine/%{pkgname}-%{version}.tar.gz
 
-#Patch1: fix-requirements-pillow-instead-PIL.patch
+Patch1: fix-requirements-pillow-instead-PIL.patch
 BuildArch: noarch
 BuildRequires: python2-devel
 BuildRequires: python-setuptools
 BuildRequires: python-sphinx
+BuildRequires: python-dateutil
 
 %if 0%{?fedora} >= 18
 BuildRequires: python-pymongo
@@ -52,9 +53,9 @@ to the Django ORM.
 %prep
 %setup -q -n %{pkgname}-%{version}
 
-#%if 0%{?fedora} >= 19
-#%patch1 -p1
-#%endif
+%if 0%{?fedora} >= 19
+%patch1 -p1
+%endif
 
 rm -rf mongoengine.egg-info
 
@@ -88,6 +89,8 @@ rm -f test/*.pyc
 
 
 %changelog
+* Mon Aug 26 2013 Yohan Graterol <yohangraterol92 at gmail.com> - 0.8.4-1
+- New Version
 * Mon Aug 12 2013 Yohan Graterol <yohangraterol92 at gmail.com> - 0.8.3-1
 - New version
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.9-6


More information about the scm-commits mailing list