Hello community,
here is the log from the commit of package python-peppercorn for
openSUSE:Factory checked in at 2019-05-22 11:15:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-peppercorn (Old)
and /work/SRC/openSUSE:Factory/.python-peppercorn.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-peppercorn"
Wed May 22 11:15:24 2019 rev:3 rq:704376 version:0.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-peppercorn/python-peppercorn.changes
2019-02-26 22:22:15.362069246 +0100
+++
/work/SRC/openSUSE:Factory/.python-peppercorn.new.5148/python-peppercorn.changes
2019-05-22 11:15:25.670540470 +0200
@@ -1,0 +2,10 @@
+Tue May 21 07:49:00 UTC 2019 - [email protected]
+
+- version update to 0.6
+ * Add support for Python 3.4, 3.5, 3.6 and 3.7.
+ * Drop support for Python 2.6, 3.2 and 3.3.
+ * Add contributing.md and update docs.
+- deleted patches
+ - peppercorn-0.5-fix-pylons-theme.patch (upstreamed)
+
+-------------------------------------------------------------------
Old:
----
peppercorn-0.5-fix-pylons-theme.patch
peppercorn-0.5.tar.gz
New:
----
peppercorn-0.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-peppercorn.spec ++++++
--- /var/tmp/diff_new_pack.heHAPI/_old 2019-05-22 11:15:26.518540314 +0200
+++ /var/tmp/diff_new_pack.heHAPI/_new 2019-05-22 11:15:26.518540314 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-peppercorn
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,15 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-peppercorn
-Version: 0.5
+Version: 0.6
Release: 0
Summary: Pyramid exceptions logger
License: BSD-4-Clause AND ZPL-2.1 AND MIT
Group: Development/Languages/Python
Url: http://docs.pylonsproject.org/projects/peppercorn/en/latest/
Source:
https://files.pythonhosted.org/packages/source/p/peppercorn/peppercorn-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE [email protected] peppercorn-0.5-fix-pylons-theme.patch --
use pylons theme properly
-Patch: peppercorn-0.5-fix-pylons-theme.patch
# Documentation requirements:
BuildRequires: python3-Sphinx
# Testing requirements:
@@ -58,7 +56,6 @@
%prep
%setup -q -n peppercorn-%{version}
-%patch -p1
%build
%python_build
@@ -78,7 +75,7 @@
%else
%doc LICENSE.txt
%endif
-%doc CHANGES.txt CONTRIBUTORS.txt COPYRIGHT.txt README.txt
+%doc CHANGES.rst CONTRIBUTORS.txt COPYRIGHT.txt README.rst contributing.md
%{python_sitelib}/*
%files -n %{name}-doc
++++++ peppercorn-0.5.tar.gz -> peppercorn-0.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/.travis.yml
new/peppercorn-0.6/.travis.yml
--- old/peppercorn-0.5/.travis.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/peppercorn-0.6/.travis.yml 2018-08-16 09:43:15.000000000 +0200
@@ -0,0 +1,34 @@
+# Wire up travis
+language: python
+sudo: false
+
+matrix:
+ include:
+ - python: 2.7
+ env: TOXENV=py27
+ - python: 3.4
+ env: TOXENV=py34
+ - python: 3.5
+ env: TOXENV=py35
+ - python: 3.6
+ env: TOXENV=py36
+ - python: 3.7
+ env: TOXENV=py37
+ dist: xenial
+ sudo: true
+ - python: pypy
+ env: TOXENV=pypy
+ - python: pypy3.5
+ env: TOXENV=pypy3
+ - python: 3.6
+ env: TOXENV=py27,py36,cover
+
+install:
+ - travis_retry pip install tox
+
+script:
+ - travis_retry tox
+
+notifications:
+ email:
+ - [email protected]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/CHANGES.rst
new/peppercorn-0.6/CHANGES.rst
--- old/peppercorn-0.5/CHANGES.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/peppercorn-0.6/CHANGES.rst 2018-08-24 08:14:43.000000000 +0200
@@ -0,0 +1,68 @@
+Changes
+=======
+
+0.6 (2018-08-24)
+----------------
+
+- Add support for Python 3.4, 3.5, 3.6 and 3.7.
+
+- Drop support for Python 2.6, 3.2 and 3.3.
+
+- Add contributing.md and update docs. See
+ https://github.com/Pylons/peppercorn/issues/13
+
+
+0.5 (2014-09-29)
+----------------
+
+- Switch to an iterative parser rather than a recursive parser to avoid
+ DoS attacks.
+
+- Add the ``ignore`` operation. The subsequent data elements in the stream
+ will be ignored until the corresponding ``__end__`` marker. This feature
+ is useful for form elements designed for client-side scripting, such as a
+ "select all" checkbox in the middle of a list of other kinds of fields.
+
+- Add support for Python 3.3.
+
+- Drop support for Python 2.5 and Jython.
+
+
+0.4 (2012-02-14)
+----------------
+
+- Drop support for Python 2.4.
+
+- Add support for Python 3.2.
+
+- Move project to GitHub.
+
+- Switch to Pylons Project Sphinx theme.
+
+- Add tox configuration.
+
+
+0.3 (2010-09-02)
+----------------
+
+- 0.2 was a brownbag release. Handle the case where ``rename`` operation types
+ may not have children.
+
+
+0.2 (2010-09-02)
+----------------
+
+- Add new operation type: ``rename``. ``rename`` begins a special mode.
+ The value of the first subsequent data element in the stream will be
+ used within its parent sequence or mapping. Any remaining data
+ elements until the corresponding ``__end__`` marker are ignored.
+ This is mostly in support of radio buttons. See the ``rename`` docs
+ within `https://docs.pylonsproject.org/projects/peppercorn/en/latest/
+ <https://docs.pylonsproject.org/projects/peppercorn/en/latest/>`_ for more
+ information.
+
+
+0.1 (2010-03-23)
+----------------
+
+- Initial release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/CHANGES.txt
new/peppercorn-0.6/CHANGES.txt
--- old/peppercorn-0.5/CHANGES.txt 2014-09-29 18:55:11.000000000 +0200
+++ new/peppercorn-0.6/CHANGES.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,52 +0,0 @@
-Changes
-=======
-
-0.5 (2014-09-29)
-----------------
-
-- Switch to an iterative parser rather than a recursive parser to avoid
- DoS attacks.
-
-- Add the ``ignore`` operation. The subsequent data elements in the stream
- will be ignored until the corresponding ``__end__`` marker. This feature
- is useful for form elements designed for client-side scripting, such as a
- "select all" checkbox in the middle of a list of other kinds of fields.
-
-- Add support for Python 3.3.
-
-- Drop support for Python 2.5 / Jython.
-
-0.4 (2012-02-14)
-----------------
-
-- Peppercorn will no longer run under Python 2.4. 2.5 or better is required.
-
-- Python 3.2 compatibility.
-
-- Moved to GitHub.
-
-- Pylons project docs theme.
-
-- Added tox configuration.
-
-0.3 (2010-09-02)
-----------------
-
-- 0.2 was a brownbag release; a case was not handled where ``rename``
- operation types may not have children. This release fixes that.
-
-0.2 (2010-09-02)
-----------------
-
-- New operation type: ``rename``. ``rename`` begins a special mode.
- The value of the first subsequent data element in the stream will be
- used within it's parent sequence or mapping; any remaining data
- elements until the corresponding ``__end__`` marker are ignored.
- This is mostly in support of radio buttons. See the ``rename`` docs
- within `http://docs.repoze.org/peppercorn
- <http://docs.repoze.org/peppercorn>`_ for more information.
-
-0.1 (2010-03-23)
-----------------
-
-- Initial release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/CONTRIBUTORS.txt
new/peppercorn-0.6/CONTRIBUTORS.txt
--- old/peppercorn-0.5/CONTRIBUTORS.txt 2014-09-29 18:53:43.000000000 +0200
+++ new/peppercorn-0.6/CONTRIBUTORS.txt 2018-08-21 10:12:34.000000000 +0200
@@ -105,3 +105,6 @@
- Atsushi Odagiri, 2012/02/05
- Valentin Ungureanu, 2012/02/06
- Shane Hathaway, 2013/04/13
+- Tim Tisdall, 2015/04/21
+- Steffen Allner, 2018/08/14
+- Steve Piercy, 2018/08/08
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/PKG-INFO new/peppercorn-0.6/PKG-INFO
--- old/peppercorn-0.5/PKG-INFO 2014-09-29 18:57:42.000000000 +0200
+++ new/peppercorn-0.6/PKG-INFO 2018-08-24 08:26:51.000000000 +0200
@@ -1,8 +1,8 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: peppercorn
-Version: 0.5
+Version: 0.6
Summary: A library for converting a token stream into a data structure for use
in web form posts
-Home-page: http://docs.pylonsproject.org/projects/peppercorn/en/latest/
+Home-page: https://docs.pylonsproject.org/projects/peppercorn/en/latest/
Author: Agendaless Consulting
Author-email: [email protected]
License: BSD-derived (http://www.repoze.org/LICENSE.txt)
@@ -11,10 +11,10 @@
A library for converting a token stream into a data structure
comprised of
sequences, mappings, and scalars, developed primarily for converting
HTTP form
- post data into a richer data structure. It runs on Python 2.6, 2.7,
3.2, and
- 3.3.
+ post data into a richer data structure. It runs on Python 2.7, 3.4,
3.5, 3.6
+ and 3.7.
- Please see http://docs.pylonsproject.org/projects/peppercorn/en/latest/
+ Please see
https://docs.pylonsproject.org/projects/peppercorn/en/latest/
for the documentation.
See https://github.com/Pylons/peppercorn for in-development version.
@@ -23,6 +23,17 @@
Changes
=======
+ 0.6 (2018-08-24)
+ ----------------
+
+ - Add support for Python 3.4, 3.5, 3.6 and 3.7.
+
+ - Drop support for Python 2.6, 3.2 and 3.3.
+
+ - Add contributing.md and update docs. See
+ https://github.com/Pylons/peppercorn/issues/13
+
+
0.5 (2014-09-29)
----------------
@@ -36,37 +47,42 @@
- Add support for Python 3.3.
- - Drop support for Python 2.5 / Jython.
+ - Drop support for Python 2.5 and Jython.
+
0.4 (2012-02-14)
----------------
- - Peppercorn will no longer run under Python 2.4. 2.5 or better is
required.
+ - Drop support for Python 2.4.
+
+ - Add support for Python 3.2.
- - Python 3.2 compatibility.
+ - Move project to GitHub.
- - Moved to GitHub.
+ - Switch to Pylons Project Sphinx theme.
- - Pylons project docs theme.
+ - Add tox configuration.
- - Added tox configuration.
0.3 (2010-09-02)
----------------
- - 0.2 was a brownbag release; a case was not handled where ``rename``
- operation types may not have children. This release fixes that.
+ - 0.2 was a brownbag release. Handle the case where ``rename``
operation types
+ may not have children.
+
0.2 (2010-09-02)
----------------
- - New operation type: ``rename``. ``rename`` begins a special mode.
+ - Add new operation type: ``rename``. ``rename`` begins a special
mode.
The value of the first subsequent data element in the stream will be
- used within it's parent sequence or mapping; any remaining data
+ used within its parent sequence or mapping. Any remaining data
elements until the corresponding ``__end__`` marker are ignored.
This is mostly in support of radio buttons. See the ``rename`` docs
- within `http://docs.repoze.org/peppercorn
- <http://docs.repoze.org/peppercorn>`_ for more information.
+ within `https://docs.pylonsproject.org/projects/peppercorn/en/latest/
+ <https://docs.pylonsproject.org/projects/peppercorn/en/latest/>`_
for more
+ information.
+
0.1 (2010-03-23)
----------------
@@ -78,12 +94,14 @@
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.2
-Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/README.rst
new/peppercorn-0.6/README.rst
--- old/peppercorn-0.5/README.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/peppercorn-0.6/README.rst 2018-08-16 09:43:15.000000000 +0200
@@ -0,0 +1,12 @@
+Peppercorn
+==========
+
+A library for converting a token stream into a data structure comprised of
+sequences, mappings, and scalars, developed primarily for converting HTTP form
+post data into a richer data structure. It runs on Python 2.7, 3.4, 3.5, 3.6
+and 3.7.
+
+Please see https://docs.pylonsproject.org/projects/peppercorn/en/latest/
+for the documentation.
+
+See https://github.com/Pylons/peppercorn for in-development version.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/README.txt
new/peppercorn-0.6/README.txt
--- old/peppercorn-0.5/README.txt 2014-09-29 18:55:38.000000000 +0200
+++ new/peppercorn-0.6/README.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-Peppercorn
-==========
-
-A library for converting a token stream into a data structure comprised of
-sequences, mappings, and scalars, developed primarily for converting HTTP form
-post data into a richer data structure. It runs on Python 2.6, 2.7, 3.2, and
-3.3.
-
-Please see http://docs.pylonsproject.org/projects/peppercorn/en/latest/
-for the documentation.
-
-See https://github.com/Pylons/peppercorn for in-development version.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/RELEASING.txt
new/peppercorn-0.6/RELEASING.txt
--- old/peppercorn-0.5/RELEASING.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/peppercorn-0.6/RELEASING.txt 2018-08-24 08:19:18.000000000 +0200
@@ -0,0 +1,149 @@
+Releasing
+=========
+
+- For clarity, we define releases as follows.
+
+ - Alpha, beta, dev and similar statuses do not qualify whether a release is
+ major or minor. The term "pre-release" means alpha, beta, or dev.
+
+ - A release is final when it is no longer pre-release.
+
+ - A *major* release is where the first number either before or after the
+ first dot increases. Examples: 1.6 to 1.7a1, or 1.8 to 2.0.
+
+ - A *minor* or *bug fix* release is where the number after the second dot
+ increases. Example: 1.6 to 1.6.1.
+
+
+Prepare new release branch via a pull request
+---------------------------------------------
+
+- Consider the release number (bugfix-only vs. features, changes in platforms).
+
+- Synch the local repository with the ``master`` branch from ``upstream``,
+ where ``upstream`` is the repository ``Pylons/peppercorn``, not the
+ developer's own fork::
+
+ $ git checkout master
+ $ git fetch --all
+ $ git merge upstream/master
+
+- Tests will run when the PR is submitted. Optionally run tests locally first.
+
+ - Do platform test via tox::
+
+ $ tox -r
+
+ Make sure statement coverage is at 100% (the test run will fail if not).
+
+ - Run tests on Windows if feasible.
+
+- Create a new release branch, incrementing the version number::
+
+ $ git checkout -b prep-<#.#.#>-release
+
+- Ensure all features of the release are documented (audit ``CHANGES.rst`` or
+ communicate with contributors, checking against recent merged pull requests).
+
+- Add date and new release number to ``CHANGES.rst`` heading.
+
+- Normalize changelog if needed (imperative voice, spacing, etc.).
+
+- Update the release number in ``setup.py``.
+
+- Make sure PyPI long description renders (requires ``readme_renderer``
+ installed into your Python)::
+
+ $ python setup.py check -r -s -m
+
+- Use "standard" commit message for the pull request::
+
+ $ git commit . -m "Prep #.#.# release."
+ $ git push upstream prep-#.#.#-release
+
+- Submit the pull request via GitHub.
+
+
+Make the release
+----------------
+
+- Once the pull request passes all checks from continuous integration, and the
+ pull request is approved, merge it.
+
+- Synch the local repository with the ``master`` branch::
+
+ $ git checkout master
+ $ git fetch --all
+ $ git merge upstream/master
+
+- Create a release tag with a "standard" commit message::
+
+ $ git tag -a #.#.# -m "Tag #.#.# release"
+
+- Push the tag to upstream.
+
+ $ git push --tags upstream
+
+- Make sure your Python has ``setuptools-git``, ``twine``, and ``wheel``
+ installed. Make the release files, and push the release to PyPI::
+
+ $ python setup.py sdist bdist_wheel
+ $ twine upload dist/*
+
+
+Prepare master for further development after the release
+--------------------------------------------------------
+
+- Synch the local repository with the ``master`` branch::
+
+ $ git checkout master
+ $ git fetch --all
+ $ git merge upstream/master
+
+- In CHANGES.rst, add heading "unreleased" for the version number, and push to
+ upstream.
+
+ $ git commit . -m "back to work"
+ $ git push upstream
+
+
+Marketing and communications
+----------------------------
+
+- Announce to Twitter.
+
+```
+Peppercorn x.x.x released.
+
+PyPI
+https://pypi.org/project/peppercorn/x.x.x/
+
+Changes
+https://docs.pylonsproject.org/projects/peppercorn/en/latest/changes.html#version-yyyy-mm-dd
+
+Issues
+https://github.com/Pylons/peppercorn/issues
+```
+
+- Announce to maillist.
+
+```
+Peppercorn x.x.x has been released.
+
+The full changelog is here:
+https://docs.pylonsproject.org/projects/peppercorn/en/latest/changes.html
+
+x.x.x documentation:
+https://docs.pylonsproject.org/projects/peppercorn/en/latest/
+
+You can install it via PyPI:
+
+ pip install peppercorn==x.x.x
+
+Enjoy, and please report any issues you find to the issue tracker at
+https://github.com/Pylons/peppercorn/issues
+
+Thanks!
+
+- Peppercorn core developers
+```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/contributing.md
new/peppercorn-0.6/contributing.md
--- old/peppercorn-0.5/contributing.md 1970-01-01 01:00:00.000000000 +0100
+++ new/peppercorn-0.6/contributing.md 2018-08-21 10:12:34.000000000 +0200
@@ -0,0 +1,28 @@
+Contributing
+============
+
+All projects under the Pylons Projects, including this one, follow the
+guidelines established at [How to
+Contribute](https://pylonsproject.org/community-how-to-contribute.html) and
+[Coding Style and
+Standards](https://pylonsproject.org/community-coding-style-standards.html).
+
+You can contribute to this project in several ways.
+
+* [File an Issue on GitHub](https://github.com/Pylons/peppercorn/issues)
+* Fork this project and create a branch with your suggested change. When ready,
+ submit a pull request for consideration. [GitHub
+ Flow](https://guides.github.com/introduction/flow/index.html) describes the
+ workflow process and why it's a good practice. When submitting a pull
+ request, sign
+
[CONTRIBUTORS.txt](https://github.com/Pylons/peppercorn/blob/master/CONTRIBUTORS.txt)
+ if you have not yet done so.
+* Join the IRC channel #pyramid on irc.freenode.net.
+
+Git Branches
+------------
+Git branches and their purpose and status at the time of this writing are
+listed below.
+
+* [master](https://github.com/Pylons/peppercorn/) - The branch on which further
+ development takes place. The default branch on GitHub.
Binary files old/peppercorn-0.5/docs/.static/logo_hi.gif and
new/peppercorn-0.6/docs/.static/logo_hi.gif differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/docs/.static/repoze.css
new/peppercorn-0.6/docs/.static/repoze.css
--- old/peppercorn-0.5/docs/.static/repoze.css 2011-02-16 06:22:59.000000000
+0100
+++ new/peppercorn-0.6/docs/.static/repoze.css 1970-01-01 01:00:00.000000000
+0100
@@ -1,22 +0,0 @@
-@import url('default.css');
-body {
- background-color: #006339;
-}
-
-div.document {
- background-color: #dad3bd;
-}
-
-div.sphinxsidebar h3, h4, h5, a {
- color: #127c56 !important;
-}
-
-div.related {
- color: #dad3bd !important;
- background-color: #00744a;
-}
-
-div.related a {
- color: #dad3bd !important;
-}
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/docs/conf.py
new/peppercorn-0.6/docs/conf.py
--- old/peppercorn-0.5/docs/conf.py 2012-02-15 03:43:56.000000000 +0100
+++ new/peppercorn-0.6/docs/conf.py 2018-08-21 10:12:34.000000000 +0200
@@ -12,44 +12,16 @@
# All configuration values have a default value; values that are commented
# out serve to show the default value.
-import sys, os
+import pylons_sphinx_themes
+import datetime
-# 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_path = pylons_sphinx_themes.get_html_themes_path()
html_theme = 'pylons'
html_theme_options = dict(
github_url='https://github.com/Pylons/peppercorn',
-# in_progress='true'
+
canonical_url='https://docs.pylonsproject.org/projects/peppercorn/en/latest/'
+ # in_progress='true'
)
@@ -76,13 +48,15 @@
# General substitutions.
project = 'peppercorn'
-copyright = '2011, Agendaless Consulting <[email protected]>'
+thisyear = datetime.datetime.now().year
+copyright = '2011-%s, Agendaless Consulting ' \
+ '<[email protected]>' % thisyear
# The default replacements for |version| and |release|, also used in various
# other places throughout the built documents.
#
# The short X.Y version.
-version = '0.4'
+version = '0.5'
# The full version, including alpha/beta/rc tags.
release = version
@@ -139,7 +113,7 @@
# The name of an image file (within the static path) to place at the top of
# the sidebar.
-html_logo = '.static/logo_hi.gif'
+#html_logo = '.static/logo_hi.gif'
# The name of an image file (within the static path) to use as favicon of
# the docs. This file should be a Windows icon file (.ico) being 16x16 or
@@ -156,9 +130,8 @@
# bottom, using the given strftime format.
html_last_updated_fmt = '%b %d, %Y'
-# If true, SmartyPants will be used to convert quotes and dashes to
-# typographically correct entities.
-#html_use_smartypants = True
+# Do not use smart quotes.
+smartquotes = False
# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}
@@ -211,7 +184,7 @@
# The name of an image file (relative to this directory) to place at the
# top of the title page.
-latex_logo = '.static/logo_hi.gif'
+#latex_logo = '.static/logo_hi.gif'
# For "manual" documents, if this is true, then toplevel headings are
# parts, not chapters.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/docs/glossary.rst
new/peppercorn-0.6/docs/glossary.rst
--- old/peppercorn-0.5/docs/glossary.rst 2011-02-16 06:22:59.000000000
+0100
+++ new/peppercorn-0.6/docs/glossary.rst 2018-08-21 10:12:34.000000000
+0200
@@ -7,5 +7,4 @@
:sorted:
WebOb
- `WebOb <http://pythonpaste.org/webob/>`_ is a WSGI request/response
- library created by Ian Bicking.
+ `WebOb <https://webob.org/>`_ is a WSGI request/response library created
by Ian Bicking.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/docs/index.rst
new/peppercorn-0.6/docs/index.rst
--- old/peppercorn-0.5/docs/index.rst 2014-09-29 18:53:43.000000000 +0200
+++ new/peppercorn-0.6/docs/index.rst 2018-08-21 20:42:28.000000000 +0200
@@ -3,8 +3,8 @@
A library for converting a token stream into a data structure comprised of
sequences, mappings, and scalars, developed primarily for converting HTTP
-form post data into a richer data structure. It runs on Python 2.5, 2.6, 2.7
-and 3.2.
+form post data into a richer data structure. It runs on Python 2.7, 3.4, 3.5,
+3.6 and 3.7.
Example "bare" usage:
@@ -163,7 +163,7 @@
---------
See `the plope.com article about the genesis of Peppercorn
-<http://www.plope.com/peppercorn>`_.
+<https://web.archive.org/web/20170201033638/http://www.plope.com/peppercorn>`_.
Indices and tables
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/peppercorn.egg-info/PKG-INFO
new/peppercorn-0.6/peppercorn.egg-info/PKG-INFO
--- old/peppercorn-0.5/peppercorn.egg-info/PKG-INFO 2014-09-29
18:57:41.000000000 +0200
+++ new/peppercorn-0.6/peppercorn.egg-info/PKG-INFO 2018-08-24
08:26:51.000000000 +0200
@@ -1,8 +1,8 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: peppercorn
-Version: 0.5
+Version: 0.6
Summary: A library for converting a token stream into a data structure for use
in web form posts
-Home-page: http://docs.pylonsproject.org/projects/peppercorn/en/latest/
+Home-page: https://docs.pylonsproject.org/projects/peppercorn/en/latest/
Author: Agendaless Consulting
Author-email: [email protected]
License: BSD-derived (http://www.repoze.org/LICENSE.txt)
@@ -11,10 +11,10 @@
A library for converting a token stream into a data structure
comprised of
sequences, mappings, and scalars, developed primarily for converting
HTTP form
- post data into a richer data structure. It runs on Python 2.6, 2.7,
3.2, and
- 3.3.
+ post data into a richer data structure. It runs on Python 2.7, 3.4,
3.5, 3.6
+ and 3.7.
- Please see http://docs.pylonsproject.org/projects/peppercorn/en/latest/
+ Please see
https://docs.pylonsproject.org/projects/peppercorn/en/latest/
for the documentation.
See https://github.com/Pylons/peppercorn for in-development version.
@@ -23,6 +23,17 @@
Changes
=======
+ 0.6 (2018-08-24)
+ ----------------
+
+ - Add support for Python 3.4, 3.5, 3.6 and 3.7.
+
+ - Drop support for Python 2.6, 3.2 and 3.3.
+
+ - Add contributing.md and update docs. See
+ https://github.com/Pylons/peppercorn/issues/13
+
+
0.5 (2014-09-29)
----------------
@@ -36,37 +47,42 @@
- Add support for Python 3.3.
- - Drop support for Python 2.5 / Jython.
+ - Drop support for Python 2.5 and Jython.
+
0.4 (2012-02-14)
----------------
- - Peppercorn will no longer run under Python 2.4. 2.5 or better is
required.
+ - Drop support for Python 2.4.
+
+ - Add support for Python 3.2.
- - Python 3.2 compatibility.
+ - Move project to GitHub.
- - Moved to GitHub.
+ - Switch to Pylons Project Sphinx theme.
- - Pylons project docs theme.
+ - Add tox configuration.
- - Added tox configuration.
0.3 (2010-09-02)
----------------
- - 0.2 was a brownbag release; a case was not handled where ``rename``
- operation types may not have children. This release fixes that.
+ - 0.2 was a brownbag release. Handle the case where ``rename``
operation types
+ may not have children.
+
0.2 (2010-09-02)
----------------
- - New operation type: ``rename``. ``rename`` begins a special mode.
+ - Add new operation type: ``rename``. ``rename`` begins a special
mode.
The value of the first subsequent data element in the stream will be
- used within it's parent sequence or mapping; any remaining data
+ used within its parent sequence or mapping. Any remaining data
elements until the corresponding ``__end__`` marker are ignored.
This is mostly in support of radio buttons. See the ``rename`` docs
- within `http://docs.repoze.org/peppercorn
- <http://docs.repoze.org/peppercorn>`_ for more information.
+ within `https://docs.pylonsproject.org/projects/peppercorn/en/latest/
+ <https://docs.pylonsproject.org/projects/peppercorn/en/latest/>`_
for more
+ information.
+
0.1 (2010-03-23)
----------------
@@ -78,12 +94,14 @@
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.2
-Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/peppercorn.egg-info/SOURCES.txt
new/peppercorn-0.6/peppercorn.egg-info/SOURCES.txt
--- old/peppercorn-0.5/peppercorn.egg-info/SOURCES.txt 2014-09-29
18:57:42.000000000 +0200
+++ new/peppercorn-0.6/peppercorn.egg-info/SOURCES.txt 2018-08-24
08:26:51.000000000 +0200
@@ -1,9 +1,13 @@
.gitignore
-CHANGES.txt
+.travis.yml
+CHANGES.rst
CONTRIBUTORS.txt
COPYRIGHT.txt
LICENSE.txt
-README.txt
+README.rst
+RELEASING.txt
+contributing.md
+rtd.txt
setup.cfg
setup.py
tox.ini
@@ -12,8 +16,6 @@
docs/conf.py
docs/glossary.rst
docs/index.rst
-docs/.static/logo_hi.gif
-docs/.static/repoze.css
peppercorn/__init__.py
peppercorn/compat.py
peppercorn/tests.py
@@ -21,4 +23,5 @@
peppercorn.egg-info/SOURCES.txt
peppercorn.egg-info/dependency_links.txt
peppercorn.egg-info/not-zip-safe
+peppercorn.egg-info/requires.txt
peppercorn.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/peppercorn.egg-info/requires.txt
new/peppercorn-0.6/peppercorn.egg-info/requires.txt
--- old/peppercorn-0.5/peppercorn.egg-info/requires.txt 1970-01-01
01:00:00.000000000 +0100
+++ new/peppercorn-0.6/peppercorn.egg-info/requires.txt 2018-08-24
08:26:51.000000000 +0200
@@ -0,0 +1,4 @@
+
+[docs]
+Sphinx>=1.7.6
+pylons-sphinx-themes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/rtd.txt new/peppercorn-0.6/rtd.txt
--- old/peppercorn-0.5/rtd.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/peppercorn-0.6/rtd.txt 2018-08-21 10:12:34.000000000 +0200
@@ -0,0 +1 @@
+-e .[docs]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/setup.cfg new/peppercorn-0.6/setup.cfg
--- old/peppercorn-0.5/setup.cfg 2014-09-29 18:57:42.000000000 +0200
+++ new/peppercorn-0.6/setup.cfg 2018-08-24 08:26:51.000000000 +0200
@@ -11,5 +11,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/setup.py new/peppercorn-0.6/setup.py
--- old/peppercorn-0.5/setup.py 2014-09-29 18:55:23.000000000 +0200
+++ new/peppercorn-0.6/setup.py 2018-08-24 08:04:46.000000000 +0200
@@ -20,17 +20,22 @@
here = os.path.abspath(os.path.dirname(__file__))
try:
- README = open(os.path.join(here, 'README.txt')).read()
- CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
+ README = open(os.path.join(here, 'README.rst')).read()
+ CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
except:
README = ''
CHANGES = ''
requires = []
+docs_extras = [
+ 'Sphinx >= 1.7.6',
+ 'pylons-sphinx-themes',
+]
+
setup(
name='peppercorn',
- version='0.5',
+ version='0.6',
description=('A library for converting a token stream into a data '
'structure for use in web form posts'),
long_description=README + '\n\n' + CHANGES,
@@ -38,11 +43,12 @@
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
- "Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.2",
- "Programming Language :: Python :: 3.3",
+ "Programming Language :: Python :: 3.4",
+ "Programming Language :: Python :: 3.5",
+ "Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
@@ -51,13 +57,16 @@
keywords='web wsgi form generation library',
author="Agendaless Consulting",
author_email="[email protected]",
- url="http://docs.pylonsproject.org/projects/peppercorn/en/latest/",
+ url="https://docs.pylonsproject.org/projects/peppercorn/en/latest/",
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
tests_require = requires,
install_requires = requires,
+ extras_require={
+ 'docs': docs_extras,
+ },
test_suite="peppercorn",
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/peppercorn-0.5/tox.ini new/peppercorn-0.6/tox.ini
--- old/peppercorn-0.5/tox.ini 2014-09-29 18:53:43.000000000 +0200
+++ new/peppercorn-0.6/tox.ini 2018-08-16 09:43:15.000000000 +0200
@@ -1,17 +1,17 @@
[tox]
-envlist =
- py26,py27,py32,py33,pypy,cover
+envlist =
+ py27,py34,py35,py36,py37,pypy,pypy3,cover
[testenv]
-commands =
+commands =
python setup.py test -q
[testenv:cover]
basepython =
- python2.6
-commands =
+ python2.7
+commands =
python setup.py nosetests --with-xunit --with-xcoverage
-deps =
+deps =
nose
coverage==3.4
nosexcover