Skip to content

Commit

Permalink
Merge pull request easybuilders#21750 from PetrKralCZ/20241025202859_…
Browse files Browse the repository at this point in the history
…new_pr_CPPE031

{chem}[GCC/12.3.0] CPPE v0.3.1
  • Loading branch information
laraPPr authored Oct 28, 2024
2 parents 968d710 + bacbb82 commit c366a20
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions easybuild/easyconfigs/c/CPPE/CPPE-0.3.1-GCC-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
easyblock = 'CMakeMake'

name = 'CPPE'
version = '0.3.1'

homepage = 'https://github.com/maxscheurer/cppe'
description = """CPPE is an open-source, light-weight C++ and Python library for Polarizable
Embedding (PE)1,2 calculations. It provides an easy-to-use API to implement PE
for ground-state self-consistent field (SCF) calculations and post-SCF methods.
A convenient Python interface is also available."""

toolchain = {'name': 'GCC', 'version': '12.3.0'}

github_account = 'maxscheurer'
source_urls = [GITHUB_LOWER_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['38d4230ba3ace78936049c23ad4b1fe9e704fd250ec57cc9733cb3904b62cf7c']

builddependencies = [
('CMake', '3.26.3'),
]

dependencies = [
('Python', '3.11.3'),
('pybind11', '2.11.1'),
]

exts_defaultclass = 'PythonPackage'
exts_default_options = {
'source_urls': [PYPI_SOURCE],
'download_dep_fail': True,
'use_pip': True,
'sanity_pip_check': True,
}

exts_list = [
('cppe', version, {
'checksums': ['b0aef578d6919f8c103d4d4a9fcd3db481bd73c59c157985f52bf62477425d6c'],
}),
]

sanity_check_paths = {
'files': ['lib/libcppe.%s' % SHLIB_EXT],
'dirs': ['include/cppe', 'lib/python%(pyshortver)s/site-packages', 'share/cmake'],
}

modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}

moduleclass = 'chem'

0 comments on commit c366a20

Please sign in to comment.