summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-05-07 18:00:35 +0000
committeradam <adam@pkgsrc.org>2021-05-07 18:00:35 +0000
commit872531ceeb4fb8b42d6f72963460091aa09e89ba (patch)
tree2f672770477afbd92e5fc51bb90edf43959ba706
parenta244f7b05979fa27b48c90ec7f24311ae669ce99 (diff)
downloadpkgsrc-872531ceeb4fb8b42d6f72963460091aa09e89ba.tar.gz
py-kombu: updated to 5.0.2
5.0.2 Bump required amqp version to 5.0.0. 5.0.1 Removed kombu.five from the reference documentation since it no longer exists Adjusted the stable documentation’s version in Sphinx’s configuration since that was overlooked in the latest release 5.0.0 BREAKING CHANGE: Dropped support for Python 2 Add an SQS transport option for custom botocore config 4.6.11 Revert incompatible changes in Default_channel should reconnect automatically 4.6.10 Doc improvement. set _connection in _ensure_connection Fix for the issue reuse connection [bug fix] 4.6.9 Prevent failure if AWS creds are not explicitly defined on predefined. Raise RecoverableConnectionError in maybe_declare with retry on and. Fix for the issue possible fix for Fix: make SQLAlchemy Channel init thread-safe Added integration testing infrastructure for RabbitMQ Initial redis integration tests implementation SQLAlchemy transport: Use Query.with_for_update() instead of deprecated Fix Consumer Encoding Added Integration tests for direct, topic and fanout exchange types Added TTL integration tests Added integration tests for priority queues fix 100% cpu usage on linux while using sqs Modified Mutex to use redis LuaLock implementation Fix: eliminate remaining race conditions from SQLAlchemy Channel Fix connection imaybe_declare Fix for issue Ensure connection when connecting to broker update pyamqp to 2.6 with optional cythonization
-rw-r--r--net/py-kombu/Makefile14
-rw-r--r--net/py-kombu/PLIST5
-rw-r--r--net/py-kombu/distinfo10
-rw-r--r--net/py-kombu/options.mk60
4 files changed, 12 insertions, 77 deletions
diff --git a/net/py-kombu/Makefile b/net/py-kombu/Makefile
index 6fa40382340..fa44a39990f 100644
--- a/net/py-kombu/Makefile
+++ b/net/py-kombu/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2020/05/16 18:00:31 adam Exp $
+# $NetBSD: Makefile,v 1.29 2021/05/07 18:00:35 adam Exp $
-DISTNAME= kombu-4.6.8
+DISTNAME= kombu-5.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=k/kombu/}
@@ -10,25 +10,23 @@ HOMEPAGE= https://kombu.readthedocs.io/
COMMENT= Messaging framework for Python
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-amqp>=2.5.2:../../net/py-amqp
+DEPENDS+= ${PYPKGPREFIX}-amqp>=5.0.0:../../net/py-amqp
DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
TEST_DEPENDS+= ${PYPKGPREFIX}-Pyro4-[0-9]*:../../devel/py-Pyro
TEST_DEPENDS+= ${PYPKGPREFIX}-case>=1.5.2:../../devel/py-case
TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar-[0-9]*:../../devel/py-test-sugar
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 38
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=0.18:../../devel/py-importlib-metadata
.endif
-PYTHON_VERSIONED_DEPENDENCIES= test:test
-
USE_LANGUAGES= # none
-REPLACE_PYTHON+= kombu/tests/test_serialization.py
+PYTHON_VERSIONS_INCOMPATIBLE= 27
-.include "options.mk"
+REPLACE_PYTHON+= kombu/tests/test_serialization.py
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-kombu/PLIST b/net/py-kombu/PLIST
index d80d7e1febf..aafdb1b9426 100644
--- a/net/py-kombu/PLIST
+++ b/net/py-kombu/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2019/03/06 18:43:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2021/05/07 18:00:35 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -80,9 +80,6 @@ ${PYSITELIB}/kombu/entity.pyo
${PYSITELIB}/kombu/exceptions.py
${PYSITELIB}/kombu/exceptions.pyc
${PYSITELIB}/kombu/exceptions.pyo
-${PYSITELIB}/kombu/five.py
-${PYSITELIB}/kombu/five.pyc
-${PYSITELIB}/kombu/five.pyo
${PYSITELIB}/kombu/log.py
${PYSITELIB}/kombu/log.pyc
${PYSITELIB}/kombu/log.pyo
diff --git a/net/py-kombu/distinfo b/net/py-kombu/distinfo
index 605f3f3d97b..1b4e4fda1c4 100644
--- a/net/py-kombu/distinfo
+++ b/net/py-kombu/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.24 2020/04/12 11:01:36 adam Exp $
+$NetBSD: distinfo,v 1.25 2021/05/07 18:00:35 adam Exp $
-SHA1 (kombu-4.6.8.tar.gz) = af5a0b95b22b6d1c36da5d2a8292112b7979f397
-RMD160 (kombu-4.6.8.tar.gz) = a0fd181e53eae9af684c8e6d03188723a5192ae9
-SHA512 (kombu-4.6.8.tar.gz) = 65b4ebb283ae380388de5d9f8fdc1ec0f41a9910744906b23eb150bc62ecb55ae6d65bb96ad31d8a033f26c2a8dc386939fced393866b6467e77a9760dfa17cc
-Size (kombu-4.6.8.tar.gz) = 406196 bytes
+SHA1 (kombu-5.0.2.tar.gz) = 2ba573c2595358986651e6ddd87d9f0a3ef7d896
+RMD160 (kombu-5.0.2.tar.gz) = 0cc65d5d36c8b6d469e865e4625b19bb52ae3789
+SHA512 (kombu-5.0.2.tar.gz) = e9d97c65d2a4f50adde367197661bd49e235a8f8a3de65f7725be89d5c9921c6ad59b752c188292ba3d05cd98c9d7930f2f1061bc8c9503082af941c755448d2
+Size (kombu-5.0.2.tar.gz) = 406267 bytes
diff --git a/net/py-kombu/options.mk b/net/py-kombu/options.mk
deleted file mode 100644
index d5bb44daff6..00000000000
--- a/net/py-kombu/options.mk
+++ /dev/null
@@ -1,60 +0,0 @@
-# $NetBSD: options.mk,v 1.5 2019/06/21 11:25:00 adam Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.py-kombu
-PKG_SUPPORTED_OPTIONS= beanstalk couchdb mongo msgpack pyro redis slmq
-PKG_SUPPORTED_OPTIONS+= sqlalchemy sqs zeromq zookeeper
-PKG_SUGGESTED_OPTIONS+= # blank
-
-.include "../../mk/bsd.options.mk"
-
-.include "../../lang/python/pyversion.mk"
-
-.if !empty(PKG_OPTIONS:Mbeanstalk)
-DEPENDS+= ${PYPKGPREFIX}-beanstalkc-[0-9]*:../../net/py-beanstalkc
-.endif
-
-.if !empty(PKG_OPTIONS:Mcouchdb)
-DEPENDS+= ${PYPKGPREFIX}-couchdb-[0-9]*:../../databases/py-couchdb
-.endif
-
-# XXX: Not packaged yet. Needs some work.
-#.if !empty(PKG_OPTIONS:Mlibrabbitmq)
-#DEPENDS+= ${PYPKGPREFIX}-librabbitmq>=1.5.2:../../net/py-librabbitmq
-#.endif
-
-.if !empty(PKG_OPTIONS:Mmongo)
-DEPENDS+= ${PYPKGPREFIX}-mongo>=2.6.2:../../databases/py-mongo
-.endif
-
-.if !empty(PKG_OPTIONS:Mmsgpack)
-DEPENDS+= ${PYPKGPREFIX}-msgpack>=0.3.0:../../devel/py-msgpack
-.endif
-
-.if !empty(PKG_OPTIONS:Mpyro)
-DEPENDS+= ${PYPKGPREFIX}-Pyro4-[0-9]*:../../devel/py-Pyro
-.endif
-
-.if !empty(PKG_OPTIONS:Mredis)
-DEPENDS+= ${PYPKGPREFIX}-redis>=3.2.0:../../databases/py-redis
-.endif
-
-.if !empty(PKG_OPTIONS:Mslmq)
-DEPENDS+= ${PYPKGPREFIX}-softlayer_messaging>=1.0.3:../../net/py-softlayer_messaging
-.endif
-
-.if !empty(PKG_OPTIONS:Msqlalchemy)
-DEPENDS+= ${PYPKGPREFIX}-sqlalchemy-[0-9]*:../../databases/py-sqlalchemy
-.endif
-
-.if !empty(PKG_OPTIONS:Msqs)
-DEPENDS+= ${PYPKGPREFIX}-boto3>=1.4.4:../../net/py-boto3
-DEPENDS+= ${PYPKGPREFIX}-curl-[0-9]*:../../www/py-curl
-.endif
-
-.if !empty(PKG_OPTIONS:Mzeromq)
-DEPENDS+= ${PYPKGPREFIX}-zmq>=13.1.0:../../net/py-zmq
-.endif
-
-.if !empty(PKG_OPTIONS:Mzookeeper)
-DEPENDS+= ${PYPKGPREFIX}-kazoo>=1.3.1:../../sysutils/py-kazoo
-.endif