debian: add package for Python 3 module

This commit is contained in:
Frédéric Péters 2020-04-18 11:07:33 +02:00
parent 4f6397ea9b
commit 9952ed6711
5 changed files with 14 additions and 30 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
7
10

32
debian/control vendored
View File

@ -1,36 +1,16 @@
Source: premailer
Maintainer: Peter Bengtsson <mail@peterbe.com>
Maintainer: Entr'ouvert <info@entrouvert.com>
Section: python
Priority: optional
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 7)
Build-Depends: python-setuptools, python-all, debhelper (>= 10), python3-setuptools, python3-all, dh-python
Standards-Version: 3.9.1
Package: python-premailer
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Description: Turns CSS blocks into style attributes
premailer
=========
.
|Travis|
.
|Coverage Status|
.
Looking for sponsors
--------------------
.
This project is actively looking for corporate sponsorship. If you want
to help making this an active project consider `pinging
Peter <http://www.peterbe.com/contact>`__ and we can talk about putting
up logos and links to your company.
.
Python versions
---------------
.
Our
`tox.ini <https://github.com/peterbe/premailer/blob/master/tox.ini>`__
Package: python3-premailer
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: Turns CSS blocks into style attributes (Python 3 module)

2
debian/py3dist-overrides vendored Normal file
View File

@ -0,0 +1,2 @@
cssselect python3-cssselect
cssutils python3-cssutils

2
debian/pydist-overrides vendored Normal file
View File

@ -0,0 +1,2 @@
cssselect python-cssselect
cssutils python-cssutils

6
debian/rules vendored
View File

@ -1,7 +1,7 @@
#!/usr/bin/make -f
# This file was automatically generated by stdeb 0.8.5 at
# Thu, 07 Jul 2016 16:56:28 +0200
export PYBUILD_NAME=premailer
export PYBUILD_DISABLE=test
%:
dh $@ --with python2
dh $@ --with python2,python3 --buildsystem=pybuild