From d4585f432812480d5bf5f9bde07511dfdade2146 Mon Sep 17 00:00:00 2001 From: "Paul R. C. Kent" Date: Sat, 29 May 2021 21:52:36 -0400 Subject: [PATCH] New versions: py-sphinxcontrib-bibtex, py-sphinx-rtd-theme, py-pybtex-docutils, py-pybtex (#24009) * New versions * update deps * py-sphinxcontrib-bibtex deps --- .../builtin/packages/py-pybtex-docutils/package.py | 4 +++- var/spack/repos/builtin/packages/py-pybtex/package.py | 5 ++++- .../builtin/packages/py-sphinx-rtd-theme/package.py | 2 ++ .../packages/py-sphinxcontrib-bibtex/package.py | 11 +++++++++-- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-pybtex-docutils/package.py b/var/spack/repos/builtin/packages/py-pybtex-docutils/package.py index 25d78a99c7..7d5af532b6 100644 --- a/var/spack/repos/builtin/packages/py-pybtex-docutils/package.py +++ b/var/spack/repos/builtin/packages/py-pybtex-docutils/package.py @@ -11,11 +11,13 @@ class PyPybtexDocutils(PythonPackage): pypi = "pybtex-docutils/pybtex-docutils-0.2.1.tar.gz" + version('1.0.0', sha256='cead6554b4af99c287dd29f38b1fa152c9542f56a51cb6cbc3997c95b2725b2e') version('0.2.2', sha256='ea90935da188a0f4de2fe6b32930e185c33a0e306154322ccc12e519ebb5fa7d') version('0.2.1', sha256='e4b075641c1d68a3e98a6d73ad3d029293fcf9e0773512315ef9c8482f251337') depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('python@3.6:', type=('build', 'run'), when='@1.0.0:') depends_on('py-setuptools', type='build') depends_on('py-docutils@0.8:', type=('build', 'run')) depends_on('py-pybtex@0.16:', type=('build', 'run')) - depends_on('py-six', type=('build', 'run')) + depends_on('py-six', type=('build', 'run'), when='@:0.2.2') diff --git a/var/spack/repos/builtin/packages/py-pybtex/package.py b/var/spack/repos/builtin/packages/py-pybtex/package.py index 980393ae07..819d573e66 100644 --- a/var/spack/repos/builtin/packages/py-pybtex/package.py +++ b/var/spack/repos/builtin/packages/py-pybtex/package.py @@ -12,11 +12,14 @@ class PyPybtex(PythonPackage): Python.""" homepage = "https://pybtex.org" - pypi = "Pybtex/pybtex-0.21.tar.gz" + pypi = "pybtex/pybtex-0.24.0.tar.gz" + version('0.24.0', sha256='818eae35b61733e5c007c3fcd2cfb75ed1bc8b4173c1f70b56cc4c0802d34755') version('0.21', sha256='af8a6c7c74954ad305553b118d2757f68bc77c5dd5d5de2cc1fd16db90046000') + depends_on('python@2.7:2.8,3.3:', type=('build', 'run')) depends_on('py-setuptools', type='build') depends_on('py-latexcodec@1.0.4:', type=('build', 'run')) depends_on('py-pyyaml@3.01:', type=('build', 'run')) depends_on('py-counter@1:', when='^python@:2.6', type=('build', 'run')) + depends_on('py-six', type=('build', 'run'), when='@0.24.0:') diff --git a/var/spack/repos/builtin/packages/py-sphinx-rtd-theme/package.py b/var/spack/repos/builtin/packages/py-sphinx-rtd-theme/package.py index 150450f5b7..6608086b86 100644 --- a/var/spack/repos/builtin/packages/py-sphinx-rtd-theme/package.py +++ b/var/spack/repos/builtin/packages/py-sphinx-rtd-theme/package.py @@ -12,12 +12,14 @@ class PySphinxRtdTheme(PythonPackage): homepage = "https://github.com/readthedocs/sphinx_rtd_theme" pypi = "sphinx-rtd-theme/sphinx_rtd_theme-0.5.1.tar.gz" + version('0.5.2', sha256='32bd3b5d13dc8186d7a42fc816a23d32e83a4827d7d9882948e7b837c232da5a') version('0.5.1', sha256='eda689eda0c7301a80cf122dad28b1861e5605cbf455558f3775e1e8200e83a5') version('0.5.0', sha256='22c795ba2832a169ca301cd0a083f7a434e09c538c70beb42782c073651b707d') version('0.4.3', sha256='728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a') depends_on('py-setuptools', type='build') depends_on('py-sphinx', when='@0.4.1:', type=('build', 'run')) + depends_on('py-docutils@:0.16', when='@0.5.2:', type=('build', 'run')) def setup_build_environment(self, env): # Hack to prevent usage of npm in 0.5+ diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-bibtex/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-bibtex/package.py index 9cfc4e8e65..27e2e5e1b1 100644 --- a/var/spack/repos/builtin/packages/py-sphinxcontrib-bibtex/package.py +++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-bibtex/package.py @@ -11,6 +11,9 @@ class PySphinxcontribBibtex(PythonPackage): pypi = "sphinxcontrib-bibtex/sphinxcontrib-bibtex-0.3.5.tar.gz" + version('2.2.1', sha256='00d474092e04b1d941e645cf6c027632a975cd0b9337cf47d379f63a5928f334') + version('2.2.0', sha256='7500843e154d76983c23bca5ca7380965e0725c46b8f484c1322d0b58a6ce3b2') + version('2.1.4', sha256='f53ec0cd534d2c8f0a51b4b3473ced46e9cb0dd99a7c5019249fe0ef9cbef18e') version('2.0.0', sha256='98e18eb0b088d3f556199f3fbb91d3d48ebb7596fe86b6c37cc4c4dc5419b7a1') version('1.0.0', sha256='629612b001f86784669d65e662377a482052decfd9a0a17c46860878eef7b9e0') version('0.3.5', sha256='c93e2b4a0d14f0ab726f95f0a33c1675965e9df3ed04839635577b8f978206cd') @@ -19,13 +22,17 @@ class PySphinxcontribBibtex(PythonPackage): depends_on('python@3.5:', type=('build', 'run'), when='@1:') depends_on('python@3.6:', type=('build', 'run'), when='@2:') depends_on('py-setuptools', type='build') - depends_on('py-latexcodec@0.3.0:', type=('build', 'run')) + depends_on('py-latexcodec@0.3.0:', type=('build', 'run'), when='@:0.3.6') depends_on('py-pybtex@0.17:', type=('build', 'run'), when='@:1.9.9') depends_on('py-pybtex@0.20:', type=('build', 'run'), when='@2.0.0:') depends_on('py-pybtex-docutils@0.2.0:', type=('build', 'run'), when='@:1.9.9') depends_on('py-pybtex-docutils@0.2.2:', type=('build', 'run'), when='@2.0.0:') + depends_on('py-pybtex-docutils@1.0.0:', type=('build', 'run'), when='@2.2.0:') depends_on('py-six@1.4.1:', type=('build', 'run'), when='@0.3.5') depends_on('py-sphinx@1.0:', type=('build', 'run'), when='@:1.9.9') depends_on('py-sphinx@2.0:', type=('build', 'run'), when='@2.0.0:') - depends_on('py-oset@0.1.3:', type=('build', 'run')) + depends_on('py-sphinx@2.1:', type=('build', 'run'), when='@2.1.3:') + depends_on('py-oset@0.1.3:', type=('build', 'run'), when='@:2.0.0') depends_on('py-ordereddict@1.1:', when='^python@:2.6', type=('build', 'run')) + depends_on('py-docutils@0.8:', type=('build', 'run'), when='@2.1.0:') + depends_on('py-dataclasses', when='@2.2.0: ^python@:3.6', type=('build', 'run'))