From 067540db22eca727aa333440b0dcba98131fea81 Mon Sep 17 00:00:00 2001 From: Roland Kaminski Date: Mon, 24 Jun 2024 10:55:36 +0200 Subject: [PATCH] update deploy for noble --- .github/deploy.yml | 3 ++ .github/ppa-wip/build.sh | 4 +-- .github/ppa-wip/noble/debian/changelog | 5 +++ .github/ppa-wip/noble/debian/control | 14 +++++++++ .github/ppa-wip/noble/debian/copyright | 31 +++++++++++++++++++ .github/ppa-wip/noble/debian/docs | 1 + .../ppa-wip/noble/debian/py3dist-overrides | 1 + .github/ppa-wip/noble/debian/rules | 4 +++ .github/ppa-wip/noble/debian/source/format | 1 + .github/workflows/conda-dev.yml | 20 +++++++++++- .github/workflows/ppa-dev.yml | 2 +- 11 files changed, 82 insertions(+), 4 deletions(-) create mode 100644 .github/ppa-wip/noble/debian/changelog create mode 100644 .github/ppa-wip/noble/debian/control create mode 100644 .github/ppa-wip/noble/debian/copyright create mode 100644 .github/ppa-wip/noble/debian/docs create mode 100644 .github/ppa-wip/noble/debian/py3dist-overrides create mode 100755 .github/ppa-wip/noble/debian/rules create mode 100644 .github/ppa-wip/noble/debian/source/format diff --git a/.github/deploy.yml b/.github/deploy.yml index 06868d2..790bee4 100644 --- a/.github/deploy.yml +++ b/.github/deploy.yml @@ -79,6 +79,9 @@ ppa: - 'README.rst' - 'LICENSE' distributions: + noble: + source: + Build-Depends: 'debhelper-compat (= 13), dh-python, python3-all, python3-setuptools, python3-clingo' jammy: focal: source: diff --git a/.github/ppa-wip/build.sh b/.github/ppa-wip/build.sh index df90adf..d4eb52a 100755 --- a/.github/ppa-wip/build.sh +++ b/.github/ppa-wip/build.sh @@ -1,7 +1,7 @@ #!/bin/bash function usage { - echo "./$(basename $0) {stable,wip} {jammy,focal} {create,sync,changes,build,put,clean}*" + echo "./$(basename $0) {stable,wip} {noble,jammy,focal} {create,sync,changes,build,put,clean}*" } if [[ $# < 1 ]]; then @@ -24,7 +24,7 @@ rep="${1}" shift case "${rep}" in - jammy|focal) + noble|jammy|focal) ;; *) usage diff --git a/.github/ppa-wip/noble/debian/changelog b/.github/ppa-wip/noble/debian/changelog new file mode 100644 index 0000000..aa66751 --- /dev/null +++ b/.github/ppa-wip/noble/debian/changelog @@ -0,0 +1,5 @@ +python3-clorm (1.2.0) noble; urgency=medium + + * initial release + + -- Roland Kaminski Sat, 15 Jun 2021 19:00:00 +0100 diff --git a/.github/ppa-wip/noble/debian/control b/.github/ppa-wip/noble/debian/control new file mode 100644 index 0000000..a37ee21 --- /dev/null +++ b/.github/ppa-wip/noble/debian/control @@ -0,0 +1,14 @@ +Source: python3-clorm +Section: devel +Priority: optional +Maintainer: Roland Kaminski +Build-Depends: debhelper-compat (= 13), dh-python, python3-all, python3-setuptools, python3-clingo +Standards-Version: 4.4.1 +Homepage: https://potassco.org/ +Vcs-Browser: https://github.com/potassco/clorm +Vcs-Git: https://github.com/potassco/clorm.git + +Package: python3-clorm +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} +Description: ORM interface for the Clingo ASP Solver. diff --git a/.github/ppa-wip/noble/debian/copyright b/.github/ppa-wip/noble/debian/copyright new file mode 100644 index 0000000..438ba87 --- /dev/null +++ b/.github/ppa-wip/noble/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: clorm +Upstream-Contact: https://github.com/potassco/clorm/issues +Source: https://github.com/potassco/clorm + +Files: * +Copyright: 2021 Roland Kaminski +License: MIT + +Files: debian/* +Copyright: 2021 Roland Kaminski +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/.github/ppa-wip/noble/debian/docs b/.github/ppa-wip/noble/debian/docs new file mode 100644 index 0000000..a1320b1 --- /dev/null +++ b/.github/ppa-wip/noble/debian/docs @@ -0,0 +1 @@ +README.rst diff --git a/.github/ppa-wip/noble/debian/py3dist-overrides b/.github/ppa-wip/noble/debian/py3dist-overrides new file mode 100644 index 0000000..a4ee8d9 --- /dev/null +++ b/.github/ppa-wip/noble/debian/py3dist-overrides @@ -0,0 +1 @@ +clingo python3-clingo diff --git a/.github/ppa-wip/noble/debian/rules b/.github/ppa-wip/noble/debian/rules new file mode 100755 index 0000000..641186e --- /dev/null +++ b/.github/ppa-wip/noble/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/.github/ppa-wip/noble/debian/source/format b/.github/ppa-wip/noble/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/.github/ppa-wip/noble/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/.github/workflows/conda-dev.yml b/.github/workflows/conda-dev.yml index 0d7e200..8c192ad 100644 --- a/.github/workflows/conda-dev.yml +++ b/.github/workflows/conda-dev.yml @@ -26,7 +26,7 @@ jobs: submodules: recursive - name: setup miniconda - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: auto-update-conda: true python-version: ${{ matrix.python-version }} @@ -59,3 +59,21 @@ jobs: python .github/conda.py --release env: ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }} + + - name: publish conda package (wip; osx-64) + if: ${{ github.event.inputs.wip == 'true' && matrix.os == 'macos-latest' }} + shell: pwsh + run: | + python .github/conda.py + env: + CONDA_SUBDIR: osx-64 + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }} + + - name: publish conda package (release; osx-64) + if: ${{ github.event.inputs.wip == 'false' && matrix.os == 'macos-latest' }} + shell: pwsh + run: | + python .github/conda.py --release + env: + CONDA_SUBDIR: osx-64 + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }} diff --git a/.github/workflows/ppa-dev.yml b/.github/workflows/ppa-dev.yml index f5ec2c6..7bfbec9 100644 --- a/.github/workflows/ppa-dev.yml +++ b/.github/workflows/ppa-dev.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - distribution: [jammy, focal] + distribution: [noble, jammy, focal] env: distribution: ${{ matrix.distribution }}