Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143942999
D34388.id103541.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
7 KB
Referenced Files
None
Subscribers
None
D34388.id103541.diff
View Options
Index: mail/Makefile
===================================================================
--- mail/Makefile
+++ mail/Makefile
@@ -498,6 +498,7 @@
SUBDIR += py-flufl.bounce
SUBDIR += py-fuglu
SUBDIR += py-imapclient
+ SUBDIR += py-imaplib2
SUBDIR += py-mail-parser
SUBDIR += py-mailmanclient
SUBDIR += py-mailnag
@@ -506,6 +507,7 @@
SUBDIR += py-milter
SUBDIR += py-notmuch
SUBDIR += py-notmuch2
+ SUBDIR += py-offlineimap3
SUBDIR += py-postfix-mta-sts-resolver
SUBDIR += py-premailer
SUBDIR += py-pymailq
@@ -513,6 +515,7 @@
SUBDIR += py-pyspf
SUBDIR += py-python-slimta
SUBDIR += py-pyzmail
+ SUBDIR += py-rfc6555
SUBDIR += py-spf-engine
SUBDIR += py-validate_email
SUBDIR += pymsgauth
Index: mail/py-imaplib2/Makefile
===================================================================
--- /dev/null
+++ mail/py-imaplib2/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= imaplib2
+PORTVERSION= 3.6
+CATEGORIES= mail python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dereks@lifeofadishwasher.com
+COMMENT= Threaded Python IMAP4 client
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENCE
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES= python:3.6-3.9
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+post-extract:
+ @${MKDIR} ${WRKSRC}/${PORTNAME}/tests
+ @${CP} ${FILESDIR}/test_imports.py ${WRKSRC}/${PORTNAME}/tests/
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= ${PORTNAME}/tests
+
+.include <bsd.port.mk>
Index: mail/py-imaplib2/distinfo
===================================================================
--- /dev/null
+++ mail/py-imaplib2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1645916681
+SHA256 (imaplib2-3.6.tar.gz) = 96cb485b31868a242cb98d5c5dc67b39b22a6359f30316de536060488e581e5b
+SIZE (imaplib2-3.6.tar.gz) = 26252
Index: mail/py-imaplib2/files/test_imports.py
===================================================================
--- /dev/null
+++ mail/py-imaplib2/files/test_imports.py
@@ -0,0 +1,8 @@
+def test_import_normally():
+ from imaplib2 import IMAP4_SSL
+ assert IMAP4_SSL
+
+
+def test_import_hack():
+ from imaplib2.imaplib2 import IMAP4_SSL
+ assert IMAP4_SSL
Index: mail/py-imaplib2/pkg-descr
===================================================================
--- /dev/null
+++ mail/py-imaplib2/pkg-descr
@@ -0,0 +1,7 @@
+Based on RFC 3501 and original imaplib module.
+
+This is a version of imaplib that uses threads to allow full use of
+the IMAP4 concurrency features, and to de-couple a user of imaplib
+from i/o lags, except where explicitly allowed.
+
+WWW: https://github.com/jazzband/imaplib2/
Index: mail/py-offlineimap3/Makefile
===================================================================
--- /dev/null
+++ mail/py-offlineimap3/Makefile
@@ -0,0 +1,81 @@
+PORTNAME= offlineimap3
+PORTVERSION= 8.0.0
+DISTVERSIONPREFIX= v
+CATEGORIES= mail python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dereks@lifeofadishwasher.com
+COMMENT= Two-way synchronization of local Maildir and IMAP folders
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+# setup.py requires these during build time. Possible move to setup/install_requires:
+# https://github.com/OfflineIMAP/offlineimap3/issues/110
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distro>=0:sysutils/py-distro@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}imaplib2>=3.5:mail/py-imaplib2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rfc6555>=0:mail/py-rfc6555@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=2020.6.20:security/py-certifi@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}distro>=0:sysutils/py-distro@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}imaplib2>=3.5:mail/py-imaplib2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rfc6555>=0:mail/py-rfc6555@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.9:net/py-urllib3@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+
+# Project is currently not publishing to pypi sdist. pypi/naming status:
+# https://github.com/OfflineIMAP/offlineimap3/issues/111
+USE_GITHUB= yes
+GH_ACCOUNT= OfflineIMAP
+
+USE_PYTHON= autoplist concurrent distutils
+
+CONFLICTS_INSTALL= mail/py-offlineimap
+
+NO_ARCH= yes
+
+PORTDOCS= *
+PORTEXAMPLES= offlineimap.conf
+
+OPTIONS_DEFINE= DOCS EXAMPLES GSSAPI MANPAGES
+OPTIONS_DEFAULT= MANPAGES
+
+COMMON_BUILD_DEPENDS= a2x:textproc/asciidoc \
+ gmake:devel/gmake
+
+DOCS_BUILD_DEPENDS= ${COMMON_BUILD_DEPENDS} \
+ ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
+
+GSSAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gssapi>=1.6.9:security/py-gssapi@${PY_FLAVOR}
+
+MANPAGES_BUILD_DEPENDS= ${COMMON_BUILD_DEPENDS}
+MANPAGES_PLIST_FILES+= man/man1/offlineimap.1.gz \
+ man/man7/offlineimapui.7.gz
+
+post-build-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/docs && ${GMAKE} docs && \
+ cd html && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
+ '! ( -name .lock -or -name .buildinfo )'
+
+post-build-MANPAGES-on:
+ ${MKDIR} ${STAGEDIR}${MAN7PREFIX}/man/man7/
+ ${MKDIR} ${STAGEDIR}${MAN7PREFIX}/man/man1/
+ cd ${WRKSRC}/docs && ${GMAKE} man && \
+ ${INSTALL_MAN} offlineimapui.7 ${STAGEDIR}${MAN7PREFIX}/man/man7/ && \
+ ${INSTALL_MAN} offlineimap.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+
+post-install-EXAMPLES-on:
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/offlineimap.conf ${STAGEDIR}${EXAMPLESDIR}
+
+do-test:
+ @cd ${WRKSRC} && \
+ ${CP} test/credentials.conf.sample test/credentials.conf && \
+ ${PYTHON_CMD} -m pytest -v -rs -o addopts= test/
+
+.include <bsd.port.mk>
Index: mail/py-offlineimap3/distinfo
===================================================================
--- /dev/null
+++ mail/py-offlineimap3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1645914524
+SHA256 (OfflineIMAP-offlineimap3-v8.0.0_GH0.tar.gz) = 5d40c163ca2fbf89658116e29f8fa75050d0c34c29619019eee1a84c90fcab32
+SIZE (OfflineIMAP-offlineimap3-v8.0.0_GH0.tar.gz) = 702509
Index: mail/py-offlineimap3/pkg-descr
===================================================================
--- /dev/null
+++ mail/py-offlineimap3/pkg-descr
@@ -0,0 +1,4 @@
+OfflineIMAP is software that downloads your email mailbox(es) as
+local Maildirs. OfflineIMAP will synchronize both sides via IMAP.
+
+WWW: https://github.com/OfflineIMAP/offlineimap3
Index: mail/py-rfc6555/Makefile
===================================================================
--- /dev/null
+++ mail/py-rfc6555/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= rfc6555
+PORTVERSION= 0.1.0
+DISTVERSIONPREFIX= v
+CATEGORIES= mail python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dereks@lifeofadishwasher.com
+COMMENT= Happy Eyeballs Algorithm described in RFC 6555
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= sethmlarson
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= tests
+
+.include <bsd.port.mk>
Index: mail/py-rfc6555/distinfo
===================================================================
--- /dev/null
+++ mail/py-rfc6555/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1646273914
+SHA256 (sethmlarson-rfc6555-v0.1.0_GH0.tar.gz) = 8a15da0f619227c6938be27c64e844668701bca65205002eda789a4fd883b23f
+SIZE (sethmlarson-rfc6555-v0.1.0_GH0.tar.gz) = 11216
Index: mail/py-rfc6555/pkg-descr
===================================================================
--- /dev/null
+++ mail/py-rfc6555/pkg-descr
@@ -0,0 +1,5 @@
+Synchronous Python implementation of the Happy Eyeballs Algorithm
+described in RFC 6555. Provided with a single file and dead-simple
+API to allow easy vendoring and integration into other projects.
+
+WWW: https://github.com/sethmlarson/rfc6555
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 3, 8:20 AM (14 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28422305
Default Alt Text
D34388.id103541.diff (7 KB)
Attached To
Mode
D34388: [NEW] mail/py-offlineimap3: Two-way synchronization of local Maildir and IMAP folders
Attached
Detach File
Event Timeline
Log In to Comment