| 1 |
Source: golang-github-aymerick-douceur |
| 2 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 |
Uploaders: Federico Grau <[email protected]>, |
| 4 |
Anthony Fok <[email protected]> |
| 5 |
Section: golang |
| 6 |
Testsuite: autopkgtest-pkg-go |
| 7 |
Priority: optional |
| 8 |
Build-Depends: debhelper-compat (= 13), |
| 9 |
dh-golang, |
| 10 |
golang-any, |
| 11 |
golang-github-gorilla-css-dev, |
| 12 |
golang-github-puerkitobio-goquery-dev, |
| 13 |
golang-golang-x-net-dev |
| 14 |
Standards-Version: 4.6.0 |
| 15 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-aymerick-douceur |
| 16 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-aymerick-douceur.git |
| 17 |
Homepage: https://github.com/aymerick/douceur |
| 18 |
Rules-Requires-Root: no |
| 19 |
XS-Go-Import-Path: github.com/aymerick/douceur |
| 20 |
|
| 21 |
Package: golang-github-aymerick-douceur-dev |
| 22 |
Architecture: all |
| 23 |
Multi-Arch: foreign |
| 24 |
Depends: golang-github-gorilla-css-dev, |
| 25 |
golang-github-puerkitobio-goquery-dev, |
| 26 |
golang-golang-x-net-dev, |
| 27 |
${misc:Depends} |
| 28 |
Description: simple CSS parser and inliner in Go (library) |
| 29 |
Golang library with simple CSS parser and HTML inliner. |
| 30 |
See associated "douceur" binary for a basic command-line executable of this |
| 31 |
library. |
| 32 |
. |
| 33 |
Parser is vaguely inspired by CSS Syntax Module Level 3 |
| 34 |
(https://www.w3.org/TR/css-syntax-3/) and corresponding JS parser |
| 35 |
(https://github.com/tabatkins/parse-css). |
| 36 |
. |
| 37 |
Inliner only parses CSS defined in HTML document; it DOES NOT fetch |
| 38 |
external stylesheets (for now). Inliner inserts additional attributes when |
| 39 |
possible. |
| 40 |
. |
| 41 |
Similar projects |
| 42 |
* premailer (https://github.com/premailer/premailer) |
| 43 |
* roadie (https://github.com/Mange/roadie) |
| 44 |
|
| 45 |
Package: douceur |
| 46 |
Architecture: any |
| 47 |
Depends: ${misc:Depends}, |
| 48 |
${shlibs:Depends} |
| 49 |
Built-Using: ${misc:Built-Using} |
| 50 |
Section: web |
| 51 |
Description: simple CSS parser and inliner in Go (program) |
| 52 |
This package provides douceur, a simple CSS parser and HTML inliner. |
| 53 |
. |
| 54 |
Parser is vaguely inspired by CSS Syntax Module Level 3 |
| 55 |
(https://www.w3.org/TR/css-syntax-3/) and corresponding JS parser |
| 56 |
(https://github.com/tabatkins/parse-css). |
| 57 |
. |
| 58 |
Inliner only parses CSS defined in HTML document; it DOES NOT fetch |
| 59 |
external stylesheets (for now). |
| 60 |
. |
| 61 |
Parse a CSS file and display result: |
| 62 |
$ douceur parse inputfile.css |
| 63 |
. |
| 64 |
Inline CSS in an HTML document and display result: |
| 65 |
$ douceur inline inputfile.html |