Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tiberius to 1.1.2 #52818

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions recipes/tiberius/build.sh
Original file line number Diff line number Diff line change
@@ -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
5 changes: 3 additions & 2 deletions recipes/tiberius/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "1.1.1" %}
{% set version = "1.1.2" %}
{% set name = "tiberius" %}

package:
Expand All @@ -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
Expand All @@ -19,6 +19,7 @@ requirements:
host:
- python >=3.7
- pip
- setuptools
run:
- python >=3.7
- pip
Expand Down
Loading