Skip to content

Added minuit package#8536

Merged
adamjstewart merged 8 commits intospack:developfrom
paul-chelarescu:packages/minuit
Jun 22, 2018
Merged

Added minuit package#8536
adamjstewart merged 8 commits intospack:developfrom
paul-chelarescu:packages/minuit

Conversation

@paul-chelarescu
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Member

@adamjstewart adamjstewart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work without a url_for_version? I don't know if spack is smart enough to replace the version in one place with periods and another with underscores.


homepage = "https://root.cern.ch"
url = "https://root.cern.ch/download/root_v6.09.02.source.tar.gz"
list_url = "https://root.cern.ch/download/"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paul-chelarescu I think this should not be on this PR.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct


patch('sprintf.cxx.patch', when='@5.08.00:5.18.00')
patch('sprintf.patch', when='@:1.7.9')
patch('LASymMatrix.h.patch', when='@:1.7.6')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These versions don't exist in this PR.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, they are old versions whose checksum I haven't added

version('5.08.00', '1cc8da07c4a247c877f39acf8d76ba02')

def url_for_version(self, version):
print version
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you delete this line? It doesn't even work in Python 3.

version('1.6.3', '955f560d0fb17bd7f081eddd7080fad6')
version('1.6.0', '6992d70fc8fded50be49b6b358b58507')
version('1.5.2', '31a0698febe59edd70aa001c4d7a56f8')
version('1.5.0', 'bc502c66af071fcdc0a2ae45a8740c75')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, do you really need all of these versions? I usually only add the latest version. It makes it easier to maintain the package, as there are fewer versions to test when making changes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current url configuration only allows the versions command to see the versions greater than 5 and this seems to be the only way to display the old versions which can be otherwise built successfully.

@adamjstewart adamjstewart merged commit 3e7f525 into spack:develop Jun 22, 2018
@adamjstewart
Copy link
Copy Markdown
Member

Thanks @paul-chelarescu, welcome to Spack!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants