From owner-svn-ports-all@freebsd.org Sat Oct 14 07:21:18 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3A78E3F86B; Sat, 14 Oct 2017 07:21:18 +0000 (UTC) (envelope-from pi@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 mx1.freebsd.org (Postfix) with ESMTPS id A07C1669E5; Sat, 14 Oct 2017 07:21:18 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9E7LHws065822; Sat, 14 Oct 2017 07:21:17 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9E7LHpl065818; Sat, 14 Oct 2017 07:21:17 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201710140721.v9E7LHpl065818@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 14 Oct 2017 07:21:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452046 - in head/mail: . py-premailer X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/mail: . py-premailer X-SVN-Commit-Revision: 452046 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.23 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: Sat, 14 Oct 2017 07:21:18 -0000 Author: pi Date: Sat Oct 14 07:21:17 2017 New Revision: 452046 URL: https://svnweb.freebsd.org/changeset/ports/452046 Log: New port: mail/py-premailer: Convert CSS to style attributes Python module to support CSS and HTML-based email formatting. WWW: https://github.com/peterbe/premailer PR: 221154 Submitted by: Ryder Dain Added: head/mail/py-premailer/ head/mail/py-premailer/Makefile (contents, props changed) head/mail/py-premailer/distinfo (contents, props changed) head/mail/py-premailer/pkg-descr (contents, props changed) Modified: head/mail/Makefile Modified: head/mail/Makefile ============================================================================== --- head/mail/Makefile Sat Oct 14 07:09:11 2017 (r452045) +++ head/mail/Makefile Sat Oct 14 07:21:17 2017 (r452046) @@ -539,6 +539,7 @@ SUBDIR += py-milter SUBDIR += py-notmuch SUBDIR += py-ppolicy + SUBDIR += py-premailer SUBDIR += py-pymailq SUBDIR += py-pyspf SUBDIR += py-spambayes Added: head/mail/py-premailer/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/py-premailer/Makefile Sat Oct 14 07:21:17 2017 (r452046) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= premailer +PORTVERSION= 3.1.1 +CATEGORIES= mail python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rtd24@columbia.edu +COMMENT= Turns CSS blocks into style attributes + +LICENSE= PSFL +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssselect>=0:www/py-cssselect \ + ${PYTHON_PKGNAMEPREFIX}cssutils>=0:www/py-cssutils \ + ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock \ + ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose + +NO_ARCH= yes +USES= python +USE_PYTHON= autoplist distutils concurrent + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include Added: head/mail/py-premailer/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/py-premailer/distinfo Sat Oct 14 07:21:17 2017 (r452046) @@ -0,0 +1,3 @@ +TIMESTAMP = 1501591383 +SHA256 (premailer-3.1.1.tar.gz) = fd07dadc47345f7d44a0587bd65a37c45886f19c44b3ec94904761e4b2d39124 +SIZE (premailer-3.1.1.tar.gz) = 17306 Added: head/mail/py-premailer/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/py-premailer/pkg-descr Sat Oct 14 07:21:17 2017 (r452046) @@ -0,0 +1,3 @@ +Python module to support CSS and HTML-based email formatting. + +WWW: https://github.com/peterbe/premailer