11name : tempren
22title : tempren
33summary : Template-based file renaming utility
4- base : core20
4+ base : core24
55adopt-info : tempren
66source-code : https://github.com/idle-code/tempren.git
77description : |
@@ -10,11 +10,11 @@ description: |
1010 A rich library of built-in tags helps with working with many common file types out-of-the-box.
1111grade : stable
1212confinement : strict
13- architectures :
14- - build-on : amd64
15- - build-on : arm64
16- - build-on : armhf
17-
13+ platforms :
14+ amd64 :
15+ arm64 :
16+ build-on : [amd64, arm64]
17+ build-for : [arm64]
1818
1919parts :
2020 poetry :
2525 override-pull : |
2626 curl https://install.python-poetry.org > install-poetry.py
2727 export POETRY_HOME=/opt/poetry
28- python3 install-poetry.py --version 1.5.1
28+ python3 install-poetry.py --version 1.8.3
2929 #$POETRY_HOME/bin/poetry --version
3030 #export TEMPREN_VERSION="$($POETRY_HOME/bin/poetry version --short)"
3131 #echo $TEMPREN_VERSION | tee /tmp/tempren_version
3737 build-environment :
3838 - PATH : " /opt/poetry/bin:$PATH"
3939 build-packages :
40- - python3-pip
40+ - python3-pip
4141 override-pull : |
4242 snapcraftctl pull
4343
@@ -46,14 +46,14 @@ parts:
4646 snapcraftctl set-version $TEMPREN_VERSION
4747
4848 # Prepare requirements.txt to install tempren from the PyPi
49- # This is required as default build alghorithm doesn't correctly
49+ # This is required as default build algorithm doesn't correctly
5050 # export scripts declared in pyproject.toml
5151 poetry export --extras=video --output=requirements.txt
5252 python3 -m pip download "tempren[video]==$TEMPREN_VERSION"
5353 export TEMPREN_HASH=$(python3 -m pip hash tempren*.whl | tail -1)
5454 echo "tempren==$TEMPREN_VERSION $TEMPREN_HASH" >> requirements.txt
5555
56- requirements : [requirements.txt]
56+ # requirements: [requirements.txt]
5757 stage-packages :
5858 - libmagic1
5959 - libmediainfo0v5
0 commit comments