diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-10-14 13:29:00 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-10-14 20:22:50 -0700 |
commit | 7443c9cb16eab02223a7b9a84131a15c0f65414d (patch) | |
tree | 974be01e0a5588d6bf6086cbd6c87a701c67ccb9 /mail/py-exchangelib | |
parent | mail/pantomime: Take maintainership (diff) |
mail/py-exchangelib: New port: Client for Microsoft Exchange Web Services (EWS)
Diffstat (limited to 'mail/py-exchangelib')
-rw-r--r-- | mail/py-exchangelib/Makefile | 40 | ||||
-rw-r--r-- | mail/py-exchangelib/distinfo | 3 | ||||
-rw-r--r-- | mail/py-exchangelib/files/patch-pyproject.toml | 12 | ||||
-rw-r--r-- | mail/py-exchangelib/pkg-descr | 13 |
4 files changed, 68 insertions, 0 deletions
diff --git a/mail/py-exchangelib/Makefile b/mail/py-exchangelib/Makefile new file mode 100644 index 000000000000..584f5c1cd89a --- /dev/null +++ b/mail/py-exchangelib/Makefile @@ -0,0 +1,40 @@ +PORTNAME= exchangelib +DISTVERSIONPREFIX= v +DISTVERSION= 5.6.0 +CATEGORIES= mail python +#MASTER_SITES= PYPI # no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Client for Microsoft Exchange Web Services (EWS) +WWW= https://github.com/ecederstrand/exchangelib + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>0:devel/py-cached-property@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.6.0:devel/py-defusedxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dnspython>=2.2.0:dns/py-dnspython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}isodate>0:devel/py-isodate@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>3.0:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oauthlib>0:security/py-oauthlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests_ntlm>=0.2.0:www/py-requests_ntlm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>0:www/py-requests-oauthlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tzdata>0:devel/py-tzdata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist concurrent pytest + +USE_GITHUB= yes +GH_ACCOUNT= ecederstrand + +NO_ARCH= yes + +# tests as of 5.6.0: 62 passed, 435 skipped in 8.62s + +.include <bsd.port.mk> diff --git a/mail/py-exchangelib/distinfo b/mail/py-exchangelib/distinfo new file mode 100644 index 000000000000..458116e1627d --- /dev/null +++ b/mail/py-exchangelib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1760468833 +SHA256 (ecederstrand-exchangelib-v5.6.0_GH0.tar.gz) = d969b1857bab6318a78cb54a809464cbf8ed2c37e1375200b1fca0f947053d2c +SIZE (ecederstrand-exchangelib-v5.6.0_GH0.tar.gz) = 3049641 diff --git a/mail/py-exchangelib/files/patch-pyproject.toml b/mail/py-exchangelib/files/patch-pyproject.toml new file mode 100644 index 000000000000..66b9465d43e5 --- /dev/null +++ b/mail/py-exchangelib/files/patch-pyproject.toml @@ -0,0 +1,12 @@ +--- pyproject.toml.orig 2024-10-10 01:50:58 UTC ++++ pyproject.toml +@@ -24,8 +24,7 @@ description = "Client for Microsoft Exchange Web Serv + description = "Client for Microsoft Exchange Web Services (EWS)" + readme = {file = "README.md", content-type = "text/markdown"} + requires-python = ">=3.10" +-license = "BSD-2-Clause" +-license-files = ["LICENSE"] ++license = {text = "BSD-2-Clause"} + keywords = [ + "autodiscover", + "ews", diff --git a/mail/py-exchangelib/pkg-descr b/mail/py-exchangelib/pkg-descr new file mode 100644 index 000000000000..19904c33aa26 --- /dev/null +++ b/mail/py-exchangelib/pkg-descr @@ -0,0 +1,13 @@ +Exchangelib is a Python client for Microsoft Exchange Web Services (EWS). +It allows to access and manage mailbox items such as email, calendar, contacts, +and tasks. + +With exchangelib, you can: +* Search, create, update, and delete items in your mailbox. +* Send and receive email messages. +* Manage calendar events and appointments. +* Access and modify contacts and distribution lists. +* Work with tasks and other mailbox items. + +Exchangelib is compatible with Exchange Server 2007 and later, as well +as Office 365. |