link to pypi version

pull/2734/head
dgtlmoon 2 weeks ago
parent 9d1fc0704d
commit d013928a6c

@ -7,10 +7,14 @@ jobs:
build-deb:
runs-on: ubuntu-latest
name: Build and Package changedetection.io
env:
PACKAGE_VERSION: 0.48.5 # or load from somewhere else
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
path: changedetection.io-${{ env.PACKAGE_VERSION }}
- name: Set up Python 3.10
uses: actions/setup-python@v4
@ -33,8 +37,11 @@ jobs:
debhelper-compat
- name: Build the Debian Package
# Build it the same as the pypi way, then use the same package tar
run: |
tar cvzf changedetection.io_1.0.orig.tar.gz .
mkdir /tmp/changedetection.io
python3 -m build
mv dist/*gz .
debuild -us -uc
- name: Upload Debian Package Artifact

@ -10,6 +10,8 @@ recursive-include changedetectionio/tests *
prune changedetectionio/static/package-lock.json
prune changedetectionio/static/styles/node_modules
prune changedetectionio/static/styles/package-lock.json
prune changedetectionio/tests/test-datastore
include changedetection.py
include requirements.txt
include README-pip.md
@ -18,5 +20,6 @@ global-exclude node_modules
global-exclude venv
global-exclude test-datastore
global-exclude changedetectionio/tests/test-datastore
global-exclude changedetection.io*dist-info
global-exclude changedetectionio/tests/proxy_socks5/test-datastore

@ -1,5 +0,0 @@
changedetection.io (1.0-1) unstable; urgency=medium
* Initial release.
-- Your Name <your.email@example.com> Wed, 01 Nov 2023 12:00:00 +0000

2
debian/changelog vendored

@ -1,4 +1,4 @@
changedetection.io (1.0-1) unstable; urgency=medium
changedetection.io (0.48.5) unstable; urgency=medium
* Initial release.

1
debian/control vendored

@ -6,6 +6,7 @@ Build-Depends: debhelper-compat (= 13), dh-virtualenv, dh-python, python3-all (>
Standards-Version: 4.6.0
Rules-Requires-Root: no
Homepage: https://github.com/dgtlmoon/changedetection.io
X-Python3-Version: >= 3.10
Package: changedetection.io
Architecture: all

1
debian/rules vendored

@ -8,5 +8,6 @@ PYTHON_VERSION := $(shell py3versions -r '>= 3.10 << 3.13' -i)
override_dh_virtualenv:
dh_virtualenv --sourcedirectory=. \
--install-suffix='' \
--destdir=/tmp/changedetection.io \
--requirements=requirements.txt \
--python=/usr/bin/$(PYTHON_VERSION)
Loading…
Cancel
Save