From owner-svn-ports-all@freebsd.org Sun Aug 25 18:50:35 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D5661E6881; Sun, 25 Aug 2019 18:50:35 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46GkjR5M7Nz4J5Q; Sun, 25 Aug 2019 18:50:35 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9966D21C98; Sun, 25 Aug 2019 18:50:35 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7PIoZkd003942; Sun, 25 Aug 2019 18:50:35 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7PIoYTx003937; Sun, 25 Aug 2019 18:50:34 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201908251850.x7PIoYTx003937@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 25 Aug 2019 18:50:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509843 - in head/www: . py-inlinestyler X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/www: . py-inlinestyler X-SVN-Commit-Revision: 509843 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Aug 2019 18:50:35 -0000 Author: sunpoet Date: Sun Aug 25 18:50:34 2019 New Revision: 509843 URL: https://svnweb.freebsd.org/changeset/ports/509843 Log: 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 Added: head/www/py-inlinestyler/ head/www/py-inlinestyler/Makefile (contents, props changed) head/www/py-inlinestyler/distinfo (contents, props changed) head/www/py-inlinestyler/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sun Aug 25 18:49:47 2019 (r509842) +++ head/www/Makefile Sun Aug 25 18:50:34 2019 (r509843) @@ -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 Added: head/www/py-inlinestyler/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-inlinestyler/Makefile Sun Aug 25 18:50:34 2019 (r509843) @@ -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 Added: head/www/py-inlinestyler/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-inlinestyler/distinfo Sun Aug 25 18:50:34 2019 (r509843) @@ -0,0 +1,3 @@ +TIMESTAMP = 1563114829 +SHA256 (inlinestyler-0.2.5.tar.gz) = 49ff2d03bc848ab6edc1123421efb0264eb4f53bf5bad22685039fda98ee5a05 +SIZE (inlinestyler-0.2.5.tar.gz) = 14940 Added: head/www/py-inlinestyler/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-inlinestyler/pkg-descr Sun Aug 25 18:50:34 2019 (r509843) @@ -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