https://github.com/elan-ev/pyca-debian
Debian Packaging for https://github.com/opencast/pyCA
https://github.com/elan-ev/pyca-debian
Last synced: 3 months ago
JSON representation
Debian Packaging for https://github.com/opencast/pyCA
- Host: GitHub
- URL: https://github.com/elan-ev/pyca-debian
- Owner: elan-ev
- Created: 2020-05-08T09:32:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-03T14:45:18.000Z (over 1 year ago)
- Last Synced: 2025-02-25T10:46:44.658Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 429 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Debian Packaging for pyCA
[
](https://app.circleci.com/pipelines/github/elan-ev/pyca-debian)## Using the Repository
You can install pyCA from the APT repository by executing the following steps:
```bash
# Install prerequisites
apt-get install apt-transport-https# Include pyCA's Signing Key
apt-key adv --fetch https://pyca.deb.opencast.org/gpg.key# Add the Repository
echo "deb [arch=all] https://pyca.deb.opencast.org/opencast-pyca buster main" > /etc/apt/sources.list.d/opencast-pyca.list# Update your cache and install pyCA
apt-get update
apt-get install opencast-pyca
```## Build the package
To build this package you will need a machine (a Docker container should also be sufficient) with [Debian Buster](https://www.debian.org/) with `build-essential` and `devscripts` installed.
To create the package run the `build.sh` from within this directory.
If you also want to install the build dependencies, you can run `INSTALL_DEPENDENCIES=y ./build.sh`, but you then need root privileges.If you would like to look in the process in more details, take a look into the script or visit the [Debian New Maintainers' Guide](https://www.debian.org/doc/manuals/maint-guide/) as a complete source about packaging for Debian.
## Create a repository
There is also a small script in this repository to create a Debian Repository using [aptly](https://www.aptly.info/).
It is mostly indented to be used with the CI, but if you want to use it manually, you will need to have a [GPG](https://gnupg.org/) to sign the repository with.## Bump Version
```sh
DEBFULLNAME="Jane Doe" DEBEMAIL="[email protected]" dch -v 3.2-1 -D unstable "New upstream Release"
```