[med-svn] [python-bd2k] 01/01: Preparing for reupload.
Steffen Möller
moeller at moszumanska.debian.org
Sat Feb 10 15:35:56 UTC 2018
This is an automated email from the git hooks/post-receive script.
moeller pushed a commit to branch master
in repository python-bd2k.
commit 9c2b11bd682302d47d50b05fe5e7ab90e33eff1e
Author: Steffen Moeller <moeller at debian.org>
Date: Tue Jan 31 18:58:16 2017 +0100
Preparing for reupload.
---
debian/README.Debian | 9 ++---
debian/changelog | 9 ++++-
debian/control | 37 ++++++++++-----------
debian/patches/no_boto_test.patch | 69 +++++++++++++++++++++++++++++++++++++++
debian/rules | 2 +-
5 files changed, 100 insertions(+), 26 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
index 859229f..5be4bdb 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,10 +1,11 @@
bd2k-python-lib for Debian
--------------------------
+--------------------------
-The package ships with automated tests which yet need to be activated.
+The package ships with automated tests which are yet
+only performed for the Python 2.7 package 'python-bd2k'.
The code is incompatible with Python3, which is noticed upon installation
-of the package, not at build time. The python3 binary is left commented
-out until the situation changes.
+of the package, not at build time. The python3 'python3-bd2k'
+binary is left commented out until the situation changes.
-- Steffen Moeller <moeller at debian.org> Fri, 13 Jan 2017 19:31:02 +0100
diff --git a/debian/changelog b/debian/changelog
index e7aa5c0..9893bab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,11 @@
-python-bd2k (1.14~alpha1.37-2) unstable; urgency=medium
+python-bd2k (1.14~alpha1.37-3) unstable; urgency=medium
+
+ * Reupload with no functional changes
+ * Added prior omitted patch to git repository
+
+ -- Steffen Moeller <moeller at debian.org> Tue, 31 Jan 2017 18:57:37 +0100
+
+python-bd2k (1.14~alpha1.37-2) UNRELEASED; urgency=medium
* Python3 package is not installable because of a syntax error
* Activated autotests for python2 only.
diff --git a/debian/control b/debian/control
index 57d2b67..21da2c8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,29 +3,35 @@ Section: python
Priority: extra
Maintainer: Steffen Moeller <moeller at debian.org>
Build-Depends: debhelper (>= 9), dh-python, python-all, python-setuptools, python3-all, python3-setuptools,
- python-boto,python3-boto,
- python-dill,python3-dill,
- python-lockfile,python3-lockfile,
- python-mock,python3-mock,
- python-pytest,python3-pytest
+ python-boto,
+ python-dill,
+ python-lockfile,
+ python-mock,
+ python-pytest
+# Test not performing correctly.
+# python-boto, python3-boto,
+# python-dill, python3-dill,
+# python-lockfile, python3-lockfile,
+# python-mock, python3-mock,
+# python-pytest, python3-pytest
Standards-Version: 3.9.8
Homepage: https://github.com/BD2KGenomics/bd2k-python-lib
X-Python-Version: >= 2.6
#X-Python3-Version: >= 3.2
Vcs-Git: https://anonscm.debian.org/git/debian-med/python-bd2k.git
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-bd2k.git/
-#Testsuite: autopkgtest-pkg-python
+Testsuite: autopkgtest-pkg-python
Package: python-bd2k
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}
Description: utilities for BD2KGenomics (Python 2)
- This package provides a range of smallish software solutions
- like hashes and hash tables or iterators that are of importance
- to a range of reverse dependencies of the BD2KGenomics
- repository.
+ This package is a dependency for the toil workflow engine.
+ It provides a range of smallish software solutions
+ like hashes and hash tables or iterators.
.
- This package installs the library for Python 2.
+ This package installs the library for Python 2. The
+ package for Python 3 is currently not installable.
#Package: python3-bd2k
#Architecture: all
@@ -37,12 +43,3 @@ Description: utilities for BD2KGenomics (Python 2)
# repository.
# .
# This package installs the library for Python 3.
-
-#Package: python-bd2k-python-lib-doc
-#Architecture: all
-#Section: doc
-#Depends: ${sphinxdoc:Depends}, ${misc:Depends}
-#Description: <insert up to 60 chars description> (common documentation)
-# <insert long description, indented with spaces>
-# .
-# This is the common documentation package.
diff --git a/debian/patches/no_boto_test.patch b/debian/patches/no_boto_test.patch
new file mode 100644
index 0000000..ea68a0f
--- /dev/null
+++ b/debian/patches/no_boto_test.patch
@@ -0,0 +1,69 @@
+Index: python-bd2k/src/bd2k/util/ec2/test/test_credentials.py
+===================================================================
+--- python-bd2k.orig/src/bd2k/util/ec2/test/test_credentials.py
++++ python-bd2k/src/bd2k/util/ec2/test/test_credentials.py
+@@ -15,34 +15,36 @@ def get_access_key( ):
+ return None if provider._credential_expiry_time is None else provider.get_access_key( )
+
+
+-class CredentialsTest( unittest.TestCase ):
+- def __init__( self, *args, **kwargs ):
+- super( CredentialsTest, self ).__init__( *args, **kwargs )
+- self.cache_path = os.path.expanduser( cache_path )
+-
+- @classmethod
+- def setUpClass( cls ):
+- super( CredentialsTest, cls ).setUpClass( )
+- logging.basicConfig( level=logging.DEBUG )
+-
+- def setUp( self ):
+- super( CredentialsTest, self ).setUp( )
+- self.cleanUp( )
+-
+- def cleanUp( self ):
+- try:
+- os.unlink( self.cache_path )
+- except OSError as e:
+- if e.errno == errno.ENOENT:
+- pass
+- else:
+- raise
+-
+- def tearDown( self ):
+- super( CredentialsTest, self ).tearDown( )
+- self.cleanUp( )
+-
+- def test_metadata_credential_caching( self ):
++class CredentialsTest(
++ # unittest.TestCase
++):
++# def __init__( self, *args, **kwargs ):
++# super( CredentialsTest, self ).__init__( *args, **kwargs )
++# self.cache_path = os.path.expanduser( cache_path )
++#
++# @classmethod
++# def setUpClass( cls ):
++# super( CredentialsTest, cls ).setUpClass( )
++# logging.basicConfig( level=logging.DEBUG )
++#
++# def setUp( self ):
++# super( CredentialsTest, self ).setUp( )
++# self.cleanUp( )
++#
++# def cleanUp( self ):
++# try:
++# os.unlink( self.cache_path )
++# except OSError as e:
++# if e.errno == errno.ENOENT:
++# pass
++# else:
++# raise
++#
++# def tearDown( self ):
++# super( CredentialsTest, self ).tearDown( )
++# self.cleanUp( )
++#
++ def _test_metadata_credential_caching( self ):
+ """
+ Brute forces many concurrent requests for getting temporary credentials. If you comment
+ out the calls to enable_metadata_credential_caching, you should see some failures due to
diff --git a/debian/rules b/debian/rules
index a36a7c7..e11c91b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ export PYBUILD_DESTDIR_python3=debian/python3-bd2k/
export PYBUILD_DISABLE_python3=test
%:
- dh $@ --with python2 --buildsystem=pybuild
+ dh $@ --with python2,python3 --buildsystem=pybuild
# If you need to rebuild the Sphinx documentation
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-bd2k.git
More information about the debian-med-commit
mailing list