Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2018 07:36:57 +0000 (UTC)
From:      Fukang Chen <loader@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464993 - in head/mail/py-pymailq: . files
Message-ID:  <201803190736.w2J7avPT022197@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: loader (doc committer)
Date: Mon Mar 19 07:36:57 2018
New Revision: 464993
URL: https://svnweb.freebsd.org/changeset/ports/464993

Log:
  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

Modified:
  head/mail/py-pymailq/Makefile
  head/mail/py-pymailq/distinfo
  head/mail/py-pymailq/files/patch-setup.py

Modified: head/mail/py-pymailq/Makefile
==============================================================================
--- head/mail/py-pymailq/Makefile	Mon Mar 19 07:34:58 2018	(r464992)
+++ head/mail/py-pymailq/Makefile	Mon Mar 19 07:36:57 2018	(r464993)
@@ -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>

Modified: head/mail/py-pymailq/distinfo
==============================================================================
--- head/mail/py-pymailq/distinfo	Mon Mar 19 07:34:58 2018	(r464992)
+++ head/mail/py-pymailq/distinfo	Mon Mar 19 07:36:57 2018	(r464993)
@@ -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

Modified: head/mail/py-pymailq/files/patch-setup.py
==============================================================================
--- head/mail/py-pymailq/files/patch-setup.py	Mon Mar 19 07:34:58 2018	(r464992)
+++ head/mail/py-pymailq/files/patch-setup.py	Mon Mar 19 07:36:57 2018	(r464993)
@@ -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',



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803190736.w2J7avPT022197>