www/py-inlinestyler 0.2.5_3 FreeBSD
Inlines external css into html elements
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE
- Categories
- www, python
- Package size
- 32.6 KiB, 144.0 KiB installed
Description
inlinestyler is an easy way to locally inline CSS into an HTML email message.
Styling HTML email is a black art. CSS works, but only when it's been placed inline on the individual elements (and event then, not always) - which makes development frustrating, and iteration slow.
The general solution is to use an inlining service, which takes a message with the CSS placed externally, and rewrites it so that all CSS is applied to the individual elements. The most widely used of these services - and as far as I can tell, the one that powers CampaignMonitor - is Premailer. It's a great service, and the guys behind it put a lot of work into keeping it up to date with the most recent discoveries in what works and what doesn't.
inlinestyler takes (most) of the functionality of Premailer, and makes it available locally, accessible without having call a remote service.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-inlinestyler | 0.2.5_3 |
| DragonFly | www/py-inlinestyler | 0.2.5_1 |
| HardenedBSD | www/py-inlinestyler | 0.2.5_3 |
| GhostBSD | www/py-inlinestyler | 0.2.5_3 |
Install
Binary package:
pkg install py312-inlinestyler
From the ports tree:
cd /usr/ports/www/py-inlinestyler/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-inlinestyler>0:www/py-inlinestyler
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.2.5_3 | 0.2.5_3 | 0.2.5 | 0.2.5_2 | 0.2.5_3 |
| FreeBSD:14:quarterly | 0.2.5_3 | 0.2.5_3 | n/a | 0.2.5_1 | 0.2.5_3 |
| FreeBSD:15:latest | 0.2.5_3 | 0.2.5_3 | n/a | 0.2.5_2 | 0.2.5_2 |
| FreeBSD:15:quarterly | 0.2.5_3 | 0.2.5_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.5_3 | 0.2.5_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 3
${PYTHON_PKGNAMEPREFIX}cssutils>0: www/py-cssutils${PYTHON_PKGNAMEPREFIX}lxml>0: devel/py-lxml${PYTHON_PKGNAMEPREFIX}requests>=1.0.0: www/py-requests
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 19
- devel/gettext-runtime
- devel/libffi
- devel/py-lxml
- devel/readline
- dns/py-idna
- lang/python312
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/libgcrypt
- security/libgpg-error
- security/py-certifi
- textproc/expat2
- textproc/libxml2
- textproc/libxslt
- textproc/py-charset-normalizer
- www/py-cssutils
- www/py-requests
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| inlinestyler-0.2.5.tar.gz | 14940 | 49ff2d03bc848ab6edc1123421efb0264eb4f53bf5bad22685039fda98ee5a05 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.