Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.cmdline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
beat
beat.cmdline
Commits
043aef51
Commit
043aef51
authored
6 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[conda] Allow package to be tested outside of source checkout (see
bob/bob.devtools#5
)
parent
edaa7642
No related branches found
No related tags found
1 merge request
!60
Allow package to be tested outside of source checkout (see bob/bob.devtools#5)
Pipeline
#27262
failed
6 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
conda/meta.yaml
+9
-5
9 additions, 5 deletions
conda/meta.yaml
with
9 additions
and
5 deletions
conda/meta.yaml
+
9
−
5
View file @
043aef51
{
%
set name = 'beat.cmdline' %
}
{
%
set name = 'beat.cmdline' %
}
{
%
set project_dir = environ.get('RECIPE_DIR') + '/..' %
}
package
:
package
:
name
:
{{
name
}}
name
:
{{
name
}}
...
@@ -23,11 +22,15 @@ build:
...
@@ -23,11 +22,15 @@ build:
run_exports
:
run_exports
:
-
{{
pin_subpackage(name)
}}
-
{{
pin_subpackage(name)
}}
script
:
script
:
-
cd {{
project_dir
}}
-
cd {{
environ.get('RECIPE_DIR') + '/..'
}}
{
%
if environ.get('BUILD_EGG') %
}
{
%
if environ.get('BUILD_EGG') %
}
-
python setup.py sdist --formats=zip
-
python setup.py sdist --formats=zip
{
%
endif %
}
{
%
endif %
}
-
python setup.py install --single-version-externally-managed --record record.txt
-
python setup.py install --single-version-externally-managed --record record.txt
# installs the documentation source, readme to share/doc so it is available
# during test time
-
install -d "${PREFIX}/share/doc/{{ name }}"
-
cp -R README.rst doc "${PREFIX}/share/doc/{{ name }}/"
requirements
:
requirements
:
host
:
host
:
...
@@ -74,9 +77,9 @@ test:
...
@@ -74,9 +77,9 @@ test:
-
beat plotterparameters --help
-
beat plotterparameters --help
-
beat toolchains --help
-
beat toolchains --help
-
beat experiments --help
-
beat experiments --help
-
nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
-
sphinx-build -aEW ${PREFIX}/share/doc/{{ name }}/doc sphinx
-
sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
-
if [ -n "${CI_PROJECT_DIR}" ]; then mv sphinx "${CI_PROJECT_DIR}/"; fi
-
sphinx-build -aEb doctest
{{ project_dir
}}/doc sphinx
-
sphinx-build -aEb doctest
${PREFIX}/share/doc/{{ name
}}/doc sphinx
-
conda inspect linkages -p $PREFIX {{ name }}
# [not win]
-
conda inspect linkages -p $PREFIX {{ name }}
# [not win]
-
conda inspect objects -p $PREFIX {{ name }}
# [osx]
-
conda inspect objects -p $PREFIX {{ name }}
# [osx]
...
@@ -85,3 +88,4 @@ about:
...
@@ -85,3 +88,4 @@ about:
license
:
AGPLv3
license
:
AGPLv3
summary
:
Command-line client for the BEAT platform
summary
:
Command-line client for the BEAT platform
license_family
:
AGPL
license_family
:
AGPL
license_file
:
../LICENSE.AGPL
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