forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request easybuilders#21750 from PetrKralCZ/20241025202859_…
…new_pr_CPPE031 {chem}[GCC/12.3.0] CPPE v0.3.1
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |