Add py-inlinestyler 0.2.5
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. WWW: https://github.com/dlanger/inlinestyler - While I'm here: - Add LICENSE_FILE - Add NO_ARCH PR: 239063 Submitted by: Alexander Sieg <alex@xanderio.de>
This commit is contained in:
parent
b7afc54e14
commit
ec3ac4e3c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=509843
@ -1700,6 +1700,7 @@
|
||||
SUBDIR += py-hyperframe
|
||||
SUBDIR += py-hyperlink
|
||||
SUBDIR += py-imdbpy
|
||||
SUBDIR += py-inlinestyler
|
||||
SUBDIR += py-instabot
|
||||
SUBDIR += py-internetarchive
|
||||
SUBDIR += py-jonpy
|
||||
|
24
www/py-inlinestyler/Makefile
Normal file
24
www/py-inlinestyler/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= inlinestyler
|
||||
PORTVERSION= 0.2.5
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= alex@xanderio.de
|
||||
COMMENT= Inlines external css into html elements
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssutils>0:www/py-cssutils@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-inlinestyler/distinfo
Normal file
3
www/py-inlinestyler/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1563114829
|
||||
SHA256 (inlinestyler-0.2.5.tar.gz) = 49ff2d03bc848ab6edc1123421efb0264eb4f53bf5bad22685039fda98ee5a05
|
||||
SIZE (inlinestyler-0.2.5.tar.gz) = 14940
|
17
www/py-inlinestyler/pkg-descr
Normal file
17
www/py-inlinestyler/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
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.
|
||||
|
||||
WWW: https://github.com/dlanger/inlinestyler
|
Loading…
Reference in New Issue
Block a user