add debian packaging

This commit is contained in:
Frédéric Péters 2019-02-16 23:25:27 +01:00
parent d0e8f22696
commit c7c3a3370c
6 changed files with 73 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
weasyprint (0.42.3-1) unstable; urgency=low
* source package automatically created by stdeb 0.8.5
-- Frederic Peters <fpeters@debian.org> Sat, 16 Feb 2019 22:30:56 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

54
debian/control vendored Normal file
View File

@ -0,0 +1,54 @@
Source: weasyprint
Maintainer: Frederic Peters <fpeters@debian.org>
Section: python
Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
libpango-1.0-0,
libpangocairo-1.0-0,
python-all (>= 2.6.6-3),
python-cairocffi,
python-cairosvg,
python-cffi,
python-cssselect2,
python-html5lib,
python-pdfrw,
python-pyphen,
python-pytest,
python-pytest-runner,
python-setuptools (>= 0.6b3),
python-tinycss2,
python3-all,
python3-cairocffi,
python3-cairosvg,
python3-cffi,
python3-cssselect2,
python3-html5lib,
python3-pdfrw,
python3-pyphen,
python3-pytest,
python3-pytest-runner,
python3-setuptools,
python3-tinycss2
Standards-Version: 3.9.6
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.4
Homepage: http://weasyprint.org/
Package: python-weasyprint
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Description: WeasyPrint converts web documents to PDF
WeasyPrint is a visual rendering engine for HTML and CSS that can export
to PDF. It aims to support web standards for printing.
.
WeasyPrint is free software made available under a BSD license.
Package: python3-weasyprint
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: WeasyPrint converts web documents to PDF (Python 3 module)
WeasyPrint is a visual rendering engine for HTML and CSS that can export
to PDF. It aims to support web standards for printing.
.
WeasyPrint is free software made available under a BSD license.

8
debian/rules vendored Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/make -f
# This file was automatically generated by stdeb 0.8.5 at
# Sat, 16 Feb 2019 22:30:56 +0100
export PYBUILD_NAME=weasyprint
%:
dh $@ --with python2,python3 --buildsystem=pybuild

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

4
debian/watch vendored Normal file
View File

@ -0,0 +1,4 @@
# please also check http://pypi.debian.net/WeasyPrint/watch
version=3
opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
http://pypi.debian.net/WeasyPrint/WeasyPrint-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))