Skip to content

Commit

Permalink
mail/py-imapclient: Update 3.0.0
Browse files Browse the repository at this point in the history
Add two files upstream omitted from the release archive as patches.

Changelog: https://github.com/mjs/imapclient/releases/tag/3.0.0

PR:		275109
See also:	mjs/imapclient#563
  • Loading branch information
mekanix authored and clausecker committed Nov 18, 2023
1 parent 81070d1 commit f627cd1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mail/py-imapclient/Makefile
@@ -1,5 +1,5 @@
PORTNAME= imapclient
DISTVERSION= 2.3.1
DISTVERSION= 3.0.0
CATEGORIES= mail python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}

USES= python zip
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils pytest

NO_ARCH= yes

Expand Down
6 changes: 3 additions & 3 deletions mail/py-imapclient/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1657925101
SHA256 (IMAPClient-2.3.1.zip) = 26ea995664fae3a88b878ebce2aff7402931697b86658b7882043ddb01b0e6ba
SIZE (IMAPClient-2.3.1.zip) = 213347
TIMESTAMP = 1700063457
SHA256 (IMAPClient-3.0.0.zip) = 93a283c733288639b07989ffcf950f4046c831f1107f634de63b4e1ef9b75eb5
SIZE (IMAPClient-3.0.0.zip) = 244169
4 changes: 4 additions & 0 deletions mail/py-imapclient/files/patch-tests_____init____.py
@@ -0,0 +1,4 @@
--- tests/__init__.py.orig 2023-11-15 16:04:42 UTC
+++ tests/__init__.py
@@ -0,0 +1 @@
+# Placeholder
11 changes: 11 additions & 0 deletions mail/py-imapclient/files/patch-tests_imapclient__test.py
@@ -0,0 +1,11 @@
--- tests/imapclient_test.py.orig 2023-11-15 16:02:02 UTC
+++ tests/imapclient_test.py
@@ -0,0 +1,8 @@
+import unittest
+
+from imapclient.testable_imapclient import TestableIMAPClient as IMAPClient
+
+
+class IMAPClientTest(unittest.TestCase):
+ def setUp(self):
+ self.client = IMAPClient()

0 comments on commit f627cd1

Please sign in to comment.