From 716cc5ac062b53d8d12bf6ceab17636d41211404 Mon Sep 17 00:00:00 2001 From: gehoern Date: Wed, 15 Jan 2025 06:28:52 +0100 Subject: [PATCH] initial commit --- .github/workflows/build.yml | 10 ++++++++++ .gitignore | 1 + prepare_source | 10 ++++++++++ 3 files changed, 21 insertions(+) create mode 100644 .github/workflows/build.yml create mode 100644 .gitignore create mode 100644 prepare_source diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f0cf876 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,10 @@ +on: + push: + workflow_dispatch: + schedule: + - cron: '0 0 * * *' +jobs: + build: + uses: gardenlinux/package-build/.github/workflows/build.yml@main + with: + release: ${{ github.ref == 'refs/heads/main' }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..24e5b0a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.build diff --git a/prepare_source b/prepare_source new file mode 100644 index 0000000..c00d115 --- /dev/null +++ b/prepare_source @@ -0,0 +1,10 @@ +pkg=jinja2 +version_orig=3.1.5 +version="$version_orig-2" +git_src -b "$version_orig" "https://github.com/pallets/jinja.git" + +org_dir="$(mktemp -d)" +trap 'cd / && rm -rf "$org_dir"' EXIT +git clone --depth 1 --recurse-submodules -b "debian/$version" "https://salsa.debian.org/python-team/packages/jinja2.git" "$org_dir" +cp -rp $org_dir/debian $dir/src/debian +