Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Kurečka
Plumed AlphaFold
Commits
eb424cd9
There was an error fetching the commit references. Please try again later.
Commit
eb424cd9
authored
6 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Patches
Plain Diff
small changes backported from macports Portfile
parent
99585b87
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
macports/PortfilePython.in
+11
-2
11 additions, 2 deletions
macports/PortfilePython.in
with
11 additions
and
2 deletions
macports/PortfilePython.in
+
11
−
2
View file @
eb424cd9
...
...
@@ -6,7 +6,7 @@ PortGroup python 1.0
version @_VERSION_@
revision @_REVISION_@
name py-plumed
categories
science
categories
python
platforms darwin
categories-append science
...
...
@@ -16,11 +16,14 @@ maintainers {gmail.com:giovanni.bussi @GiovanniBussi} openmaintainer
description Python wrappers for plumed.
long_description $
{
description
}
They allow the plumed library to be directly used from python.
homepage http://www.plumed.org
@_FETCH_@
python.versions 27 36 37
# when building from a git repository, we cannot set worksrcdir otherwise
# the whole repo is cloned at that position. We thus explicitly set worksrcdir
# at specific stages:
pre-configure
{
worksrcdir $
{
distname
}
/python
}
...
...
@@ -29,8 +32,12 @@ pre-test {
worksrcdir $
{
distname
}
/python
}
# python setup is located in python subdir of plumed repository
# worksrcdir ${distname}/python
if
{
${name}
ne $
{
subport
}}
{
# setup the wrappers so that by default they load MacPorts plumed library
build.env-append plumed_default_kernel=$
{
prefix
}
/lib/libplumedKernel.dylib
\
plumed_macports=yes
...
...
@@ -40,6 +47,8 @@ if {${name} ne ${subport}} {
path:$
{
prefix
}
/lib/libplumedKernel.dylib:plumed
depends_test-append port:py$
{
python.version
}
-nose
test.cmd nosetests-$
{
python.branch
}
test.target
test.run yes
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment