diff --git a/recipes/tiberius/build.sh b/recipes/tiberius/build.sh index ab969c31efbb0..644821cbdfdc4 100644 --- a/recipes/tiberius/build.sh +++ b/recipes/tiberius/build.sh @@ -1,8 +1,13 @@ #!/bin/bash mkdir -p ${PREFIX}/bin -cp -R $SRC_DIR/bin/* ${PREFIX}/bin/ -chmod +x ${PREFIX}/bin/tiberius.py -ln -s ${PREFIX}/bin/tiberius.py ${PREFIX}/bin/tiberius -sed -i.bak '1s|^|#!/usr/bin/env python3\n|' ${PREFIX}/bin/tiberius -rm -rf ${PREFIX}/bin/*.bak + +sed -i.bak '1s|^|#!/usr/bin/env python3\n|' bin/dev/convert_weights.py +rm -rf bin/dev/*.bak + +cp -rf $SRC_DIR/bin/dev/convert_weights.py "${PREFIX}/bin" +cp -Rf $SRC_DIR/bin/* "${PREFIX}/bin" +cp -rf $SRC_DIR/bin/tiberius.py "${PREFIX}/bin/tiberius" +chmod 0755 ${PREFIX}/bin/tiberius.py +chmod 0755 ${PREFIX}/bin/tiberius +chmod 0755 ${PREFIX}/bin/convert_weights.py diff --git a/recipes/tiberius/meta.yaml b/recipes/tiberius/meta.yaml index 659c156ca5bcc..53c50ea2e22fb 100644 --- a/recipes/tiberius/meta.yaml +++ b/recipes/tiberius/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "1.1.1" %} +{% set version = "1.1.2" %} {% set name = "tiberius" %} package: @@ -7,7 +7,7 @@ package: source: url: https://github.com/Gaius-Augustus/Tiberius/archive/refs/tags/v{{ version }}.tar.gz - sha256: ce753ac94351f1f82b922cad6761d0109af097582a7e51359bac230aeadd5a06 + sha256: 4c2d341543d2c2b5773ab3e52cb33dea6be37c97adc9a6c2f36534e35fbd3dad build: number: 0 @@ -19,6 +19,7 @@ requirements: host: - python >=3.7 - pip + - setuptools run: - python >=3.7 - pip