Skip to content

Commit

Permalink
update deploy for noble
Browse files Browse the repository at this point in the history
  • Loading branch information
rkaminsk committed Jun 24, 2024
1 parent c7b0602 commit 067540d
Show file tree
Hide file tree
Showing 11 changed files with 82 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/ppa-wip/build.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -24,7 +24,7 @@ rep="${1}"
shift

case "${rep}" in
jammy|focal)
noble|jammy|focal)
;;
*)
usage
Expand Down
5 changes: 5 additions & 0 deletions .github/ppa-wip/noble/debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
python3-clorm (1.2.0) noble; urgency=medium

* initial release

-- Roland Kaminski <[email protected]> Sat, 15 Jun 2021 19:00:00 +0100
14 changes: 14 additions & 0 deletions .github/ppa-wip/noble/debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Source: python3-clorm
Section: devel
Priority: optional
Maintainer: Roland Kaminski <[email protected]>
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.
31 changes: 31 additions & 0 deletions .github/ppa-wip/noble/debian/copyright
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
License: MIT

Files: debian/*
Copyright: 2021 Roland Kaminski <[email protected]>
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.
1 change: 1 addition & 0 deletions .github/ppa-wip/noble/debian/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README.rst
1 change: 1 addition & 0 deletions .github/ppa-wip/noble/debian/py3dist-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
clingo python3-clingo
4 changes: 4 additions & 0 deletions .github/ppa-wip/noble/debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/make -f

%:
dh $@ --with python3 --buildsystem=pybuild
1 change: 1 addition & 0 deletions .github/ppa-wip/noble/debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
20 changes: 19 additions & 1 deletion .github/workflows/conda-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/ppa-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
distribution: [jammy, focal]
distribution: [noble, jammy, focal]

env:
distribution: ${{ matrix.distribution }}
Expand Down

0 comments on commit 067540d

Please sign in to comment.