all buildblocks moved one level up
This commit is contained in:
19
Programming/Python/build
Executable file
19
Programming/Python/build
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::post_install() {
|
||||
ln -fs "${PREFIX}/bin/python${V%%.*}" "${PREFIX}/bin/python"
|
||||
ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python"
|
||||
ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python${V%.*}"
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'Programming'
|
||||
pbuild::set_runtime_dependencies ""
|
||||
pbuild::set_build_dependencies "${COMPILER}"
|
||||
pbuild::make_all
|
||||
|
||||
19
Programming/Python/modulefile
Normal file
19
Programming/Python/modulefile
Normal file
@@ -0,0 +1,19 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "scripting language."
|
||||
set url "http://www.python.org/"
|
||||
set license "Python Software Foundation license (GPL-compatible)"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
Python is an easy to learn, powerful programming language. It has
|
||||
efficient high-level data structures and a simple but effective
|
||||
approach to object-oriented programming. Python’s elegant syntax
|
||||
and dynamic typing, together with its interpreted nature, make it
|
||||
an ideal language for scripting and rapid application development
|
||||
in many areas on most platforms.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user