diff options
author | loader <loader@FreeBSD.org> | 2018-03-19 15:36:57 +0800 |
---|---|---|
committer | loader <loader@FreeBSD.org> | 2018-03-19 15:36:57 +0800 |
commit | 9015977953eb66e490f443952e2c7dc0acb95c31 (patch) | |
tree | 87c7c4217fdeca85cfe363f52315b473521efcaf /mail | |
parent | 7b6e48a9a7c1644d40baabf82d95aa04f814beb0 (diff) | |
download | freebsd-ports-gnome-9015977953eb66e490f443952e2c7dc0acb95c31.tar.gz freebsd-ports-gnome-9015977953eb66e490f443952e2c7dc0acb95c31.tar.zst freebsd-ports-gnome-9015977953eb66e490f443952e2c7dc0acb95c31.zip |
mail/py-pymailq: Update to 0.9.0
- Use setup.py to install the man page
Reviewed by: koobs
Approved by: koobs (ports)
Differential Revision: https://reviews.freebsd.org/D14722
Diffstat (limited to 'mail')
-rw-r--r-- | mail/py-pymailq/Makefile | 11 | ||||
-rw-r--r-- | mail/py-pymailq/distinfo | 6 | ||||
-rw-r--r-- | mail/py-pymailq/files/patch-setup.py | 8 |
3 files changed, 11 insertions, 14 deletions
diff --git a/mail/py-pymailq/Makefile b/mail/py-pymailq/Makefile index 3203f25beadf..a7f3ea0a5b5d 100644 --- a/mail/py-pymailq/Makefile +++ b/mail/py-pymailq/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pymailq -PORTVERSION= 0.8.0 +PORTVERSION= 0.9.0 CATEGORIES= mail python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,14 +19,11 @@ NO_ARCH= yes USES= python USE_PYTHON= autoplist distutils concurrent -PLIST_FILES= man/man1/pqshell.1.gz - post-patch: @${REINPLACE_CMD} -e \ - 's|%%DOCSDIR%%|${DOCSDIR}|g; s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g' \ + 's|%%DOCSDIR%%|${DOCSDIR}|g; \ + s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g; \ + s|%%MANPREFIX%%|${MANPREFIX}|g' \ ${WRKSRC}/setup.py -post-install: - ${INSTALL_MAN} ${WRKSRC}/man/pqshell.1 ${STAGEDIR}${MANPREFIX}/man/man1/pqshell.1 - .include <bsd.port.mk> diff --git a/mail/py-pymailq/distinfo b/mail/py-pymailq/distinfo index e17c1658e104..bb83ab357497 100644 --- a/mail/py-pymailq/distinfo +++ b/mail/py-pymailq/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1504168247 -SHA256 (pymailq-0.8.0.tar.gz) = 48b463d8a7563b2cb368a60c169143a3f1b3b5f8bf232610d7bfc2c0c18644ec -SIZE (pymailq-0.8.0.tar.gz) = 29881 +TIMESTAMP = 1520355859 +SHA256 (pymailq-0.9.0.tar.gz) = 9a492b178d9a788eadb8fbf98897b9ef10a374f789487ae6dc18313b4c2798de +SIZE (pymailq-0.9.0.tar.gz) = 32640 diff --git a/mail/py-pymailq/files/patch-setup.py b/mail/py-pymailq/files/patch-setup.py index 155429d00f21..8b2fd2f034b5 100644 --- a/mail/py-pymailq/files/patch-setup.py +++ b/mail/py-pymailq/files/patch-setup.py @@ -1,6 +1,6 @@ ---- setup.py.orig 2017-08-31 10:22:19 UTC +--- setup.py.orig 2018-03-06 17:14:54 UTC +++ setup.py -@@ -39,11 +39,10 @@ if __name__ == '__main__': +@@ -39,11 +39,11 @@ if __name__ == '__main__': scripts=['bin/pqshell'], packages=['pymailq'], package_dir={'pymailq': 'pymailq'}, @@ -9,9 +9,9 @@ + data_files=[('%%DOCSDIR%%', ['README.rst', 'LICENSE', 'CHANGES']), + ('%%EXAMPLESDIR%%', [ 'share/doc/examples/pymailq.ini' -- ]), + ]), - ('share/man/man1', ['man/pqshell.1'])], -+ ])], ++ ('%%MANPREFIX%%/man/man1', ['man/pqshell.1'])], keywords=['postfix', 'shell', 'mailq', 'python', 'pqshell', 'postqueue'], classifiers=[ 'Development Status :: 5 - Production/Stable', |