Skip to content
Snippets Groups Projects
Verified Commit 04f15b64 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Add debian files

parent 1b8e4ad6
No related branches found
No related tags found
1 merge request!15Setup debian package
Pipeline #20617 failed
#!/bin/bash
poetry export --without-hashes > requirements.txt
sed -i '/^pillow.*$/d' requirements.txt
dpkg-buildpackage -us -uc -b
documento-printserver (0.1-1) unstable; urgency=medium
* Initial release.
-- Jonathan Weth <dev@jonathanweth.de> Sun, 04 Jul 2021 12:20:29 +0200
10
Source: documento-printserver
Section: python
Priority: extra
Maintainer: Jonathan Weth <dev@jonathanweth.de>
Build-Depends: debhelper (>= 10), python3, dh-virtualenv (>= 1.0),
python3-setuptools, python3-pip, python3-dev, libffi-dev
Standards-Version: 4.5.0
Homepage: https://edugit.org/documento/documento-printserver
Vcs-Git: https://edugit.org/documento/documento-printserver.git
Vcs-Browser: https://edugit.org/documento/documento-printserver
Package: documento-printserver
Architecture: any
Pre-Depends: dpkg (>= 1.16.1), python3 (>= 3.6), python3-pil, ${misc:Pre-Depends}
Depends: ${misc:Depends}
Description: The printserver for Documento
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: documento-printserver
Upstream-Contact: Jonathan Weth <dev@jonathanweth.de>
Source: https://edugit.org/documento/documento-printserver
Files: *
Copyright: 2020, 2021 Jonathan Weth <dev@jonathanweth.de>
License: GPL-3+
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-3'.
opt/venvs/documento-printserver/bin/documento-printserver usr/bin/documento-printserver
opt/venvs/documento-printserver/bin/documento-printserver usr/bin/documento-printserver
# Register interest in Python interpreter changes (Python 2 for now); and
# don't make the Python package dependent on the virtualenv package
# processing (noawait)
interest-noawait /usr/bin/python3.6
interest-noawait /usr/bin/python3.7
interest-noawait /usr/bin/python3.8
interest-noawait /usr/bin/python3.9
# Also provide a symbolic trigger for all dh-virtualenv packages
interest dh-virtualenv-interpreter-update
#!/usr/bin/make -f
%:
dh $@ --with python-virtualenv
override_dh_virtualenv:
dh_virtualenv --python python3 --extra-pip-arg "--no-deps" --use-system-packages
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment