From nobody Sun May 28 18:56:30 2023 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 4QTnv34Mrpz4XlTs; Sun, 28 May 2023 18:56:31 +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 4QTnv32pxbz3w3k; Sun, 28 May 2023 18:56:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685300191; 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=T+JQGEEoTEqxHSFUXT6GFmZyqgRp9L1EVPAin5H9zYw=; b=RdnznbYDW+kTY1ljCjdTSpw6+w5AO4hUj182dFZCI2Lt+LwgyDE1ZxoocYe6EmS4BgqZu8 GivzArLQSeosPib1mnjNMeAWEF+O3Z2MhcVTxzoDXzHiOSTNp5lAar8kBQWxjbWltyHZqr EkLoLAidezpKRI2a5M0A6bHMRW+YdOJRRvlJe3amJYdAUcsYTMJkB+QDut+mZj18dgNj4I ZINcWkJbnGWvbspve3Q2Vdgxpv7cow0PaD5q+0HEtvv4vOkWAz7a3DHxrrXxnnsBxEyWq+ H0SkCUAvcqQ+9BgVUgSh589x/R3u8p5h5mv2JjVxofmMMj5oj14ucTlHs224+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685300191; 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=T+JQGEEoTEqxHSFUXT6GFmZyqgRp9L1EVPAin5H9zYw=; b=ex5TCaWMXbu/yueRjWKhLC+qC0cVANpU4W4234OYOAwSwDDxq+0zRYMv6Cwns3R9wg87UL gbUGlVoE0CwAe5h3AKjVtFTVT2355vzMclYaUdmmL0DsmICq2dPJK3ibzE9RBcSplv/YhN 8ZiMwo5WWOswrgSZ8Mi+SaR22XwYAgCfPmya12CZAYtoU4zP5u0c5K3hajUa/UwH9Yh4hs OgmDpX3gaHH5xKqtqQRNpHTtIAf2QjwDTT3w8T5fG9UjCfMYt5pzYVZDtMPbuUpK8N5pMa byoZ6KSgB8eNH3tKEBDAXE5dM6k+GvO1KY4raiRXX8763OuVMlj5NdZqjrcsGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685300191; a=rsa-sha256; cv=none; b=fUVfypre4CbF1rY5h30zPAwOflD+vw7Ibg+mZjevgeAwgJbOdUlYNHYfAG4OSwoGbi+Fer nW6RnEhUZ41ksPiXLh5QkbVb23JjmqmfsmYgbXyLWPOxzFQJ4b1Si1o7OY6t6BtYca096B EbW7VIDGXtwm2UmSgFGHYYMlCQgOtUJRF54VnFRN4y5UuoDHO1pzDTWAiJArMvn56TkLT8 B2Sdibb63uWOyFdyZJstlRZgYg/13kdbLseeeN4JOJL4xg+Dpz1KOMkkRNrRJ34OSUEwB3 Ppkj9b4+mZ3pXuq4YDIHI7CIB9KlyJ8YATl9QThzkIr2JCRfiVxSbLputqkoZw== 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 4QTnv305v1zgY2; Sun, 28 May 2023 18:56:31 +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 34SIuUVo047105; Sun, 28 May 2023 18:56:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34SIuUqt047104; Sun, 28 May 2023 18:56:30 GMT (envelope-from git) Date: Sun, 28 May 2023 18:56:30 GMT Message-Id: <202305281856.34SIuUqt047104@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: eec1acb2b72d - main - devel/py-ewah-bool-utils: New port: EWAH Bool Array utils for yt 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eec1acb2b72dc21b240f3178fc65d561e6935195 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=eec1acb2b72dc21b240f3178fc65d561e6935195 commit eec1acb2b72dc21b240f3178fc65d561e6935195 Author: Yuri Victorovich AuthorDate: 2023-05-28 16:59:28 +0000 Commit: Yuri Victorovich CommitDate: 2023-05-28 18:56:16 +0000 devel/py-ewah-bool-utils: New port: EWAH Bool Array utils for yt --- devel/Makefile | 1 + devel/py-ewah-bool-utils/Makefile | 32 ++++++++++++++++++++++ devel/py-ewah-bool-utils/distinfo | 3 ++ .../py-ewah-bool-utils/files/patch-pyproject.toml | 11 ++++++++ devel/py-ewah-bool-utils/pkg-descr | 1 + 5 files changed, 48 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 3157774bef5f..4efb11297950 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4582,6 +4582,7 @@ SUBDIR += py-etils SUBDIR += py-evdev SUBDIR += py-eventlib + SUBDIR += py-ewah-bool-utils SUBDIR += py-ewmh SUBDIR += py-exam SUBDIR += py-exceptiongroup diff --git a/devel/py-ewah-bool-utils/Makefile b/devel/py-ewah-bool-utils/Makefile new file mode 100644 index 000000000000..346bc962b6ef --- /dev/null +++ b/devel/py-ewah-bool-utils/Makefile @@ -0,0 +1,32 @@ +PORTNAME= ewah-bool-utils +DISTVERSION= 1.0.2 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= EWAH Bool Array utils for yt +WWW= https://github.com/yt-project/ewah_bool_utils + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.37.1:devel/py-wheel@${PY_FLAVOR} \ + ${PYNUMPY} +RUN_DEPENDS= ${PYNUMPY} + +USES= python:3.8+ +USE_PYTHON= pep517 cython autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} # tests fail to run, see https://github.com/yt-project/ewah_bool_utils/issues/41 +TEST_WRKSRC= ${WRKSRC}/tests + +post-install: + @${STRIP_CMD} \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/ewah_bool_utils/_testing${PYTHON_EXT_SUFFIX}.so \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/ewah_bool_utils/ewah_bool_wrap${PYTHON_EXT_SUFFIX}.so \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/ewah_bool_utils/morton_utils${PYTHON_EXT_SUFFIX}.so + +.include diff --git a/devel/py-ewah-bool-utils/distinfo b/devel/py-ewah-bool-utils/distinfo new file mode 100644 index 000000000000..63727c8c3d39 --- /dev/null +++ b/devel/py-ewah-bool-utils/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1685292371 +SHA256 (ewah_bool_utils-1.0.2.tar.gz) = 1f3e0554b0db3588804dae1a1e1fa6361885f1852f2e7823d318159eb02b101c +SIZE (ewah_bool_utils-1.0.2.tar.gz) = 47821 diff --git a/devel/py-ewah-bool-utils/files/patch-pyproject.toml b/devel/py-ewah-bool-utils/files/patch-pyproject.toml new file mode 100644 index 000000000000..e3006174b3b6 --- /dev/null +++ b/devel/py-ewah-bool-utils/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-05-28 16:47:23 UTC ++++ pyproject.toml +@@ -2,7 +2,7 @@ + requires = [ + "setuptools>=61.2", + "Cython>=0.29.22,<3.0", +- "oldest-supported-numpy", ++ "numpy", + # see https://github.com/numpy/numpy/pull/18389 + "wheel>=0.36.2", + ] diff --git a/devel/py-ewah-bool-utils/pkg-descr b/devel/py-ewah-bool-utils/pkg-descr new file mode 100644 index 000000000000..8eba33052c79 --- /dev/null +++ b/devel/py-ewah-bool-utils/pkg-descr @@ -0,0 +1 @@ +EWAH Bool Array utils for yt.