[Python-apps-commits] r12865 - in packages/pydocstyle/trunk (18 files)
danstender-guest at users.alioth.debian.org
danstender-guest at users.alioth.debian.org
Wed Mar 2 20:18:34 UTC 2016
Date: Wednesday, March 2, 2016 @ 20:18:33
Author: danstender-guest
Revision: 12865
[svn-inject] Applying Debian modifications (1.0.0-1) to trunk
Added:
packages/pydocstyle/trunk/debian/
packages/pydocstyle/trunk/debian/changelog
packages/pydocstyle/trunk/debian/compat
packages/pydocstyle/trunk/debian/control
packages/pydocstyle/trunk/debian/copyright
packages/pydocstyle/trunk/debian/patches/
packages/pydocstyle/trunk/debian/patches/disable-sphinxcontrib.issuetracker.patch
packages/pydocstyle/trunk/debian/patches/fix-tests-py3-environment.patch
packages/pydocstyle/trunk/debian/patches/series
packages/pydocstyle/trunk/debian/patches/strip-manpage.patch
packages/pydocstyle/trunk/debian/pydocstyle.lintian-overrides
packages/pydocstyle/trunk/debian/rules
packages/pydocstyle/trunk/debian/source/
packages/pydocstyle/trunk/debian/source/format
packages/pydocstyle/trunk/debian/tests/
packages/pydocstyle/trunk/debian/tests/control
packages/pydocstyle/trunk/debian/tests/pydocstyle
packages/pydocstyle/trunk/debian/watch
Property changes on: packages/pydocstyle/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/pydocstyle/trunk/debian/changelog
===================================================================
--- packages/pydocstyle/trunk/debian/changelog (rev 0)
+++ packages/pydocstyle/trunk/debian/changelog 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,5 @@
+pydocstyle (1.0.0-1) unstable; urgency=medium
+
+ * Initial release (Closes: #816498).
+
+ -- Daniel Stender <stender at debian.org> Wed, 02 Mar 2016 21:10:58 +0100
Added: packages/pydocstyle/trunk/debian/compat
===================================================================
--- packages/pydocstyle/trunk/debian/compat (rev 0)
+++ packages/pydocstyle/trunk/debian/compat 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1 @@
+9
Added: packages/pydocstyle/trunk/debian/control
===================================================================
--- packages/pydocstyle/trunk/debian/control (rev 0)
+++ packages/pydocstyle/trunk/debian/control 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,31 @@
+Source: pydocstyle
+Section: python
+Priority: optional
+Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Uploaders: Daniel Stender <stender at debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python3,
+ python3-setuptools,
+ python3-mock,
+ python3-pytest,
+ python3-sphinx
+Standards-Version: 3.9.7
+Homepage: http://pydocstyle.readthedocs.org/
+Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/pydocstyle/trunk/
+Vcs-Browser: https://anonscm.debian.org/viewvc/python-apps/packages/pydocstyle/trunk/
+X-Python3-Version: >= 3.3
+
+Package: pydocstyle
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends}
+Description: Python docstring style checker (PEP-257 conventions)
+ PEP-257 provides conventions for Python docstrings (string literals which
+ occur as first statement in a module, function, class or method definition
+ for documentation purposes). This tool checks Python code whether
+ these conventions have been complied with, and if docstring are missing.
+ .
+ This is a successor of the application "pep257".
Added: packages/pydocstyle/trunk/debian/copyright
===================================================================
--- packages/pydocstyle/trunk/debian/copyright (rev 0)
+++ packages/pydocstyle/trunk/debian/copyright 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pydocstyle
+Upstream-Contact: Amir Rachum <nurdok at gmail.com>
+Source: https://github.com/PyCQA/pydocstyle
+Files-Excluded: .gitignore
+
+Files: *
+Copyright: 2012 GreenSteam
+ 2013-2015 Vladimir Keleshev <vladimir at keleshev.com>
+ 2014-2016 Amir Rachum <nurdok at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Daniel Stender <stender at debian.org>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Added: packages/pydocstyle/trunk/debian/patches/disable-sphinxcontrib.issuetracker.patch
===================================================================
--- packages/pydocstyle/trunk/debian/patches/disable-sphinxcontrib.issuetracker.patch (rev 0)
+++ packages/pydocstyle/trunk/debian/patches/disable-sphinxcontrib.issuetracker.patch 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,17 @@
+Description: disable sphinxcontrib.issuetracker
+ needs a net connection at build time which isn't favored
+Author: Daniel Stender <debian at danielstender.com>
+Forwarded: not-needed
+Last-Update: 2016-01-31
+
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -32,7 +32,7 @@
+ 'sphinx.ext.autodoc',
+ 'sphinx.ext.coverage',
+ 'sphinx.ext.viewcode',
+- 'sphinxcontrib.issuetracker', # autolinks issue numbers (like #78)
++# 'sphinxcontrib.issuetracker', # autolinks issue numbers (like #78)
+ ]
+
+ # Add any paths that contain templates here, relative to this directory.
Added: packages/pydocstyle/trunk/debian/patches/fix-tests-py3-environment.patch
===================================================================
--- packages/pydocstyle/trunk/debian/patches/fix-tests-py3-environment.patch (rev 0)
+++ packages/pydocstyle/trunk/debian/patches/fix-tests-py3-environment.patch 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,16 @@
+Description: fix install_package fixture in test_integration.py
+ for Py3 environment.
+Author: Daniel Stender <stender at debian.org>
+Forwarded: https://github.com/PyCQA/pydocstyle/issues/177
+
+--- a/src/tests/test_integration.py
++++ b/src/tests/test_integration.py
+@@ -100,7 +100,7 @@
+ @pytest.yield_fixture(scope="module")
+ def install_package(request):
+ cwd = os.path.join(os.path.dirname(__file__), '..', '..')
+- install_cmd = "python setup.py develop"
++ install_cmd = "python3 setup.py develop"
+ uninstall_cmd = install_cmd + ' --uninstall'
+ subprocess.check_call(shlex.split(install_cmd), cwd=cwd)
+ yield
Added: packages/pydocstyle/trunk/debian/patches/series
===================================================================
--- packages/pydocstyle/trunk/debian/patches/series (rev 0)
+++ packages/pydocstyle/trunk/debian/patches/series 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,3 @@
+fix-tests-py3-environment.patch
+disable-sphinxcontrib.issuetracker.patch
+strip-manpage.patch
Added: packages/pydocstyle/trunk/debian/patches/strip-manpage.patch
===================================================================
--- packages/pydocstyle/trunk/debian/patches/strip-manpage.patch (rev 0)
+++ packages/pydocstyle/trunk/debian/patches/strip-manpage.patch 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,16 @@
+Description: strip release notes and license from manpage
+Author: Daniel Stender <stender at debian.org>
+Forwarded: not needed
+
+--- a/docs/index.rst
++++ b/docs/index.rst
+@@ -21,9 +21,6 @@
+
+ usage
+ error_codes
+- release_notes
+- license
+-
+
+ Credits
+ =======
Added: packages/pydocstyle/trunk/debian/pydocstyle.lintian-overrides
===================================================================
--- packages/pydocstyle/trunk/debian/pydocstyle.lintian-overrides (rev 0)
+++ packages/pydocstyle/trunk/debian/pydocstyle.lintian-overrides 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,2 @@
+# app but some things expect the module being in the public import path (e.g. Prospector)
+application-in-library-section python usr/bin/pydocstyle
\ No newline at end of file
Added: packages/pydocstyle/trunk/debian/rules
===================================================================
--- packages/pydocstyle/trunk/debian/rules (rev 0)
+++ packages/pydocstyle/trunk/debian/rules 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#export DEB_BUILD_OPTIONS=nocheck
+export PYBUILD_NAME=pydocstyle
+
+DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +%F -f -)
+
+%:
+ dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -Wd -m pytest -v -x --ignore=.pc" dh_auto_test
+
+override_dh_installchangelogs:
+ dh_installchangelogs docs/release_notes.rst
+
+override_dh_installman:
+ PYTHONPATH=./src sphinx-build -D today_fmt="$(DEBDATE)" -N -bman docs .pybuild
+ dh_installman .pybuild/pydocstyle.1
+
+override_dh_auto_install:
+ dh_auto_install
+ rm -f debian/pydocstyle/usr/bin/pep257 # temporary convenience script
Property changes on: packages/pydocstyle/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/pydocstyle/trunk/debian/source/format
===================================================================
--- packages/pydocstyle/trunk/debian/source/format (rev 0)
+++ packages/pydocstyle/trunk/debian/source/format 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/pydocstyle/trunk/debian/tests/control
===================================================================
--- packages/pydocstyle/trunk/debian/tests/control (rev 0)
+++ packages/pydocstyle/trunk/debian/tests/control 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,2 @@
+Tests: pydocstyle
+Depends: python3-all, python3-mock, python3-pytest, python3-setuptools
\ No newline at end of file
Added: packages/pydocstyle/trunk/debian/tests/pydocstyle
===================================================================
--- packages/pydocstyle/trunk/debian/tests/pydocstyle (rev 0)
+++ packages/pydocstyle/trunk/debian/tests/pydocstyle 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+for py in $(py3versions -i); do echo "[*] testing $py:"; PYTHONPATH=. $py -Wd -m pytest -v -x --ignore=.pc 2>&1; done
Property changes on: packages/pydocstyle/trunk/debian/tests/pydocstyle
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/pydocstyle/trunk/debian/watch
===================================================================
--- packages/pydocstyle/trunk/debian/watch (rev 0)
+++ packages/pydocstyle/trunk/debian/watch 2016-03-02 20:18:33 UTC (rev 12865)
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/(?:.*\/)?(\d[\d\.]+)\.tar\.gz/pydocstyle-$1.tar.gz/ \
+https://github.com/PyCQA/pep257/releases (?:.*/)?(\d[\d\.]+)\.tar\.gz
More information about the Python-apps-commits
mailing list