[Python-modules-commits] [pytest-runner] 01/03: Import pytest-runner_2.7.1.orig.tar.gz

Brian May bam at moszumanska.debian.org
Wed Apr 6 03:34:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

bam pushed a commit to branch master
in repository pytest-runner.

commit 8496459b3ed94fa168ec5f0578875b4efa5faccb
Author: Brian May <bam at debian.org>
Date:   Wed Apr 6 13:15:59 2016 +1000

    Import pytest-runner_2.7.1.orig.tar.gz
---
 .hgtags                                       |  1 +
 .travis.yml                                   | 17 +++++++++++++----
 PKG-INFO                                      | 16 ++++++++++------
 README.rst                                    | 10 +++++++---
 docs/conf.py                                  | 20 ++++++++++++++++++++
 docs/history.rst                              |  2 +-
 docs/index.rst                                |  2 +-
 pytest_runner.egg-info/PKG-INFO               | 16 ++++++++++------
 pytest_runner.egg-info/SOURCES.txt            |  1 +
 pytest_runner.egg-info/namespace_packages.txt |  1 +
 setup.cfg                                     |  4 ++--
 setup.py                                      | 13 ++++++++-----
 12 files changed, 75 insertions(+), 28 deletions(-)

diff --git a/.hgtags b/.hgtags
index bdc4463..3e230ac 100644
--- a/.hgtags
+++ b/.hgtags
@@ -21,3 +21,4 @@ cce8431d8b4d9441740a723c7c700d810a4662f8 2.6.1
 0cc61470c2a2fd5b0ed2c4c4ac7480bf68526f6e 2.6.2
 daf0974a5e9348b8c8e20e9ee227702edc5b6e75 2.6.3
 a1fa887922d237f915ba51f9022f4da983ceb32e 2.7
+21cfa346c8960f29f1a364d97ecbb9d1a7f6a3c0 2.7.1
diff --git a/.travis.yml b/.travis.yml
index 6e5e969..7ff32e9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,17 @@
 sudo: false
 language: python
 python:
- - 2.7
- - 3.5
+- 2.7
+- 3.5
 script:
- - pip install -U pytest
- - python setup.py test
+- pip install -U pytest
+- python setup.py test
+deploy:
+  provider: pypi
+  on:
+    tags: true
+    all_branches: true
+  user: jaraco
+  # supply password with `travis encrypt --add deploy.password`
+  distributions: release
+  python: 3.5
diff --git a/PKG-INFO b/PKG-INFO
index 8474242..45c23e1 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,8 +1,8 @@
 Metadata-Version: 1.1
 Name: pytest-runner
-Version: 2.7
-Summary: Invoke py.test as distutils command with dependency resolution.
-Home-page: https://bitbucket.org/pytest-dev/pytest-runner
+Version: 2.7.1
+Summary: Invoke py.test as distutils command with dependency resolution
+Home-page: https://github.com/pytest-dev/pytest-runner
 Author: Jason R. Coombs
 Author-email: jaraco at jaraco.com
 License: UNKNOWN
@@ -50,7 +50,7 @@ Description: pytest-runner
         required by the session before invoking pytest.
         
         See the `jaraco.collections
-        <https://bitbucket.org/jaraco/jaraco.collections/>`_ project
+        <https://github.com/jaraco/jaraco.collections>`_ project
         for real-world usage.
         
         Standalone Example
@@ -61,9 +61,13 @@ Description: pytest-runner
         also be used to create standalone tests. Consider `this example
         failure <https://gist.github.com/jaraco/d979a558bc0bf2194c23>`_,
         reported in `jsonpickle #117
-        <https://github.com/jsonpickle/jsonpickle/issues/117>`_.
+        <https://github.com/jsonpickle/jsonpickle/issues/117>`_
+        or `this MongoDB test
+        <https://gist.github.com/jaraco/0b9e482f5c0a1300dc9a>`_
+        demonstrating a technique that works even when dependencies
+        are required in the test.
         
