14
0

Accepting request 208359 from devel:languages:python

indicate patch removal (forwarded request 208358 from posophe)

OBS-URL: https://build.opensuse.org/request/show/208359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyramid?expand=0&rev=7
This commit is contained in:
Stephan Kulow
2014-02-02 21:21:37 +00:00
committed by Git OBS Bridge
5 changed files with 115 additions and 58 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96bfeb61a132f5a478f319f0e871e62beda17b23a0c43a1f9a81d43c89121b96
size 2357527

3
pyramid-1.4.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:243ace363cc8ff364b914fa884c4e4a5858d3c2b1209160a58c286bc7520c2f8
size 2432314

View File

@@ -1,48 +0,0 @@
diff -ru a/docs/conf.py b/docs/conf.py
--- a/docs/conf.py 2012-01-20 16:52:28.000000000 +0100
+++ b/docs/conf.py 2012-02-01 10:40:34.727766925 +0100
@@ -127,43 +127,6 @@
# Options for HTML output
# -----------------------
-# Add and use Pylons theme
-if 'sphinx-build' in ' '.join(sys.argv): # protect against dumb importers
- from subprocess import call, Popen, PIPE
-
- p = Popen('which git', shell=True, stdout=PIPE)
- git = p.stdout.read().strip()
- cwd = os.getcwd()
- _themes = os.path.join(cwd, '_themes')
-
- if not os.path.isdir(_themes):
- call([git, 'clone', 'git://github.com/Pylons/pylons_sphinx_theme.git',
- '_themes'])
- else:
- os.chdir(_themes)
- call([git, 'checkout', 'master'])
- call([git, 'pull'])
- os.chdir(cwd)
-
- sys.path.append(os.path.abspath('_themes'))
-
- parent = os.path.dirname(os.path.dirname(__file__))
- sys.path.append(os.path.abspath(parent))
- wd = os.getcwd()
- os.chdir(parent)
- os.system('%s setup.py test -q' % sys.executable)
- os.chdir(wd)
-
- for item in os.listdir(parent):
- if item.endswith('.egg'):
- sys.path.append(os.path.join(parent, item))
-
-html_theme_path = ['_themes']
-html_theme = 'pyramid'
-html_theme_options = dict(
- github_url='https://github.com/Pylons/pyramid',
-# in_progress='true'
- )
# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
# given in html_static_path.
Only in b/docs: .conf.py.swp

View File

