mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
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 <ryder.dain@gmail.com>
This commit is contained in:
parent
9406ac5538
commit
841ec24f19
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452046
@ -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
|
||||
|
29
mail/py-premailer/Makefile
Normal file
29
mail/py-premailer/Makefile
Normal file
@ -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 <bsd.port.mk>
|
3
mail/py-premailer/distinfo
Normal file
3
mail/py-premailer/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1501591383
|
||||
SHA256 (premailer-3.1.1.tar.gz) = fd07dadc47345f7d44a0587bd65a37c45886f19c44b3ec94904761e4b2d39124
|
||||
SIZE (premailer-3.1.1.tar.gz) = 17306
|
3
mail/py-premailer/pkg-descr
Normal file
3
mail/py-premailer/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Python module to support CSS and HTML-based email formatting.
|
||||
|
||||
WWW: https://github.com/peterbe/premailer
|
Loading…
Reference in New Issue
Block a user