3
0
mirror of https://github.com/triqs/dft_tools synced 2025-01-05 10:59:34 +01:00

[build] automatically set version in packaging

This commit is contained in:
Alexander Hampel 2023-09-26 15:24:08 -04:00
parent 0ca04d26a7
commit dfe7c014fe
3 changed files with 9 additions and 2 deletions

7
packaging/CMakeLists.txt Normal file
View 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)

View File

@ -1,7 +1,7 @@
easyblock = 'CMakeMake' easyblock = 'CMakeMake'
name = 'TRIQS-app4triqs' name = 'TRIQS-app4triqs'
version = '3.2.0' version = '@PROJECT_VERSION@'
homepage = 'https://triqs.github.io/app4triqs/' homepage = 'https://triqs.github.io/app4triqs/'
description = """ description = """

View File

@ -1,4 +1,4 @@
{% set version = "3.2.0" %} {% set version = "@PROJECT_VERSION@" %}
package: package:
name: app4triqs name: app4triqs