[Python-modules-commits] [backports.functools-lru-cache] 01/06: Import backports.functools-lru-cache_1.4.orig.tar.gz

Sandro Tosi morph at moszumanska.debian.org
Fri Dec 1 00:13:41 UTC 2017


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

morph pushed a commit to branch master
in repository backports.functools-lru-cache.

commit 561cb8ecc1a14539dd4292eeb7031439dce4618b
Author: Sandro Tosi <morph at debian.org>
Date:   Thu Nov 30 18:59:23 2017 -0500

    Import backports.functools-lru-cache_1.4.orig.tar.gz
---
 .readthedocs.yml                                   |  5 ++++
 .travis.yml                                        |  7 +++---
 CHANGES.rst                                        |  6 +++++
 PKG-INFO                                           |  9 ++++++--
 README.rst                                         |  4 ++++
 appveyor.yml                                       | 19 +++++++++++++++
 .../PKG-INFO                                       | 11 ++++++---
 backports.functools_lru_cache.egg-info/SOURCES.txt | 21 +++++++++++++++++
 .../dependency_links.txt                           |  1 +
 .../requires.txt                                   |  9 ++++++++
 .../top_level.txt                                  |  1 +
 backports/__init__.py                              |  2 +-
 docs/conf.py                                       | 27 ++++++++--------------
 setup.cfg                                          |  4 ----
 setup.py                                           | 23 ++++++++++--------
 tests/requirements.txt                             |  1 -
 tox.ini                                            |  9 ++++----
 17 files changed, 115 insertions(+), 44 deletions(-)

diff --git a/.readthedocs.yml b/.readthedocs.yml
new file mode 100644
index 0000000..8ae4468
--- /dev/null
+++ b/.readthedocs.yml
@@ -0,0 +1,5 @@
+python:
+  version: 3
+  extra_requirements:
+    - docs
+  pip_install: true
diff --git a/.travis.yml b/.travis.yml
index a7eeab9..6f2b006 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,9 +3,9 @@ language: python
 python:
 - 2.6
 - 2.7
-- 3.5
+- 3.6
 install:
-- pip install tox
+- pip install tox "setuptools>=28.2"
 script:
 - tox
 branches:
@@ -17,8 +17,9 @@ deploy:
   on:
     tags: true
     all_branches: true
-    python: 3.5
+    python: 3.6
   user: jaraco
   distributions: dists
+  skip_upload_docs: true
   password:
     secure: mJUt/9xGGfOMjAug7PEJojli2VgQyoCKx88amgK595lfdK/cAmTGi/na3Hw3Kt/7bfNjGCWyYzoXZ1VAhCDiiG8mOnWszTSNoeQSS4NCTkR7f1oUEo7izLrsGpEs8aveXY3XlqW5VTnssaL526ju5vIXDPKvhqvLrYkd7mP62HcL3rbSJM72D54OUVVX0gEKf4swgwjQe6xNQyRQpq/QcIKXxqgKF3/qIbnJQWGv7tDuxaWLghh2gx3oBNZVmQKBWfokwjp+PWV7zqIrE2o5sZ5Jkh+kt5+UOVDyMh/3Fd4s2G6ZD6asDRA5QBQxo/QtF2fQsi8heE4VgChRrnKzYXAZN1CSEj9i7BgBq2nbRod5WqlCR44zC44A4qS+D5ZlZVdmamZY9ni2/vZ6xMxl4m8Yk30xBHIoo+huJjLimnOETp9YTArMlebfPetCE6C6Tu3rmVoftiW2npjaBBxDCglSdRmluf+f [...]
diff --git a/CHANGES.rst b/CHANGES.rst
index cfc1a72..3a3117e 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,3 +1,9 @@
+1.4
+===
+
+#9: Updated namespace package to use pkgutil for declaring the
+namespace.
+
 1.3
 ===
 
diff --git a/PKG-INFO b/PKG-INFO
index 2c2c042..b6d8735 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: backports.functools_lru_cache
-Version: 1.3
+Version: 1.4
 Summary: backports.functools_lru_cache
 Home-page: https://github.com/jaraco/backports.functools_lru_cache
 Author: Jason R. Coombs
@@ -16,6 +16,10 @@ Description: .. image:: https://img.shields.io/pypi/v/backports.functools_lru_ca
         .. image:: https://img.shields.io/travis/jaraco/backports.functools_lru_cache/master.svg
            :target: http://travis-ci.org/jaraco/backports.functools_lru_cache
         
