WIP: windows friendly documentation packaging
{% set name = "waves" %}
-{% set version = "0.6.7" %}
+{% set version = "0.6.8" %}
package:
name: {{ name|lower }}
@@ -7,26 +7,16 @@ package:
source:
url: https://github.com/lanl/waves/archive/refs/tags/{{ version }}.tar.gz
- sha256: a4f81f6a9670be20d4aca07074d0f2e5a88a606134785fecfcda64c59e5d6df0
+ sha256: f5a439050c71b3474f1d2f362313489019c45bc41989769ba29090797c93783d
build:
noarch: python
script_env:
- SETUPTOOLS_SCM_PRETEND_VERSION={{ version }}
script:
- - scons man html-github
- - manpath1="$PREFIX/share/man/man1"
- - manpath2="$PREFIX/man/man1"
- - mkdir -p $manpath1 $manpath2
- - cp build/docs/man/waves.1 $manpath1
- - cp build/docs/man/waves.1 $manpath2 || true
- {{ PYTHON }} setup.py install
- - docspath="$SP_DIR/$PKG_NAME/docs"
- - mkdir -p $docspath
- - cp -RL build/docs/html-github/* $docspath
- - quickstart_path="$SP_DIR/$PKG_NAME/quickstart"
- - mkdir -p ${quickstart_path}
- - cp -RL quickstart/* ${quickstart_path}
+ - scons man html-github
+ - {{ PYTHON }} package_documentation.py
ignore_run_exports:
- python_abi
