Archivemail searches through mailbox files (in any of a number of
formats) and selects messages older than N days to be moved to a new,
optionally-compressed, mbox-format file. Selected messages can also be
appended to an existing archive file, or simply deleted.
WWW: http://archivemail.sourceforge.net/
===> The following configuration options are available for py27-archivemail-0.9.0_4:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
mail/archivemail: Limit to Python 2.7, level up port compliance
archivemail fails to build with Python 3.x [1]:
print too_old_error
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print(too_old_error)?
Limit to Python 2.7 accordingly.
While I'm here, level up port compliance:
- Update COMMENT to match setup.py:description
- Use distutils/autoplist/concurrent (package uses a setup.py). Remove
NO_BUILD, do-install target, amend pkg-plist accordingly.
- Patch setup.py to install man pages in /usr/local not /usr/local/share
- Add test target to assist QA
PR: 237179 [1]
Reported by: Helge Oldach <freebsd oldach net> [1]
MFH: 2019Q2
- Update to 0.6.2
- Install script via port's Makefile instead of USE_PYDISTUTILS
- Manual page is no longer included in the distribution;
building it from SGML source requires Jade and docbook2man;
in order to avoid adding quite heavy dependecies for this simple
utility, we now install SGML and associated Makefile to DOCSDIR
for those who want to build the man page manually
- This fixes the following warning when you run archivemail with Python 2.3:
/usr/local/bin/archivemail:760: SyntaxWarning: assignment to None
(None, last_dir) = os.path.split(os.path.dirname(message.fp.name))
The patch was also submitted to upstream (using SF's bug tracking system).
PR: ports/64354
Submitted by: Simon Barner <barner@in.tum.de>
- Use DOCSDIR/EXAMPLESDIR macros in pkg-plist
- Bump PORTREVISION
Remove the StUdLyCaPs from maintainer name, 'cause some folks won't realize
mail's case insensitive and will try to type that. Sorry folks, purely a
cosmetic change here, nothing to see, move along, move along....