mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
[NEW PORT] mail/py-pymailq: Postfix queue control python tool
The pymailq module makes it easy to view and control Postfix mails queue. It provide several classes to store, view and interact with mail queue using Postfix command line tools. This module is provided for automation and monitoring developments. WWW: https://github.com/outini/pymailq Reviewed_by: koobs, mat Approved by: koobs (ports) Differential_Revision: D10976
This commit is contained in:
parent
1259a0b7fc
commit
9f1cce221f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442139
@ -543,6 +543,7 @@
|
||||
SUBDIR += py-milter
|
||||
SUBDIR += py-notmuch
|
||||
SUBDIR += py-ppolicy
|
||||
SUBDIR += py-pymailq
|
||||
SUBDIR += py-pyspf
|
||||
SUBDIR += py-spambayes
|
||||
SUBDIR += py-twistedMail
|
||||
|
39
mail/py-pymailq/Makefile
Normal file
39
mail/py-pymailq/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# Created by: Fukang Chen <loader@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pymailq
|
||||
PORTVERSION= 0.5.4
|
||||
CATEGORIES= mail python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= loader@FreeBSD.org
|
||||
COMMENT= Postfix queue control python tool
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= postfix:mail/postfix
|
||||
|
||||
NO_ARCH= yes
|
||||
USES= python:2.7+
|
||||
USE_PYTHON= autoplist distutils concurrent
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PLIST_FILES+= man/man1/pqshell-${PYTHON_VER}.1.gz
|
||||
.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
|
||||
PLIST_FILES+= man/man1/pqshell.1.gz
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/sbin/postqueue|${LOCALBASE}/sbin/postqueue|' \
|
||||
${WRKSRC}/pymailq/store.py
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/man/pqshell.1 ${STAGEDIR}${MANPREFIX}/man/man1/pqshell-${PYTHON_VER}.1
|
||||
.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
|
||||
${LN} -sf pqshell-${PYTHON_VER}.1 ${STAGEDIR}${MANPREFIX}/man/man1/pqshell.1
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
mail/py-pymailq/distinfo
Normal file
3
mail/py-pymailq/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1495872044
|
||||
SHA256 (pymailq-0.5.4.tar.gz) = 25e6afc496c5cbd46221ced5c3db2f0bf86acdbe2f0a8753493143b75768b493
|
||||
SIZE (pymailq-0.5.4.tar.gz) = 25038
|
11
mail/py-pymailq/files/patch-setup.py
Normal file
11
mail/py-pymailq/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig 2017-05-29 11:46:42 UTC
|
||||
+++ setup.py
|
||||
@@ -39,8 +39,6 @@ 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'])],
|
||||
keywords=['postfix', 'shell', 'mailq', 'python', 'pqshell', 'postqueue'],
|
||||
classifiers=[
|
||||
'Development Status :: 2 - Pre-Alpha',
|
6
mail/py-pymailq/pkg-descr
Normal file
6
mail/py-pymailq/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
The pymailq module makes it easy to view and control Postfix mails
|
||||
queue. It provide several classes to store, view and interact with
|
||||
mail queue using Postfix command line tools. This module is provided
|
||||
for automation and monitoring developments.
|
||||
|
||||
WWW: https://github.com/outini/pymailq
|
Loading…
Reference in New Issue
Block a user