Skip to content

Commit

Permalink
link to pypi version
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlmoon committed Dec 27, 2024
1 parent 9d1fc07 commit d013928
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build-deb-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

This file was deleted.

2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
changedetection.io (1.0-1) unstable; urgency=medium
changedetection.io (0.48.5) unstable; urgency=medium

* Initial release.

Expand Down
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit d013928

Please sign in to comment.