From nobody Fri Mar 25 13:43:45 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A2A7A1A2B35E; Fri, 25 Mar 2022 13:43:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KQ3GB5hWHz3LfG; Fri, 25 Mar 2022 13:43:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648215827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eybuzzAJXnAfQnMCqmSYrrV3182rDwaFVh46m/Y45kc=; b=rzFhjYAZgyTuNTg4JU3qjGdtiyqqvrmtuJT/PrF8d75kPOAXLAVxGIy1J8y6aDsWDk3iz2 8/C1Cd2gnLlyWCByQVpDNwL3t/v7FC1/0DO9f9q5iBGuBZ5GTeMWG/OEFpVr7uDxqdJr8p V/4UWQW+Mvzyi/bwSkFnU1A4FMA7X5Jzc8GywZ2qi3umLcpc9/QMXCBGnS2IBLtymVm1yt nNHd8oYk0flQdoZ+zvAM3se4oc0PoDhZbjhX/fYWErTiYjgflE97ZhDLNcjEOuEaKiLCs0 Mb/McyCGPhsZbqzBaUsXrMkDK1JDd0pBUvoggppBeNCPe2cNVFhVCsgPCJUNhA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 07030569A; Fri, 25 Mar 2022 13:43:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22PDhjMq019820; Fri, 25 Mar 2022 13:43:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PDhjcL019819; Fri, 25 Mar 2022 13:43:45 GMT (envelope-from git) Date: Fri, 25 Mar 2022 13:43:45 GMT Message-Id: <202203251343.22PDhjcL019819@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 78984a3725d1 - main - devel/py-cloudpickle: Update to 2.0.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 78984a3725d15ff781e6cd62d476622d5b2c93ae Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648215827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eybuzzAJXnAfQnMCqmSYrrV3182rDwaFVh46m/Y45kc=; b=wMHNes6+xG6sWLfJcYzJkLCWipF49UrF60GgvmKNwHdk2j3a5iyjNxtpBbbwGW7eGNwbFX j+x0xpwHi8dS1WIC3XxjLZoodAqQGfBl7VP3IyrTLhCChJJqaSBMv4AxJgN1/k9buDO7Xd Bn3B/ncM4WJQA078Rd4ja1WvPBCekU0T2AILNII/PlbfohAO/Uf+caEe6dgfPcCvyTnWCZ ambcXzSdg2xB4h7nBGTEgXI3sYxuJEvcocipeG3+bRI8oDygdX0LgXiSkKt4Q9pOHERUbI YtgHtw6VT80hcc0/w3aMzKqle+07QCi1aP+DzPuUcXCS1E/HC6YkMgdY5g3k2w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648215827; a=rsa-sha256; cv=none; b=O8Z8IePBGLmI4c4mawhm89cZvNvRY5B98jF4PbZSmagNBo+jiJctH0Bl4CIRXUmilcjcCj obXLNO3VEDLaa1lrFw0kjCrmaPWsVzFex97PjJ5fmLU7IsgDlw64nOdgKILPgiNf0WI6uV mFJ7CnFGmf0HSJoU0vVBqyJXfAS4X10I7YPfzKjzUAb9wZbR8VRbQXLIgdc/HWQMCznRct WiUkLaBooDYsZJqx7DX9iCCIYZVObkhFUw3P4H1INqG+m0e4PrUO9+W00pbXW4JNBtmZb/ v+O0PMQ2nWheC5hdkv00wcBS6YMATYi9qFH4NPO0i84Ib0/pXFYmjHImKe0C1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=78984a3725d15ff781e6cd62d476622d5b2c93ae commit 78984a3725d15ff781e6cd62d476622d5b2c93ae Author: Po-Chuan Hsieh AuthorDate: 2022-03-25 12:59:33 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-25 13:36:53 +0000 devel/py-cloudpickle: Update to 2.0.0 - Update TEST_DEPENDS - Update do-test: - Update pkg-descr Changes: https://github.com/cloudpipe/cloudpickle/blob/master/CHANGES.md --- devel/py-cloudpickle/Makefile | 14 ++++++++------ devel/py-cloudpickle/distinfo | 6 +++--- devel/py-cloudpickle/pkg-descr | 18 ++++++++++-------- 3 files changed, 21 insertions(+), 17 deletions(-) diff --git a/devel/py-cloudpickle/Makefile b/devel/py-cloudpickle/Makefile index a3eb407810ff..8e0c5ec53901 100644 --- a/devel/py-cloudpickle/Makefile +++ b/devel/py-cloudpickle/Makefile @@ -1,7 +1,7 @@ # Created by: Kubilay Kocak PORTNAME= cloudpickle -PORTVERSION= 1.3.0 +PORTVERSION= 2.0.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,16 +12,18 @@ COMMENT= Extended pickling support for Python objects LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -# Need -s for https://github.com/cloudpipe/cloudpickle/issues/252 do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -s +# Need -s for https://github.com/cloudpipe/cloudpickle/issues/252 + cd ${WRKSRC} && ${SETENV} PYTHONPATH=tests/cloudpickle_testpkg ${PYTHON_CMD} -m pytest -rs -s -v .include diff --git a/devel/py-cloudpickle/distinfo b/devel/py-cloudpickle/distinfo index ec3ee34f7f86..1716f9bf0f13 100644 --- a/devel/py-cloudpickle/distinfo +++ b/devel/py-cloudpickle/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1596283802 -SHA256 (cloudpickle-1.3.0.tar.gz) = 38af54d0e7705d87a287bdefe1df00f936aadb1f629dca383e825cca927fa753 -SIZE (cloudpickle-1.3.0.tar.gz) = 46220 +TIMESTAMP = 1647264518 +SHA256 (cloudpickle-2.0.0.tar.gz) = 5cd02f3b417a783ba84a4ec3e290ff7929009fe51f6405423cfccfadd43ba4a4 +SIZE (cloudpickle-2.0.0.tar.gz) = 60038 diff --git a/devel/py-cloudpickle/pkg-descr b/devel/py-cloudpickle/pkg-descr index 356d4f0e94ef..c512bf67a3d2 100644 --- a/devel/py-cloudpickle/pkg-descr +++ b/devel/py-cloudpickle/pkg-descr @@ -1,12 +1,14 @@ -cloudpickle makes it possible to serialize Python constructs not -supported by the default pickle module from the Python standard library. +cloudpickle makes it possible to serialize Python constructs not supported by +the default pickle module from the Python standard library. -cloudpickle is especially useful for cluster computing where Python -expressions are shipped over the network to execute on remote hosts, -possibly close to the data. +cloudpickle is especially useful for cluster computing where Python code is +shipped over the network to execute on remote hosts, possibly close to the data. -Among other things, cloudpickle supports pickling for lambda -expressions, functions and classes defined interactively in the -`__main__` module. +Among other things, cloudpickle supports pickling for lambda functions along +with functions and classes defined interactively in the __main__ module (for +instance in a script, a shell or a Jupyter notebook). + +Cloudpickle can only be used to send objects between the exact same version of +Python. WWW: https://github.com/cloudpipe/cloudpickle