Skip to content

Commit c1b6e54

Browse files
committed
Merge branch 'release/v1.2.5'
2 parents 8416d03 + bc7e980 commit c1b6e54

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "tempren"
3-
version = "1.2.4"
3+
version = "1.2.5"
44
description = "Template-based renaming utility"
55
readme = "README.md"
66
license = "GPL-3.0-or-later"

snapcraft.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: tempren
22
title: tempren
33
summary: Template-based file renaming utility
4-
base: core20
4+
base: core24
55
adopt-info: tempren
66
source-code: https://github.com/idle-code/tempren.git
77
description: |
@@ -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.
1111
grade: stable
1212
confinement: 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

1919
parts:
2020
poetry:
@@ -25,7 +25,7 @@ parts:
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
@@ -37,7 +37,7 @@ parts:
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

Comments
 (0)