summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-08-30 02:11:44 -0500
committerGitHub <noreply@github.com>2021-08-30 09:11:44 +0200
commit1bf051e229a6ba8b21864b94e58be35f3cd3a798 (patch)
treea9b80fb3788691b88101550848b01d47ddbe36e8 /var
parent506f62ddfe6b7288d14dcc75a54b65af38522dbe (diff)
downloadspack-1bf051e229a6ba8b21864b94e58be35f3cd3a798.tar.gz
spack-1bf051e229a6ba8b21864b94e58be35f3cd3a798.tar.bz2
spack-1bf051e229a6ba8b21864b94e58be35f3cd3a798.tar.xz
spack-1bf051e229a6ba8b21864b94e58be35f3cd3a798.zip
py-pbr: fix import tests (#25679)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pbr/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pbr/package.py b/var/spack/repos/builtin/packages/py-pbr/package.py
index 701d8a835d..09bb49d295 100644
--- a/var/spack/repos/builtin/packages/py-pbr/package.py
+++ b/var/spack/repos/builtin/packages/py-pbr/package.py
@@ -12,6 +12,9 @@ class PyPbr(PythonPackage):
pypi = "pbr/pbr-5.4.3.tar.gz"
+ # Skip 'pbr.tests' imports
+ import_modules = ['pbr', 'pbr.cmd', 'pbr.hooks']
+
version('5.4.3', sha256='2c8e420cd4ed4cec4e7999ee47409e876af575d4c35a45840d59e8b5f3155ab8')
version('5.2.1', sha256='93d2dc6ee0c9af4dbc70bc1251d0e545a9910ca8863774761f92716dece400b6')
version('3.1.1', sha256='05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1')