-        That single file may be cloned or downloaded and simply run on
+        Either example file may be cloned or downloaded and simply run on
         any system with Python and Setuptools. It will download the
         specified dependencies and run the tests. Afterward, the the
         cloned directory can be removed and with it all trace of
diff --git a/README.rst b/README.rst
index b9d5322..74009f0 100644
--- a/README.rst
+++ b/README.rst
@@ -42,7 +42,7 @@ plugins) may be added to tests_require and will be downloaded and
 required by the session before invoking pytest.
 
 See the `jaraco.collections
-<https://bitbucket.org/jaraco/jaraco.collections/>`_ project
+<https://github.com/jaraco/jaraco.collections>`_ project
 for real-world usage.
 
 Standalone Example
@@ -53,9 +53,13 @@ runner support to maintained packages, ``pytest-runner`` may
 also be used to create standalone tests. Consider `this example
 failure <https://gist.github.com/jaraco/d979a558bc0bf2194c23>`_,
 reported in `jsonpickle #117
-<https://github.com/jsonpickle/jsonpickle/issues/117>`_.
+<https://github.com/jsonpickle/jsonpickle/issues/117>`_
+or `this MongoDB test
+<https://gist.github.com/jaraco/0b9e482f5c0a1300dc9a>`_
+demonstrating a technique that works even when dependencies
+are required in the test.
 
-That single file may be cloned or downloaded and simply run on
+Either example file may be cloned or downloaded and simply run on
 any system with Python and Setuptools. It will download the
 specified dependencies and run the tests. Afterward, the the
 cloned directory can be removed and with it all trace of
diff --git a/docs/conf.py b/docs/conf.py
index 81000ce..135c236 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -5,6 +5,7 @@ import setuptools_scm
 
 extensions = [
     'sphinx.ext.autodoc',
+    'rst.linker',
 ]
 
 # General information about the project.
@@ -17,3 +18,22 @@ version = setuptools_scm.get_version(root='..', relative_to=__file__)
 release = version
 
 master_doc = 'index'
+
+link_files = {
+	'CHANGES.rst': dict(
+		using=dict(
+			GH='https://github.com',
+			project=project,
+		),
+		replace=[
+			dict(
+				pattern=r"(Issue )?#(?P<issue>\d+)",
+				url='{GH}/jaraco/{project}/issues/{issue}',
+			),
+			dict(
+				pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
+				with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
+			),
+		],
+	),
+}
diff --git a/docs/history.rst b/docs/history.rst
index 907000b..8e21750 100644
--- a/docs/history.rst
+++ b/docs/history.rst
@@ -5,4 +5,4 @@
 History
 *******
 
-.. include:: ../CHANGES.rst
+.. include:: ../CHANGES (links).rst
diff --git a/docs/index.rst b/docs/index.rst
index 5a04483..ae93273 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -6,7 +6,7 @@ Welcome to pytest-runner documentation!
 
    history
 
-.. include:: ../README.txt
+.. include:: ../README.rst
 
 Indices and tables
 ==================
diff --git a/pytest_runner.egg-info/PKG-INFO b/pytest_runner.egg-info/PKG-INFO
index 8474242..45c23e1 100644
--- a/pytest_runner.egg-info/PKG-INFO
+++ b/pytest_runner.egg-info/PKG-INFO
@@ -1,8 +1,8 @@
 Metadata-Version: 1.1
 Name: pytest-runner
-Version: 2.7
-Summary: Invoke py.test as distutils command with dependency resolution.
-Home-page: https://bitbucket.org/pytest-dev/pytest-runner
+Version: 2.7.1
+Summary: Invoke py.test as distutils command with dependency resolution
+Home-page: https://github.com/pytest-dev/pytest-runner
 Author: Jason R. Coombs
 Author-email: jaraco at jaraco.com
 License: UNKNOWN
