From e88579578f222ff9c2d37532ebc388c680508486 Mon Sep 17 00:00:00 2001 From: David Boddie Date: Sat, 4 May 2019 17:33:41 +0000 Subject: [PATCH] Update uk.org.boddie.android.weatherforecast.yml Remove duplicate 1.3.0 version blocks. --- metadata/uk.org.boddie.android.weatherforecast.yml | 13 +++++++++++-- srclibs/duck-git.txt | 2 ++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 srclibs/duck-git.txt diff --git a/metadata/uk.org.boddie.android.weatherforecast.yml b/metadata/uk.org.boddie.android.weatherforecast.yml index 3352045eb8..be15ca8305 100644 --- a/metadata/uk.org.boddie.android.weatherforecast.yml +++ b/metadata/uk.org.boddie.android.weatherforecast.yml @@ -108,8 +108,17 @@ Builds: imagemagick pngquant python-cairosvg output: output.apk srclibs: - - duck@1.0.3 - build: PYTHONPATH=$$duck$$ ./build.py output.apk + - duck-git@1.0.4 + prebuild: + - pushd $$duck-git$$ + - git reset --hard `cat ../../uk.org.boddie.android.weatherforecast/deps/DUCK` + - popd + build: PYTHONPATH=$$duck-git$$ ./build.py output.apk + +MaintainerNotes: |- + From version 1.3.0, the app handles its own dependencies during the build, + using the prebuild step to take a specific version of DUCK then update it + to the version given in the app's deps/DUCK file. AutoUpdateMode: Version %v UpdateCheckMode: HTTP diff --git a/srclibs/duck-git.txt b/srclibs/duck-git.txt new file mode 100644 index 0000000000..94fe388945 --- /dev/null +++ b/srclibs/duck-git.txt @@ -0,0 +1,2 @@ +Repo Type:git +Repo:https://gitlab.com/dboddie/DUCK.git