+        
+        License
+        =======
+        
         License is indicated in the project metadata (typically one or more
         of the Trove classifiers). For more details, see `this explanation
         <https://github.com/jaraco/skeleton/issues/1>`_.
@@ -40,3 +44,4 @@ Classifier: License :: OSI Approved :: MIT License
 Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
+Requires-Python: >=2.6
diff --git a/README.rst b/README.rst
index 8806b9f..c2ba2cd 100644
--- a/README.rst
+++ b/README.rst
@@ -8,6 +8,10 @@
 .. image:: https://img.shields.io/travis/jaraco/backports.functools_lru_cache/master.svg
    :target: http://travis-ci.org/jaraco/backports.functools_lru_cache
 
+
+License
+=======
+
 License is indicated in the project metadata (typically one or more
 of the Trove classifiers). For more details, see `this explanation
 <https://github.com/jaraco/skeleton/issues/1>`_.
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..e856af3
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,19 @@
+environment:
+
+  APPVEYOR: true
+
+  matrix:
+    - PYTHON: "C:\\Python36-x64"
+    - PYTHON: "C:\\Python27-x64"
+
+install:
+  # symlink python from a directory with a space
+  - "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
+  - "SET PYTHON=\"C:\\Program Files\\Python\""
+  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
+
+build: off
+
+test_script:
+  - "python -m pip install tox"
+  - "tox"
diff --git a/PKG-INFO b/backports.functools_lru_cache.egg-info/PKG-INFO
similarity index 92%
copy from PKG-INFO
copy to backports.functools_lru_cache.egg-info/PKG-INFO
index 2c2c042..0706df7 100644
--- a/PKG-INFO
+++ b/backports.functools_lru_cache.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
-Name: backports.functools_lru_cache
-Version: 1.3
+Metadata-Version: 1.2
+Name: backports.functools-lru-cache
+Version: 1.4
 Summary: backports.functools_lru_cache
 Home-page: https://github.com/jaraco/backports.functools_lru_cache
 Author: Jason R. Coombs
@@ -16,6 +16,10 @@ Description: .. image:: https://img.shields.io/pypi/v/backports.functools_lru_ca
         .. image:: https://img.shields.io/travis/jaraco/backports.functools_lru_cache/master.svg
            :target: http://travis-ci.org/jaraco/backports.functools_lru_cache
         
+        
+        License
+        =======
+        
         License is indicated in the project metadata (typically one or more
         of the Trove classifiers). For more details, see `this explanation
         <https://github.com/jaraco/skeleton/issues/1>`_.
@@ -40,3 +44,4 @@ Classifier: License :: OSI Approved :: MIT License
 Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
+Requires-Python: >=2.6
diff --git a/backports.functools_lru_cache.egg-info/SOURCES.txt b/backports.functools_lru_cache.egg-info/SOURCES.txt
new file mode 100644
index 0000000..fbd383f
--- /dev/null
+++ b/backports.functools_lru_cache.egg-info/SOURCES.txt
@@ -0,0 +1,21 @@
+.gitignore
+.readthedocs.yml
+.travis.yml
+CHANGES.rst
+README.rst
+appveyor.yml
+pytest.ini
+setup.cfg
+setup.py
+tox.ini
+backports/__init__.py
+backports/functools_lru_cache.py
+backports.functools_lru_cache.egg-info/PKG-INFO
+backports.functools_lru_cache.egg-info/SOURCES.txt
+backports.functools_lru_cache.egg-info/dependency_links.txt
+backports.functools_lru_cache.egg-info/requires.txt
+backports.functools_lru_cache.egg-info/top_level.txt
+docs/conf.py
+docs/history.rst
+docs/index.rst
+tests/test_lru_cache.py
\ No newline at end of file
diff --git a/backports.functools_lru_cache.egg-info/dependency_links.txt b/backports.functools_lru_cache.egg-info/dependency_links.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/backports.functools_lru_cache.egg-info/dependency_links.txt
@@ -0,0 +1 @@
+
diff --git a/backports.functools_lru_cache.egg-info/requires.txt b/backports.functools_lru_cache.egg-info/requires.txt
new file mode 100644
index 0000000..2f33956
--- /dev/null
+++ b/backports.functools_lru_cache.egg-info/requires.txt
@@ -0,0 +1,9 @@
+
+[docs]
+sphinx
+jaraco.packaging>=3.2
+rst.linker>=1.9
+
+[testing]
+pytest>=2.8
+pytest-sugar
diff --git a/backports.functools_lru_cache.egg-info/top_level.txt b/backports.functools_lru_cache.egg-info/top_level.txt
new file mode 100644
index 0000000..99d2be5
--- /dev/null
+++ b/backports.functools_lru_cache.egg-info/top_level.txt
@@ -0,0 +1 @@
+backports
diff --git a/backports/__init__.py b/backports/__init__.py
index 5284146..69e3be5 100644
--- a/backports/__init__.py
+++ b/backports/__init__.py
@@ -1 +1 @@
-__import__("pkg_resources").declare_namespace(__name__)
+__path__ = __import__('pkgutil').extend_path(__path__, __name__)
diff --git a/docs/conf.py b/docs/conf.py
index 8ec74ba..8bc8298 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,38 +1,31 @@
 #!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
