Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lpenz/ghaction-python-stdeb
Creates a debian package from a python 3 package
https://github.com/lpenz/ghaction-python-stdeb
debian docker github-actions github-actions-docker python
Last synced: 2 days ago
JSON representation
Creates a debian package from a python 3 package
- Host: GitHub
- URL: https://github.com/lpenz/ghaction-python-stdeb
- Owner: lpenz
- License: mit
- Created: 2021-07-11T14:34:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-27T13:55:28.000Z (almost 2 years ago)
- Last Synced: 2024-03-14T17:32:35.173Z (8 months ago)
- Topics: debian, docker, github-actions, github-actions-docker, python
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![marketplace](https://img.shields.io/badge/marketplace-python--stdeb-black?logo=github)](https://github.com/marketplace/actions/python-stdeb)
[![CI](https://github.com/lpenz/ghaction-python-stdeb/actions/workflows/ci.yml/badge.svg)](https://github.com/lpenz/ghaction-python-stdeb/actions/workflows/ci.yml)
[![github](https://img.shields.io/github/v/release/lpenz/ghaction-python-stdeb?include_prereleases&label=release&logo=github)](https://github.com/lpenz/ghaction-python-stdeb/releases)
[![docker](https://img.shields.io/docker/v/lpenz/ghaction-python-stdeb?label=release&logo=docker&sort=semver)](https://hub.docker.com/repository/docker/lpenz/ghaction-python-stdeb)# ghaction-python-stdeb
Create a debian package from a python package using [stdeb].
## Usage
Example usage, copied in part from
[ftpsmartsync](https://github.com/lpenz/ftpsmartsync/blob/main/.github/workflows/ci.yml).```yml
jobs:
packagecloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: version
uses: docker://lpenz/ghaction-version-gen:0.3
- uses: docker://lpenz/ghaction-python-stdeb:0.1
with:
debian_revision: ${{ steps.version.outputs.distance }}
- uses: docker://lpenz/ghaction-packagecloud:v0.3
if: steps.version.outputs.version_commit != ''
with:
repository: debian/debian/bullseye
env:
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
```## Inputs
### `working-directory`
Directory to go before running stdeb.
### `debian_revision`
Debian revision number to use.
The full package version generated is the python's package, as defined
in `setup.cfg`, with a `-` and this number appended.[stdeb]: https://pypi.org/project/stdeb/