@@ -50,7 +50,7 @@ Description: pytest-runner
         required by the session before invoking pytest.
         
         See the `jaraco.collections
-        <https://bitbucket.org/jaraco/jaraco.collections/>`_ project
+        <https://github.com/jaraco/jaraco.collections>`_ project
         for real-world usage.
         
         Standalone Example
@@ -61,9 +61,13 @@ Description: pytest-runner
         also be used to create standalone tests. Consider `this example
         failure <https://gist.github.com/jaraco/d979a558bc0bf2194c23>`_,
         reported in `jsonpickle #117
-        <https://github.com/jsonpickle/jsonpickle/issues/117>`_.
+        <https://github.com/jsonpickle/jsonpickle/issues/117>`_
+        or `this MongoDB test
+        <https://gist.github.com/jaraco/0b9e482f5c0a1300dc9a>`_
+        demonstrating a technique that works even when dependencies
+        are required in the test.
         
-        That single file may be cloned or downloaded and simply run on
+        Either example file may be cloned or downloaded and simply run on
         any system with Python and Setuptools. It will download the
         specified dependencies and run the tests. Afterward, the the
         cloned directory can be removed and with it all trace of
diff --git a/pytest_runner.egg-info/SOURCES.txt b/pytest_runner.egg-info/SOURCES.txt
index 9784ece..3de6ac5 100644
--- a/pytest_runner.egg-info/SOURCES.txt
+++ b/pytest_runner.egg-info/SOURCES.txt
@@ -15,4 +15,5 @@ pytest_runner.egg-info/PKG-INFO
 pytest_runner.egg-info/SOURCES.txt
 pytest_runner.egg-info/dependency_links.txt
 pytest_runner.egg-info/entry_points.txt
+pytest_runner.egg-info/namespace_packages.txt
 pytest_runner.egg-info/top_level.txt
\ No newline at end of file
diff --git a/pytest_runner.egg-info/namespace_packages.txt b/pytest_runner.egg-info/namespace_packages.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/pytest_runner.egg-info/namespace_packages.txt
@@ -0,0 +1 @@
+
diff --git a/setup.cfg b/setup.cfg
index 8efa130..5532539 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,12 +1,12 @@
 [aliases]
-release = sdist bdist_wheel build_sphinx upload upload_docs
+release = clean --all sdist bdist_wheel build_sphinx upload upload_docs
 test = pytest
 
 [wheel]
 universal = 1
 
 [egg_info]
-tag_date = 0
 tag_svn_revision = 0
 tag_build = 
+tag_date = 0
 
diff --git a/setup.py b/setup.py
index 0cb6716..a81681d 100644
--- a/setup.py
+++ b/setup.py
@@ -13,19 +13,22 @@ with io.open('README.rst', encoding='utf-8') as readme:
 needs_pytest = set(['pytest', 'test']).intersection(sys.argv)
 pytest_runner = ['pytest_runner'] if needs_pytest else []
 needs_sphinx = set(['release', 'build_sphinx', 'upload_docs']).intersection(sys.argv)
-sphinx = ['sphinx'] if needs_sphinx else []
+sphinx = ['sphinx', 'rst.linker'] if needs_sphinx else []
 needs_wheel = set(['release', 'bdist_wheel']).intersection(sys.argv)
 wheel = ['wheel'] if needs_wheel else []
 
+name = 'pytest-runner'
+description = 'Invoke py.test as distutils command with dependency resolution'
+
 setup_params = dict(
-	name='pytest-runner',
+	name=name,
 	use_scm_version=True,
 	author="Jason R. Coombs",
 	author_email="jaraco at jaraco.com",
-	description="Invoke py.test as distutils command with dependency "
-		"resolution.",
+	description=description or name,
 	long_description=long_description,
-	url="https://bitbucket.org/pytest-dev/pytest-runner",
+	url="https://github.com/pytest-dev/" + name,
+	namespace_packages=name.split('.')[:-1],
 	py_modules=['ptr'],
 	install_requires=[
 	],

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest-runner.git



More information about the Python-modules-commits mailing list