Compare commits
3 commits
180b9382f5
...
ea5f0f501f
Author | SHA1 | Date | |
---|---|---|---|
|
ea5f0f501f | ||
|
caf3be2ac8 | ||
|
9dd5156e32 |
3 changed files with 34 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
23
packaging_scripts/deb.sh
Executable file
23
packaging_scripts/deb.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/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
|
||||
VERSION=$(grep version= ${SRCDIR}/setup.py | awk -F '"' '{print $2}' )
|
||||
|
||||
# Change to source dir
|
||||
olddir=$(pwd)
|
||||
cd ${SRCDIR}
|
||||
|
||||
# Build deb
|
||||
python3 setup.py --command-packages=stdeb.command bdist_deb #--debian-version ${deb_version}
|
||||
|
||||
cp deb_dist/* ${olddir}
|
||||
rm -r ${SRCDIR}/deb_dist/ ${SRCDIR}/tinge-${VERSION}.tar.gz
|
||||
cd ${olddir}
|
3
stdeb.cfg
Normal file
3
stdeb.cfg
Normal file
|
@ -0,0 +1,3 @@
|
|||
[DEFAULT]
|
||||
Depends3: python3-upnpy, python3-wxgtk4.0, python3-toml, python3-requests
|
||||
Debian-Version: 2
|
Loading…
Add table
Reference in a new issue