]> git.pld-linux.org Git - packages/python3-flask.git/commitdiff
- up to 1.1.1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 17 Jan 2020 12:58:01 +0000 (13:58 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 17 Jan 2020 12:58:01 +0000 (13:58 +0100)
0001-Don-t-require-sphinxcontrib.log_cabinet-extension.patch
0002-remove-DocVersion-related.patch [deleted file]
0003-fix-issue-no-theme-named-flask-found.patch [deleted file]
0004-empty-CONTRIBUTING-rst.patch [deleted file]
python-flask.spec

index 3e0848c5b21ed0318a4cffc5ce085af91ac65204..795d6ce8b203c939cb0effcda46e4f3d94407a4b 100644 (file)
@@ -11,11 +11,12 @@ diff --git a/docs/conf.py b/docs/conf.py
 index 0417244..dd13886 100644
 --- a/docs/conf.py
 +++ b/docs/conf.py
 index 0417244..dd13886 100644
 --- a/docs/conf.py
 +++ b/docs/conf.py
-@@ -20,7 +20,6 @@ master_doc = 'index'
+@@ -14,7 +14,6 @@ master_doc = "index"
  extensions = [
  extensions = [
-     'sphinx.ext.autodoc',
-     'sphinx.ext.intersphinx',
--    'sphinxcontrib.log_cabinet',
+     "sphinx.ext.autodoc",
+     "sphinx.ext.intersphinx",
+-    "sphinxcontrib.log_cabinet",
+     "pallets_sphinx_themes",
+     "sphinx_issues",
  ]
  ]
- intersphinx_mapping = {
+
diff --git a/0002-remove-DocVersion-related.patch b/0002-remove-DocVersion-related.patch
deleted file mode 100644 (file)
index 39ab84c..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-From 067c772588f69f397eeff70019320506b47bb239 Mon Sep 17 00:00:00 2001
-From: chengkang <1412950785@qq.com>
-Date: Mon, 17 Sep 2018 21:05:53 +0800
-Subject: [PATCH] remove DocVersion related
-Origin: https://github.com/pallets/flask/commit/067c772588f69f397eeff70019320506b47bb239
-
----
- docs/conf.py | 7 +------
- 1 file changed, 1 insertion(+), 6 deletions(-)
-
---- a/docs/conf.py
-+++ b/docs/conf.py
-@@ -4,7 +4,7 @@
- import inspect
- import re
--from pallets_sphinx_themes import DocVersion, ProjectLink, get_version
-+from pallets_sphinx_themes import ProjectLink, get_version
- # Project --------------------------------------------------------------
-@@ -45,11 +45,6 @@
-         ProjectLink(
-             'Issue Tracker', 'https://github.com/pallets/flask/issues/'),
-     ],
--    'versions': [
--        DocVersion('dev', 'Development', 'unstable'),
--        DocVersion('1.0', 'Flask 1.0', 'stable'),
--        DocVersion('0.12', 'Flask 0.12'),
--    ],
-     'canonical_url': 'http://flask.pocoo.org/docs/{}/'.format(version),
-     'carbon_ads_args': 'zoneid=1673&serve=C6AILKT&placement=pocooorg',
- }
diff --git a/0003-fix-issue-no-theme-named-flask-found.patch b/0003-fix-issue-no-theme-named-flask-found.patch
deleted file mode 100644 (file)
index 59bc9c8..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-From 3e86fd25e9638898618cda8352402f4281bf809b Mon Sep 17 00:00:00 2001
-From: chengkang <1412950785@qq.com>
-Date: Mon, 17 Sep 2018 16:18:52 +0800
-Subject: [PATCH] fix issue: no theme named 'flask' found
-Origin: https://github.com/pallets/flask/commit/3e86fd25e9638898618cda8352402f4281bf809b
-
----
- docs/conf.py | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/docs/conf.py
-+++ b/docs/conf.py
-@@ -20,6 +20,7 @@
- extensions = [
-     'sphinx.ext.autodoc',
-     'sphinx.ext.intersphinx',
-+    'pallets_sphinx_themes',
- ]
- intersphinx_mapping = {
diff --git a/0004-empty-CONTRIBUTING-rst.patch b/0004-empty-CONTRIBUTING-rst.patch
deleted file mode 100644 (file)
index 2e2fc40..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-Author: Ondřej Nový <onovy@debian.org>
-Description: Add empty CONTRIBUTING.rst
-Forwarded: sort of, https://github.com/pallets/flask/pull/2913
-
---- /dev/null
-+++ b/CONTRIBUTING.rst
-@@ -0,0 +1 @@
-+
index 4037673f64273c30c63f1b4297f78c5a25304139..35a5b8b16c39998dfe1ae93517ac31e075cb77be 100644 (file)
@@ -9,17 +9,15 @@
 Summary:       A microframework based on Werkzeug, Jinja2 and good intentions
 Summary(pl.UTF-8):     Mikroszkielet oparty na Werkzeugu, Jinja2 i dobrych intencjach
 Name:          python-%{module}
 Summary:       A microframework based on Werkzeug, Jinja2 and good intentions
 Summary(pl.UTF-8):     Mikroszkielet oparty na Werkzeugu, Jinja2 i dobrych intencjach
 Name:          python-%{module}
-Version:       1.0.2
-Release:       3
+Version:       1.1.1
+Release:       1
 License:       BSD
 Group:         Development/Languages/Python
 #Source0Download: https://pypi.python.org/simple/Flask
 License:       BSD
 Group:         Development/Languages/Python
 #Source0Download: https://pypi.python.org/simple/Flask
-Source0:       https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
-# Source0-md5: 824f0f20aae1f44c9c7dc4054adb7969
+# Source0:     https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
+Source0:       https://pypi.debian.net/Flask/Flask-%{version}.tar.gz
+# Source0-md5: 0e3ed44ece1c489ed835d1b7047e349c
 Patch0:                0001-Don-t-require-sphinxcontrib.log_cabinet-extension.patch
 Patch0:                0001-Don-t-require-sphinxcontrib.log_cabinet-extension.patch
-Patch1:                0002-remove-DocVersion-related.patch
-Patch2:                0003-fix-issue-no-theme-named-flask-found.patch
-Patch3:                0004-empty-CONTRIBUTING-rst.patch
 URL:           http://flask.pocoo.org/
 %if %{with tests} && %(locale -a | grep -q '^C\.UTF-8$'; echo $?)
 BuildRequires: glibc-localedb-all
 URL:           http://flask.pocoo.org/
 %if %{with tests} && %(locale -a | grep -q '^C\.UTF-8$'; echo $?)
 BuildRequires: glibc-localedb-all
@@ -32,7 +30,7 @@ BuildRequires:        python-jinja2 >= 2.4
 BuildRequires: python-modules >= 1:2.6
 BuildRequires: python-pytest
 BuildRequires: python-setuptools
 BuildRequires: python-modules >= 1:2.6
 BuildRequires: python-pytest
 BuildRequires: python-setuptools
-BuildRequires: python-werkzeug >= 0.7
+BuildRequires: python-werkzeug >= 0.15
 %endif
 %if %{with python3}
 BuildRequires: python3-click >= 2.0
 %endif
 %if %{with python3}
 BuildRequires: python3-click >= 2.0
@@ -42,7 +40,7 @@ BuildRequires:        python3-jinja2 >= 2.4
 BuildRequires: python3-modules >= 1:3.3
 BuildRequires: python3-pytest
 BuildRequires: python3-setuptools
 BuildRequires: python3-modules >= 1:3.3
 BuildRequires: python3-pytest
 BuildRequires: python3-setuptools
-BuildRequires: python3-werkzeug >= 0.7
+BuildRequires: python3-werkzeug >= 0.15
 %endif
 %if %{with doc}
 BuildRequires: sphinx-pdg
 %endif
 %if %{with doc}
 BuildRequires: sphinx-pdg
@@ -89,21 +87,18 @@ Dokumentacja do pakietu Pythona Flask.
 %prep
 %setup -q -n Flask-%{version}
 %patch0 -p1
 %prep
 %setup -q -n Flask-%{version}
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
 
 %build
 %if %{with python2}
 %py_build
 
 
 %build
 %if %{with python2}
 %py_build
 
-%{?with_tests:%{__python} -m pytest tests}
+%{?with_tests:PYTHONPATH=$(pwd)/build-2/lib %{__python} -m pytest tests}
 %endif
 
 %if %{with python3}
 %py3_build
 
 %endif
 
 %if %{with python3}
 %py3_build
 
-%{?with_tests:LC_ALL=C.UTF-8 %{__python3} -m pytest tests}
+%{?with_tests:LC_ALL=C.UTF-8 PYTHONPATH=$(pwd)/build-3/lib %{__python3} -m pytest tests}
 %endif
 
 %if %{with doc}
 %endif
 
 %if %{with doc}
@@ -141,7 +136,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 %files
 %defattr(644,root,root,755)
 %if %{with python2}
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES.rst LICENSE README.rst
+%doc CHANGES.rst LICENSE.rst README.rst
 %attr(755,root,root) %{_bindir}/flask
 %attr(755,root,root) %{_bindir}/flask-2
 %{py_sitescriptdir}/flask
 %attr(755,root,root) %{_bindir}/flask
 %attr(755,root,root) %{_bindir}/flask-2
 %{py_sitescriptdir}/flask
@@ -154,7 +149,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES.rst LICENSE README.rst
+%doc CHANGES.rst LICENSE.rst README.rst
 %attr(755,root,root) %{_bindir}/flask-3
 %{py3_sitescriptdir}/flask
 %{py3_sitescriptdir}/Flask-%{version}-py*.egg-info
 %attr(755,root,root) %{_bindir}/flask-3
 %{py3_sitescriptdir}/flask
 %{py3_sitescriptdir}/Flask-%{version}-py*.egg-info
This page took 0.230362 seconds and 4 git commands to generate.