From nobody Thu Mar 30 17:11:58 2023 X-Original-To: dev-commits-ports-all@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 4PnVMg0PP5z423jx; Thu, 30 Mar 2023 17:11:59 +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 4PnVMf6YVMz4VJS; Thu, 30 Mar 2023 17:11:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680196318; 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=tPtLj7P3MDCpCfbGGCFBzAySbQ0p25hHK+fe6zrdrtY=; b=fIaEKuaAzGNKpkdVAzem9UxDUV4PGGFa7mP/48niV+O0H30s3dYbfMQKDMqJXXrxFb49U+ ZOX//T8g44MHbV3IXJku1DUvLnNqDeeAY4UozLx8bXvTVqoxfeP+X/HI9xD169ln6OxeIx rEE5wvkhJobl4gY2baBBvaxicO/qObCcKJh5YdtrltujXZQ4UXB/2zSx8WQ5mR1FCGcXaS G8vIjbydA6lfy+MoGBshj54nKGMruystY+Kb3dRtGM3Tb2DXuWLFgAZq279ugSVYQsuk1N BLLGzL/Kz3rWYgkPVD2L9DSSmPn6XNfoPREJ/gN7aPacAb4RZVxBwIqV9TwtGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680196318; 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=tPtLj7P3MDCpCfbGGCFBzAySbQ0p25hHK+fe6zrdrtY=; b=l39zLg1So76gXqptTcwP6ijy1m/G0fXF+wgavxhaXA5PSOKc4g+fPRfp0ryWav7J0TLqd0 /IlHwXTqN2a3UuDhAdsx89HYaed4wfGodzo1QbIKwVCsF7g8f0/5Bf1+qbCdNRxpjbcvkN BB7G/vKfI94d2S/ccXXjmgyju8AUfXtGHGL/BnlDhQo3WKqsiTN59YgXZr01cpyLMJJN+s uK7ACBGfK1vWyrEPa4wDyYFULmJRKWLGUGBr84PIzagRhip7LVWzxwBqkE+5VeJ7c9Yqpi /xC1/IsIv1N6scFNCHNwK5IdbJWGMPnU+3UtbCPwpXb1vo3og5IroAgFIyLloQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680196318; a=rsa-sha256; cv=none; b=Bidr30G1+vADM/7YJIyuTbX4Yvv90bxp9LIBih+84/RiklDxM5wipioTRAz1uWzb48q1ZW qCH75QU2VkMrm7jAaT8wNCd0YM57t9MELzQ5ymhlkIp5wxW24C6fJ6IqoJj6CGYkcJYIfT pWoi+5hFYpyfbcoYs5iSAqqQSm564yW7T67lIv47ydRTaciWJvXPHt3eMCSWNEYXq45pEr 8zhnKz5L96PC5oqLgOuMrzVWTpObLqLHHh33e39t1x6WiKWJj5LUqEPp6kqIBfa0D4ALWf l32HqwaSuzClWT/cCH8ykC9KahDWoe7dqGIE4oR+cRTBDGx6KduJZjQ+KH0few== 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 4PnVMf5cjjzL5W; Thu, 30 Mar 2023 17:11:58 +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 32UHBwcd042378; Thu, 30 Mar 2023 17:11:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32UHBwjO042377; Thu, 30 Mar 2023 17:11:58 GMT (envelope-from git) Date: Thu, 30 Mar 2023 17:11:58 GMT Message-Id: <202303301711.32UHBwjO042377@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: e26a46d3a9cb - main - devel/py-multiset: New port: Implementation of a multiset List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e26a46d3a9cb388cdf373075ea3f81e6aad05b54 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e26a46d3a9cb388cdf373075ea3f81e6aad05b54 commit e26a46d3a9cb388cdf373075ea3f81e6aad05b54 Author: Yuri Victorovich AuthorDate: 2023-03-30 15:13:59 +0000 Commit: Yuri Victorovich CommitDate: 2023-03-30 17:11:55 +0000 devel/py-multiset: New port: Implementation of a multiset --- devel/Makefile | 1 + devel/py-multiset/Makefile | 24 ++++++++++++++++++++++++ devel/py-multiset/distinfo | 3 +++ devel/py-multiset/files/patch-pyproject.toml | 13 +++++++++++++ devel/py-multiset/pkg-descr | 6 ++++++ 5 files changed, 47 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7cf1167b1fd6..74e485858fc8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4916,6 +4916,7 @@ SUBDIR += py-multi_key_dict SUBDIR += py-multipledispatch SUBDIR += py-multiprocess + SUBDIR += py-multiset SUBDIR += py-multitasking SUBDIR += py-munch SUBDIR += py-murmurhash diff --git a/devel/py-multiset/Makefile b/devel/py-multiset/Makefile new file mode 100644 index 000000000000..16506a6f8e46 --- /dev/null +++ b/devel/py-multiset/Makefile @@ -0,0 +1,24 @@ +PORTNAME= multiset +DISTVERSION= 3.0.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Implementation of a multiset +WWW= https://github.com/wheerd/multiset + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= dos2unix python +USE_PYTHON= pep517 autoplist pytest + +DOS2UNIX_FILES= pyproject.toml + +NO_ARCH= yes + +.include diff --git a/devel/py-multiset/distinfo b/devel/py-multiset/distinfo new file mode 100644 index 000000000000..69da03760e07 --- /dev/null +++ b/devel/py-multiset/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680195127 +SHA256 (multiset-3.0.1.tar.gz) = e45671cae8385a8e6248a9b07a3a83280c2d0cc4312713058cfbacdc5ec9973e +SIZE (multiset-3.0.1.tar.gz) = 33433 diff --git a/devel/py-multiset/files/patch-pyproject.toml b/devel/py-multiset/files/patch-pyproject.toml new file mode 100644 index 000000000000..5609f3635267 --- /dev/null +++ b/devel/py-multiset/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +--- pyproject.toml.orig 2023-03-30 16:54:02 UTC ++++ pyproject.toml +@@ -1,7 +1,7 @@ + [build-system] + requires = [ + "setuptools >= 42", +- "setuptools_scm[toml]>=3.4,<6", ++ "setuptools_scm[toml]>=3.4", + "wheel" + ] +-build-backend = "setuptools.build_meta" +\ No newline at end of file ++build-backend = "setuptools.build_meta" diff --git a/devel/py-multiset/pkg-descr b/devel/py-multiset/pkg-descr new file mode 100644 index 000000000000..99abec610645 --- /dev/null +++ b/devel/py-multiset/pkg-descr @@ -0,0 +1,6 @@ +The multiset package provides a multiset implementation for python. + +A multiset is similar to the builtin set, but it allows an element to occur +multiple times. It is an unordered collection of elements which have to be +hashable just like in a set. It supports the same methods and operations as set +does, e.g. membership test, union, intersection, and (symmetric) difference.