summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-xml/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-xml/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-xml/package.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/r-xml/package.py b/var/spack/repos/builtin/packages/r-xml/package.py
index c9825987dc..5fd7c108f9 100644
--- a/var/spack/repos/builtin/packages/r-xml/package.py
+++ b/var/spack/repos/builtin/packages/r-xml/package.py
@@ -7,16 +7,15 @@ from spack import *
class RXml(RPackage):
- """Tools for Parsing and Generating XML Within R and S-Plus
+ """Tools for Parsing and Generating XML Within R and S-Plus.
Many approaches for both reading and creating XML (and HTML) documents
(including DTDs), both local and accessible via HTTP or FTP. Also offers
access to an 'XPath' "interpreter"."""
- homepage = "https://cloud.r-project.org/package=XML"
- url = "https://cloud.r-project.org/src/contrib/XML_3.98-1.9.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/XML"
+ cran = "XML"
+ version('3.99-0.8', sha256='081f691c2ee8ad39c7c95281e7d9153ec04cee79ca2d41f5d82c2ec2f1d36b50')
version('3.99-0.5', sha256='60529b7360f162eba07da455eeb9b94a732b2dd623c49e0f04328a2e97bd53a6')
version('3.98-1.20', sha256='46af86376ea9a0fb1b440cf0acdf9b89178686a05c4b77728fcff1f023aa4858')
version('3.98-1.19', sha256='81b1c4a2df24c5747fa8b8ec2d76b4e9c3649b56ca94f6c93fbd106c8a72beab')
@@ -25,5 +24,5 @@ class RXml(RPackage):
version('3.98-1.4', sha256='9c0abc75312f66aac564266b6b79222259c678aedee9fc347462978354f11126')
depends_on('r@2.13.0:', type=('build', 'run'))
- depends_on('r@4.0.0:', when='@3.99-0.5:', type=('build', 'run'))
+ depends_on('r@4.0.0:', type=('build', 'run'), when='@3.99-0.5:')
depends_on('libxml2@2.6.3:')