diff options
author | loader <loader@FreeBSD.org> | 2017-09-12 22:42:41 +0800 |
---|---|---|
committer | loader <loader@FreeBSD.org> | 2017-09-12 22:42:41 +0800 |
commit | 5e45b2f28d78097cdcb50e9eb53ce08f312e2b7f (patch) | |
tree | 337d089a88459bdd54634d1d948d1880428e510c /mail/py-pymailq | |
parent | cb349badf8bf31a9a887e39413ee2031e8d6a92f (diff) | |
download | freebsd-ports-gnome-5e45b2f28d78097cdcb50e9eb53ce08f312e2b7f.tar.gz freebsd-ports-gnome-5e45b2f28d78097cdcb50e9eb53ce08f312e2b7f.tar.zst freebsd-ports-gnome-5e45b2f28d78097cdcb50e9eb53ce08f312e2b7f.zip |
mail/py-pymailq: Update to 0.8.0
Reviewed by: koobs
Approved by: koobs (ports)
Differential Revision: https://reviews.freebsd.org/D12198
Diffstat (limited to 'mail/py-pymailq')
-rw-r--r-- | mail/py-pymailq/Makefile | 7 | ||||
-rw-r--r-- | mail/py-pymailq/distinfo | 6 | ||||
-rw-r--r-- | mail/py-pymailq/files/patch-setup.py | 16 |
3 files changed, 18 insertions, 11 deletions
diff --git a/mail/py-pymailq/Makefile b/mail/py-pymailq/Makefile index b207a4169cf7..fb65284d4a14 100644 --- a/mail/py-pymailq/Makefile +++ b/mail/py-pymailq/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pymailq -PORTVERSION= 0.5.4 +PORTVERSION= 0.8.0 CATEGORIES= mail python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -27,8 +27,9 @@ PLIST_FILES+= man/man1/pqshell.1.gz .endif post-patch: - @${REINPLACE_CMD} -e 's|/usr/sbin/postqueue|${LOCALBASE}/sbin/postqueue|' \ - ${WRKSRC}/pymailq/store.py + @${REINPLACE_CMD} -e \ + 's|%%DOCSDIR%%|${DOCSDIR}|g; s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g' \ + ${WRKSRC}/setup.py post-install: ${INSTALL_MAN} ${WRKSRC}/man/pqshell.1 ${STAGEDIR}${MANPREFIX}/man/man1/pqshell-${PYTHON_VER}.1 diff --git a/mail/py-pymailq/distinfo b/mail/py-pymailq/distinfo index d57979e25ca8..e17c1658e104 100644 --- a/mail/py-pymailq/distinfo +++ b/mail/py-pymailq/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1495872044 -SHA256 (pymailq-0.5.4.tar.gz) = 25e6afc496c5cbd46221ced5c3db2f0bf86acdbe2f0a8753493143b75768b493 -SIZE (pymailq-0.5.4.tar.gz) = 25038 +TIMESTAMP = 1504168247 +SHA256 (pymailq-0.8.0.tar.gz) = 48b463d8a7563b2cb368a60c169143a3f1b3b5f8bf232610d7bfc2c0c18644ec +SIZE (pymailq-0.8.0.tar.gz) = 29881 diff --git a/mail/py-pymailq/files/patch-setup.py b/mail/py-pymailq/files/patch-setup.py index 85d81687cf23..155429d00f21 100644 --- a/mail/py-pymailq/files/patch-setup.py +++ b/mail/py-pymailq/files/patch-setup.py @@ -1,11 +1,17 @@ ---- setup.py.orig 2017-05-29 11:46:42 UTC +--- setup.py.orig 2017-08-31 10:22:19 UTC +++ setup.py -@@ -39,8 +39,6 @@ if __name__ == '__main__': +@@ -39,11 +39,10 @@ if __name__ == '__main__': scripts=['bin/pqshell'], packages=['pymailq'], package_dir={'pymailq': 'pymailq'}, -- data_files=[('share/doc/pymailq', ['README.rst', 'LICENSE']), -- ('share/man/man1/', ['man/pqshell.1'])], +- data_files=[('share/doc/pymailq', ['README.rst', 'LICENSE', 'CHANGES']), +- ('share/doc/pymailq/examples', [ ++ data_files=[('%%DOCSDIR%%', ['README.rst', 'LICENSE', 'CHANGES']), ++ ('%%EXAMPLESDIR%%', [ + 'share/doc/examples/pymailq.ini' +- ]), +- ('share/man/man1', ['man/pqshell.1'])], ++ ])], keywords=['postfix', 'shell', 'mailq', 'python', 'pqshell', 'postqueue'], classifiers=[ - 'Development Status :: 2 - Pre-Alpha', + 'Development Status :: 5 - Production/Stable', |