forked from conda-forge/staged-recipes
-
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 conda-forge#27545 from kbrindley/add-turbo-turtle
Add turbo turtle
- Loading branch information
Showing
5 changed files
with
91 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,7 @@ | ||
REM TODO: Remove MANIFEST monkey patch when Turbo-Turtle is released with a MANIFEST and better subdirectory handling | ||
@echo off | ||
echo recursive-include turbo_turtle/tutorials *> MANIFEST.in | ||
%PYTHON% -m build --no-isolation | ||
%PYTHON% -m pip install dist/%PKG_NAME%-%PKG_VERSION%.tar.gz --no-deps --ignore-installed -v --no-build-isolation | ||
scons man html | ||
%PYTHON% package_documentation.py |
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,6 @@ | ||
# TODO: Remove MANIFEST monkey patch when Turbo-Turtle is released with a MANIFEST and better subdirectory handling | ||
echo "recursive-include turbo_turtle/tutorials *" > MANIFEST.in | ||
$PYTHON -m build --no-isolation | ||
$PYTHON -m pip install dist/$PKG_NAME-$PKG_VERSION.tar.gz --no-deps --ignore-installed -v --no-build-isolation | ||
scons man html | ||
$PYTHON package_documentation.py |
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,63 @@ | ||
{% set name = "turbo_turtle" %} | ||
{% set version = "0.12.1" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/lanl-aea/turbo-turtle/archive/refs/tags/{{ version }}.tar.gz | ||
sha256: e89f218c8d95484f3b0b8b61427c0bd82779226301436c991535966bac4d140d | ||
|
||
build: | ||
noarch: python | ||
number: 0 | ||
script_env: | ||
- SETUPTOOLS_SCM_PRETEND_VERSION={{ version }} | ||
entry_points: | ||
- turbo-turtle = turbo_turtle._main:main | ||
|
||
requirements: | ||
host: | ||
- python | ||
- python-build | ||
- pip | ||
- lazy_loader >=0.4 | ||
- scons >=4 | ||
- setuptools >=64 | ||
- setuptools_scm >=8 | ||
- sphinx >=5.1 | ||
- sphinx-argparse | ||
- sphinx-copybutton >=0.5.1 | ||
- sphinx_rtd_theme >=1 | ||
- sphinxcontrib-bibtex | ||
- waves >=0.7.2,<0.11.0 | ||
run: | ||
- python >=3.8 | ||
- lazy_loader >=0.4 | ||
- scons >=4 | ||
- waves >=0.7.2,<0.11.0 | ||
|
||
test: | ||
requires: | ||
- pip | ||
- pytest | ||
- pytest-xdist | ||
imports: | ||
- turbo_turtle | ||
|
||
about: | ||
home: https://github.com/lanl-aea/turbo-turtle | ||
license: BSD-3-Clause | ||
license_file: LICENSE.txt | ||
summary: Solid body modeling tools for 2D sketched, 2D axisymmetric, and 3D revolved models | ||
description: | | ||
Turbo-Turtle (LANL code O4765) is a solid body modeling tools for 2D sketched, 2D axisymmetric, and 3D revolved | ||
models. | ||
doc_url: https://lanl-aea.github.io/turbo-turtle/index.html | ||
dev_url: https://github.com/lanl-aea/turbo-turtle | ||
|
||
extra: | ||
recipe-maintainers: | ||
- kbrindley | ||
- tprobertslanl |
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,8 @@ | ||
pip check | ||
turbo-turtle -h | ||
turbo-turtle docs --print-local-path | ||
turbo-turtle fetch --destination turbo_turtle_fetch | ||
cd %SP_DIR%\%PKG_NAME% | ||
REM TODO: Remove test_wrapper.py ignore when Turbo-Turtle releases a mocked cubit module | ||
REM TODO: Remove test_fetch.py ignore when Turbo-Turtle releases a bugfix for test expectations | ||
pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" --ignore=tests/test_wrappers.py --ignore=tests/test_fetch.py |
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,7 @@ | ||
pip check | ||
turbo-turtle -h | ||
turbo-turtle docs --print-local-path | ||
turbo-turtle fetch --destination turbo_turtle_fetch | ||
cd $SP_DIR/$PKG_NAME | ||
# TODO: Remove test_wrapper.py ignore when Turbo-Turtle releases a mocked cubit module | ||
pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" --ignore=tests/test_wrappers.py |