mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 10:05:49 +01:00
[build] automatically set version in packaging
This commit is contained in:
parent
0ca04d26a7
commit
dfe7c014fe
7
packaging/CMakeLists.txt
Normal file
7
packaging/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
# Configure the version of packaging files
|
||||
configure_file(conda/meta.yaml.in conda/meta.yaml)
|
||||
configure_file(conda/build.sh conda/build.sh COPYONLY)
|
||||
configure_file(conda/conda_build_config.yaml conda/conda_build_config.yaml COPYONLY)
|
||||
configure_file(TRIQS-app4triqs-foss-2021b.eb.in TRIQS-app4triqs-foss-2021b.eb)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
easyblock = 'CMakeMake'
|
||||
|
||||
name = 'TRIQS-app4triqs'
|
||||
version = '3.2.0'
|
||||
version = '@PROJECT_VERSION@'
|
||||
|
||||
homepage = 'https://triqs.github.io/app4triqs/'
|
||||
description = """
|
@ -1,4 +1,4 @@
|
||||
{% set version = "3.2.0" %}
|
||||
{% set version = "@PROJECT_VERSION@" %}
|
||||
|
||||
package:
|
||||
name: app4triqs
|
Loading…
Reference in New Issue
Block a user