[python-flask-mongoengine] Updated to 0.7
Matej Stuchlik
mstuchli at fedoraproject.org
Tue Aug 13 11:06:08 UTC 2013
commit 4e53ebcb929b7948bfdf279f4f524324a928bbed
Author: Matej Stuchlik <mstuchli at redhat.com>
Date: Tue Aug 13 13:05:56 2013 +0200
Updated to 0.7
.gitignore | 1 +
python-flask-mongoengine-0.6-tests-removal.patch | 9 +++++----
python-flask-mongoengine.spec | 18 +++++++++++-------
sources | 2 +-
4 files changed, 18 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9ff6369..5f70e69 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/flask-mongoengine-0.6.tar.gz
+/flask-mongoengine-0.7.0.tar.gz
diff --git a/python-flask-mongoengine-0.6-tests-removal.patch b/python-flask-mongoengine-0.6-tests-removal.patch
index 0fefabb..20b9a32 100644
--- a/python-flask-mongoengine-0.6-tests-removal.patch
+++ b/python-flask-mongoengine-0.6-tests-removal.patch
@@ -1,10 +1,11 @@
---- setup.py.orig 2013-04-04 07:57:10.751973642 +0200
-+++ setup.py 2013-04-04 07:57:23.971010737 +0200
-@@ -40,7 +40,6 @@
+diff -up flask-mongoengine-0.7.0/setup.py.orig flask-mongoengine-0.7.0/setup.py
+--- flask-mongoengine-0.7.0/setup.py.orig 2013-08-13 13:02:04.923393590 +0200
++++ flask-mongoengine-0.7.0/setup.py 2013-08-13 13:02:08.683414232 +0200
+@@ -40,7 +40,6 @@ setup(
packages=['flask_mongoengine',
'flask_mongoengine.wtf'],
include_package_data=True,
-- setup_requires=['nose', 'coverage'],
+- tests_require=['nose', 'coverage'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
diff --git a/python-flask-mongoengine.spec b/python-flask-mongoengine.spec
index e672c8f..f9dfd47 100644
--- a/python-flask-mongoengine.spec
+++ b/python-flask-mongoengine.spec
@@ -1,13 +1,14 @@
%global srcname flask-mongoengine
+%global ext_version 0.7.0
Name: python-flask-mongoengine
-Version: 0.6
-Release: 3%{?dist}
+Version: 0.7
+Release: 1%{?dist}
Summary: Flask extension that provides integration with MongoEngine
License: BSD
URL: https://flask-mongoengine.readthedocs.org/
-Source0: https://pypi.python.org/packages/source/f/%{srcname}/%{srcname}-%{version}.tar.gz
+Source0: https://pypi.python.org/packages/source/f/%{srcname}/%{srcname}-%{version}.0.tar.gz
#Removes nose and coverage dependencies from setup.py
Patch0: python-flask-mongoengine-0.6-tests-removal.patch
@@ -21,12 +22,12 @@ connection management for your app. You can also use WTForms as model forms
for your models.
%prep
-%setup -q -n %{srcname}-%{version}
-%patch0
+%setup -q -n %{srcname}-%{ext_version}
+%patch0 -p1
%build
%{__python} setup.py build
-cd %{_builddir}/%{srcname}-%{version}/docs/
+cd %{_builddir}/%{srcname}-%{ext_version}/docs/
make man
#Tests passed on my machine, but I did not include them because they
@@ -35,7 +36,7 @@ make man
%install
%{__python} setup.py install --skip-build -O1 --root %{buildroot}
mkdir -p %{buildroot}%{_mandir}/man1/
-cp %{_builddir}/%{srcname}-%{version}/docs/_build/man/%{srcname}.1 %{buildroot}%{_mandir}/man1/
+cp %{_builddir}/%{srcname}-%{ext_version}/docs/_build/man/%{srcname}.1 %{buildroot}%{_mandir}/man1/
%files
%doc LICENSE README.rst
@@ -45,6 +46,9 @@ cp %{_builddir}/%{srcname}-%{version}/docs/_build/man/%{srcname}.1 %{buildroot}%
%changelog
+* Tue Aug 13 2013 Matej Stuchlik <mstuchli at redhat.com> - 0.7-1
+- Updated to 0.7
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 345ebf5..7a93a85 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-67f7d3e7032fb5c681fda894e018dabd flask-mongoengine-0.6.tar.gz
+9219a08bb4ca7503904bb941084fee52 flask-mongoengine-0.7.0.tar.gz
More information about the scm-commits
mailing list