@@ -1,3 +1,63 @@
-------------------------------------------------------------------
Sun Nov 24 21:13:45 UTC 2013 - p.drouand@gmail.com
- Update to version 1.4.5
+ The ``alchemy`` scaffold would break when the database was MySQL during
tables creation. See https://github.com/Pylons/pyramid/pull/1049. Backport
from master.
+ It was not possible to use ``pyramid.httpexceptions.HTTPException`` as
the ``context`` of an exception view as very general catchall for
http-related exceptions when you wanted that exception view to override the
default exception view. See https://github.com/Pylons/pyramid/issues/985.
Backport from master.
+ When the ``pyramid.reload_templates`` setting was true, and a Chameleon
template was reloaded, and the renderer specification named a macro
(e.g. ``foo#macroname.pt``), renderings of the template after the template
was reloaded due to a file change would produce the entire template body
instead of just a rendering of the macro. See
https://github.com/Pylons/pyramid/issues/1013. Backport from master.
+ Fixed a Mako renderer bug returning a tuple with a previous defname value
in some circumstances. See https://github.com/Pylons/pyramid/issues/1037 for
more information. Backport from master.
+ Make ``pserve.cherrypy_server_runner`` Python 3 compatible. See
https://github.com/Pylons/pyramid/issues/718. Backport from master.
- Changes from version 1.4.4
+ Fix an obscure problem when combining a virtual root with a route with a
``*traverse`` in its pattern. Now the traversal path generated in
such a configuration will be correct, instead of an element missing
a leading slash.
- Remove pyramid-dont-load-external-sphinx-theme.patch; merged on upstream
release
-------------------------------------------------------------------
Thu Oct 24 11:12:22 UTC 2013 - speilicke@suse.com
- Require python-setuptools instead of distribute (upstreams merged)
-------------------------------------------------------------------
Mon Aug 5 19:48:46 UTC 2013 - hpj@urpla.net
- remove pylons_theme_support.py module, as it is provided by
python-pylons_sphinx_theme now
-------------------------------------------------------------------
Wed Jul 31 13:46:28 UTC 2013 - hpj@urpla.net
- add python-unittest2 and python-ordereddict deps for 11.1
-------------------------------------------------------------------
Tue Jul 30 22:03:34 UTC 2013 - hpj@urpla.net
- Update to version 1.4.3
- generate documentation
- fix dependencies
- enable nose tests with coverage
-------------------------------------------------------------------
Tue Jul 16 23:44:33 UTC 2013 - hpj@urpla.net
- add python-zope-deprecation dependency
-------------------------------------------------------------------
Fri Mar 1 06:44:25 UTC 2013 - coolo@suse.com

View File

@@ -2,6 +2,7 @@
# spec file for package python-pyramid
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +18,49 @@
Name: python-pyramid
Version: 1.3b3
Version: 1.4.5
Release: 0
Url: http://pylonsproject.org
Summary: The Pyramid web application development framework, a Pylons project
License: BSD-4-Clause and ZPL-2.1 and MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pyramid/pyramid-%{version}.tar.gz
Patch0: pyramid-dont-load-external-sphinx-theme.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-Chameleon >= 1.2.3
Requires: python-Mako >= 0.3.6
Requires: python-PasteDeploy >= 1.5.0
Requires: python-WebOb >= 1.2b3
Requires: python-repoze.lru >= 0.4
Requires: python-translationstring >= 0.4
Requires: python-venusian >= 1.0a3
Requires: python-zope.deprecation >= 3.5.0
Requires: python-zope.interface >= 3.8.0
BuildRequires: fdupes
BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-Chameleon >= 1.2.3
BuildRequires: python-Mako >= 0.3.6
BuildRequires: python-PasteDeploy >= 1.5.0
BuildRequires: python-WebOb >= 1.2b3
BuildRequires: python-repoze.lru >= 0.4
BuildRequires: python-setuptools
BuildRequires: python-translationstring >= 0.4
BuildRequires: python-venusian >= 1.0a3
BuildRequires: python-zope.deprecation >= 3.5.0
BuildRequires: python-zope.interface >= 3.8.0
# Documentation requirements:
BuildRequires: python-Sphinx
BuildRequires: python-docutils
BuildRequires: python-pylons_sphinx_theme
BuildRequires: python-repoze.sphinx.autointerface
# Testing requirements:
BuildRequires: python-WebTest >= 1.3.1
BuildRequires: python-coverage
BuildRequires: python-nose
BuildRequires: python-zope.component >= 3.11.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
BuildRequires: python-ordereddict
BuildRequires: python-unittest2
%else
BuildArch: noarch
%endif
@@ -45,21 +75,32 @@ Pyramid is the newest web framework produced by the Pylons Project
Pyramid was previously known as repoze.bfg (http://bfg.repoze.org).
%package doc
Summary: The Pyramid web application development framework, a Pylons project
Group: Development/Languages/Python
Requires: %{name} = %{version}
%description doc
This package contains documentation files for %{name}.
%prep
%setup -q -n pyramid-%{version}
%patch0 -p1
%build
python setup.py build
python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm -rf %{buildroot}%{python_sitelib}/pyramid/tests # Big, hidden files, fdupes -> don't package
%fdupes %{buildroot}%{python_sitelib}
%check
python setup.py nosetests --with-coverage
%files
%defattr(-,root,root,-)
%doc *.txt
%doc *.txt *.rst
%{_bindir}/bfg2pyramid
%{_bindir}/pcreate
%{_bindir}/prequest
@@ -70,4 +111,8 @@ rm -rf %{buildroot}%{python_sitelib}/pyramid/tests # Big, hidden files, fdupes -
%{_bindir}/pviews
%{python_sitelib}/*
%files doc
%defattr(-,root,root,-)
%doc build/sphinx/html
%changelog