-import pkg_resources
-
 extensions = [
     'sphinx.ext.autodoc',
+    'jaraco.packaging.sphinx',
     'rst.linker',
 ]
 
-# General information about the project.
-project = 'backports.functools_lru_cache'
-copyright = '2015-2016 Jason R. Coombs'
-
-# The short X.Y version.
-version = pkg_resources.require(project)[0].version
-# The full version, including alpha/beta/rc tags.
-release = version
-
 master_doc = 'index'
 
 link_files = {
-	'CHANGES.rst': dict(
+	'../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}',
+				pattern=r'(Issue )?#(?P<issue>\d+)',
+				url='{package_url}/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',
 			),
 			dict(
-				pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
-				with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
+				pattern=r'PEP[- ](?P<pep_number>\d+)',
+				url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
 			),
 		],
 	),
diff --git a/setup.cfg b/setup.cfg
index c1794d2..b72bd8e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -5,11 +5,7 @@ dists = clean --all sdist bdist_wheel
 [wheel]
 universal = 1
 
-[upload]
-repository = https://upload.pypi.org/legacy/
-
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/setup.py b/setup.py
index 4568df7..cebbe3f 100644
--- a/setup.py
+++ b/setup.py
@@ -3,20 +3,16 @@
 # Project skeleton maintained at https://github.com/jaraco/skeleton
 
 import io
-import sys
 
 import setuptools
 
 with io.open('README.rst', encoding='utf-8') as readme:
 	long_description = readme.read()
 
-needs_wheel = set(['release', 'bdist_wheel', 'dists']).intersection(sys.argv)
-wheel = ['wheel'] if needs_wheel else []
-
 name = 'backports.functools_lru_cache'
 description = ''
 
-setup_params = dict(
+params = dict(
 	name=name,
 	use_scm_version=True,
 	author="Raymond Hettinger",
@@ -28,14 +24,23 @@ setup_params = dict(
 	url="https://github.com/jaraco/" + name,
 	packages=setuptools.find_packages(),
 	include_package_data=True,
-	namespace_packages=name.split('.')[:-1],
+	python_requires='>=2.6',
 	install_requires=[
 	],
 	extras_require={
+		'testing': [
+			'pytest>=2.8',
+			'pytest-sugar',
+		],
+		'docs': [
+			'sphinx',
+			'jaraco.packaging>=3.2',
+			'rst.linker>=1.9',
+		],
 	},
 	setup_requires=[
-		'setuptools_scm>=1.9',
-	] + wheel,
+		'setuptools_scm>=1.15.0',
+	],
 	classifiers=[
 		"Development Status :: 5 - Production/Stable",
 		"Intended Audience :: Developers",
@@ -48,4 +53,4 @@ setup_params = dict(
 	},
 )
 if __name__ == '__main__':
-	setuptools.setup(**setup_params)
+	setuptools.setup(**params)
diff --git a/tests/requirements.txt b/tests/requirements.txt
deleted file mode 100644
index 70bc02f..0000000
--- a/tests/requirements.txt
+++ /dev/null
@@ -1 +0,0 @@
-pytest >= 2.8
diff --git a/tox.ini b/tox.ini
index 564f205..1ae06ef 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,7 @@
-[testenv]
-deps =
-	-rtests/requirements.txt
+[tox]
+minversion = 2.4
 
-commands = py.test
+[testenv]
+commands = py.test {posargs}
 usedevelop = True
+extras = testing

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/backports.functools-lru-cache.git



More information about the Python-modules-commits mailing list