Help wanted for packaging

master
Micke Nordin 2 years ago
parent caf3be2ac8
commit ea5f0f501f
Signed by: micke
GPG Key ID: 0DA0A7A5708FE257

@ -11,6 +11,14 @@ deb-src [signed-by=/usr/share/keyrings/micke-archive-unstable.gpg] https://repo.
sudo tee /etc/apt/sources.list.d/debian-micke-unstable.list
sudo apt update && sudo apt install python3-tinge
```
If you want to help with packaging in other format, please get in touch by commenting on the appropriate issue:
* [Alpine](https://code.smolnet.org/micke/tinge/issues/10)
* [Appimage](https://code.smolnet.org/micke/tinge/issues/22)
* [Arch](https://code.smolnet.org/micke/tinge/issues/20)
* [Flatpak](https://code.smolnet.org/micke/tinge/issues/21)
* [RPM](https://code.smolnet.org/micke/tinge/issues/9)
## Requirements
Requires a recent Python3 and pip3, most likely python >= 3.7. It is only tested with 3.9 on PostmarketOS on the PinePhone and on Debian Bullseye though.

@ -1,5 +1,11 @@
#!/usr/bin/env bash
# Where I keep the sources
deb_version=${1}
if [[ "x${deb_version}" == "x" ]]; then
deb_version=1
fi
BASEDIR=~/sources
SRCDIR="${BASEDIR}/tinge"
# Version of Tinge
@ -10,9 +16,8 @@ olddir=$(pwd)
cd ${SRCDIR}
# Build deb
python3 setup.py --command-packages=stdeb.command bdist_deb
python3 setup.py --command-packages=stdeb.command bdist_deb #--debian-version ${deb_version}
cp deb_dist/tinge_${VERSION}-1.dsc ${olddir}
cp deb_dist/python3-tinge_${VERSION}-1_all.deb ${olddir}
cp deb_dist/* ${olddir}
rm -r ${SRCDIR}/deb_dist/ ${SRCDIR}/tinge-${VERSION}.tar.gz
cd ${olddir}

@ -1,2 +1,3 @@
[DEFAULT]
Depends3: python3-upnpy, python3-wxgtk4.0
Depends3: python3-upnpy, python3-wxgtk4.0, python3-toml, python3-requests
Debian-Version: 2

Loading…
Cancel
Save