You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
py-usadel1: unify
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@89602 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
||||
# $Id$
|
||||
|
||||
PortSystem 1.0
|
||||
PortGroup python 1.0
|
||||
|
||||
name py-usadel1
|
||||
version 0.2.3.2
|
||||
categories-append science
|
||||
platforms darwin
|
||||
maintainers macsforever2000
|
||||
license gpl
|
||||
|
||||
description Usadel equation solver
|
||||
|
||||
long_description This code solves Usadel equations in a circuit consisting of quasi-1D \
|
||||
metallic wires. This is an efficient approach for modelling charge and heat \
|
||||
transport in mesoscopic electronic circuits made of superconducting and normal-state \
|
||||
metals, in the presence of a sufficient amount of impurities (dirty limit).
|
||||
|
||||
homepage http://ltl.tkk.fi/~theory/usadel1/
|
||||
master_sites ${homepage}_static/
|
||||
distname usadel1-${version}
|
||||
|
||||
checksums sha1 ffde19a5dd8a5977d99b00d88ec40873f9a904d1 \
|
||||
rmd160 bef6ce3a839866bab5f69b3cc986d92c32765828
|
||||
|
||||
python.versions 25 26 27
|
||||
python.default_version 25
|
||||
|
||||
if {$subport != $name} {
|
||||
depends_lib-append port:py${python.version}-numpy \
|
||||
port:py${python.version}-scipy \
|
||||
port:py${python.version}-tables
|
||||
|
||||
python.add_archflags no
|
||||
|
||||
depends_lib-append port:gcc45
|
||||
configure.compiler macports-gcc-4.5
|
||||
|
||||
# Using variants causes fortran compiler failure.
|
||||
#variant gcc45 conflicts gcc44 description {Use the gcc45 compiler (enables fortran code)} {
|
||||
# depends_lib-append port:gcc45
|
||||
# configure.compiler macports-gcc-4.5
|
||||
#}
|
||||
|
||||
#variant gcc44 conflicts gcc45 description {Use the gcc44 compiler (enables fortran code)} {
|
||||
# depends_lib-append port:gcc44
|
||||
# configure.compiler macports-gcc-4.4
|
||||
#}
|
||||
|
||||
#if {![variant_isset gcc44]} {
|
||||
# default_variants +gcc45
|
||||
#}
|
||||
|
||||
build.args config_fc \
|
||||
--fcompiler=gfortran \
|
||||
--noarch
|
||||
|
||||
build.env-append CC=${configure.cc} \
|
||||
F90=${configure.fc}
|
||||
livecheck.type none
|
||||
} else {
|
||||
livecheck.type regex
|
||||
livecheck.url http://ltl.tkk.fi/~theory/usadel1/download.html
|
||||
livecheck.regex {usadel1-(\d+(?:\.\d+)*)}
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
||||
# $Id$
|
||||
|
||||
PortSystem 1.0
|
||||
PortGroup python26 1.0
|
||||
|
||||
name py26-usadel1
|
||||
version 0.2.3.2
|
||||
categories-append science
|
||||
platforms darwin
|
||||
maintainers macsforever2000
|
||||
license gpl
|
||||
|
||||
description Usadel equation solver
|
||||
|
||||
long_description This code solves Usadel equations in a circuit consisting of quasi-1D \
|
||||
metallic wires. This is an efficient approach for modelling charge and heat \
|
||||
transport in mesoscopic electronic circuits made of superconducting and normal-state \
|
||||
metals, in the presence of a sufficient amount of impurities (dirty limit).
|
||||
|
||||
homepage http://ltl.tkk.fi/~theory/usadel1/
|
||||
master_sites ${homepage}_static/
|
||||
distname usadel1-${version}
|
||||
|
||||
checksums sha1 ffde19a5dd8a5977d99b00d88ec40873f9a904d1 \
|
||||
rmd160 bef6ce3a839866bab5f69b3cc986d92c32765828
|
||||
|
||||
depends_lib-append port:py26-numpy \
|
||||
port:py26-scipy \
|
||||
port:py26-tables
|
||||
|
||||
python.add_archflags no
|
||||
|
||||
depends_lib-append port:gcc44
|
||||
configure.compiler macports-gcc-4.4
|
||||
|
||||
# Using variants causes fortran compiler failure.
|
||||
#variant gcc45 conflicts gcc44 description {Use the gcc45 compiler (enables fortran code)} {
|
||||
# depends_lib-append port:gcc45
|
||||
# configure.compiler macports-gcc-4.5
|
||||
#}
|
||||
|
||||
#variant gcc44 conflicts gcc45 description {Use the gcc44 compiler (enables fortran code)} {
|
||||
# depends_lib-append port:gcc44
|
||||
# configure.compiler macports-gcc-4.4
|
||||
#}
|
||||
|
||||
#if {![variant_isset gcc45]} {
|
||||
# default_variants +gcc44
|
||||
#}
|
||||
|
||||
build.args config_fc \
|
||||
--fcompiler=gfortran \
|
||||
--noarch
|
||||
|
||||
build.env-append CC=${configure.cc} \
|
||||
F90=${configure.fc}
|
||||
|
||||
livecheck.type regex
|
||||
livecheck.url http://ltl.tkk.fi/~theory/usadel1/download.html
|
||||
livecheck.regex {usadel1-(\d+(?:\.\d+)*)}
|
||||
Reference in New Issue
Block a user