From nobody Wed Jun 1 03:42:40 2022 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 32EE81B4E5FE; Wed, 1 Jun 2022 03:42:41 +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 4LCZjF0vCVz4yfn; Wed, 1 Jun 2022 03:42:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654054961; 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=xkeQ9sdZ4s3RkJ/OX3Qxv5vJRqBjmDav17Aw7sSHNaU=; b=Ep+XxMzNedoSKFmBrLMGDRlC9gCthO9Z4SP5Jnt4GQ4VzmDHB0wzcPJn3xUDDZEgNySvIT 8uX7EiOrcE2mmxdrcGXhFOA+oYMwdNA6mCNfM7sgsHVFS6IyGNZC/CQrNh+Rj9edOiTTBP Y4Um3+OYa7A9au+/kTBepDMVmbdc+b+Sz6pUxR732KN0nS+gJTngGbzcJGFHdYu8IJ5H80 dms/WoqpU1xm+vP/QcHPSiGA9i6TMmOucOoOJIn9LEDd5lxc2RpGBLGuLpOE2DCoXzS15K YWCPBFkUWwyBUH/yd8+irGnVC5tEUtobcq2o1akCsqmANtXz4zoHuEEcMkub0w== 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 F176C18E24; Wed, 1 Jun 2022 03:42:40 +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 2513ge4M073153; Wed, 1 Jun 2022 03:42:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2513geV2073152; Wed, 1 Jun 2022 03:42:40 GMT (envelope-from git) Date: Wed, 1 Jun 2022 03:42:40 GMT Message-Id: <202206010342.2513geV2073152@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: c3917216ac23 - main - science/py-thewalrus: New port: Open source library for hafnian calculation 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: c3917216ac23dc4f5886eb8f8ee5c408281cb400 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654054961; 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=xkeQ9sdZ4s3RkJ/OX3Qxv5vJRqBjmDav17Aw7sSHNaU=; b=ASa4IQnHsDGenh7HaFRZkEfSq6fKf42i79uqGhZRYB2N80lKiHxH70SPoXpWSA4zoCyeS9 Lly7/lYRBnDdwUhSgCz3+kcy8myr+KhHbPYPOKN0qSZkuXv+fMhb108XRvqtpl8cZtE0M2 4HKW/WQnGo0t4c1okQ54pXe6qF4aCXKYvMDAGRdSiRXOYPDsHkp2jJJFw1ctkvJ/gsgWyu /ujJ8EaFAFmVkTULi1E77Rqn7PGfed0PhNa2DMHnD7DBp9zakF7W1PnXYcQKh/WbYQRdy4 y63rh1R/qI0oGYBxa1qho7o9fbuNf5hRSQKtxoFaLFX94TLF6j/pdIWdccpCBw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654054961; a=rsa-sha256; cv=none; b=iUJKqh+VMBq6AUDb4ndkuN2qyMHOU/SapjcABJuxo64pEJFP6XcoD13Bm0qLABMbjHXNFi 5ulGfNCdVhgDeO86XH2zVZxBp6Qc/SNdr96QKPqTu45M7XMiYShNc3/b50w/IqFoFXQKcS HxedJMMNP148NbThFXH8KTC1YnBTVK98jiAJT0bPfsRK3Y4qBHjkViXPOeKS0xM6sTXtFB ARfwoIbslf1BZVM6bCxz2zwrdBFPUMA738s46HMQ28Mt0TUQ/nT1UQS8GVyFvYZgz+XBct Zbu4PW1rmwuyG3l1f81cJu4TjsT3VRA0v+STRUoFcLxEEBmxLV+ROFvt6LOZEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=c3917216ac23dc4f5886eb8f8ee5c408281cb400 commit c3917216ac23dc4f5886eb8f8ee5c408281cb400 Author: Yuri Victorovich AuthorDate: 2022-06-01 03:40:48 +0000 Commit: Yuri Victorovich CommitDate: 2022-06-01 03:42:38 +0000 science/py-thewalrus: New port: Open source library for hafnian calculation --- science/Makefile | 1 + science/py-thewalrus/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ science/py-thewalrus/distinfo | 3 +++ science/py-thewalrus/pkg-descr | 4 ++++ 4 files changed, 47 insertions(+) diff --git a/science/Makefile b/science/Makefile index cc41e4b7e355..48b215f77451 100644 --- a/science/Makefile +++ b/science/Makefile @@ -343,6 +343,7 @@ SUBDIR += py-spaghetti SUBDIR += py-spglib SUBDIR += py-tensorflow + SUBDIR += py-thewalrus SUBDIR += py-tobler SUBDIR += py-trainstation SUBDIR += py-veusz diff --git a/science/py-thewalrus/Makefile b/science/py-thewalrus/Makefile new file mode 100644 index 000000000000..d09576419c50 --- /dev/null +++ b/science/py-thewalrus/Makefile @@ -0,0 +1,39 @@ +PORTNAME= thewalrus +DISTVERSIONPREFIX= v +DISTVERSION= 0.19.0 +CATEGORIES= science python +#MASTER_SITES= CHEESESHOP # doesn't contain tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Open source library for hafnian calculation + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}dask>0:devel/py-dask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} +TEST_DEPENDS= gmake:devel/gmake \ + ${PYTHON_PKGNAMEPREFIX}flaky>=3.7.0:devel/py-flaky@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-randomly>0:devel/py-pytest-randomly@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +USE_GITHUB= yes +GH_ACCOUNT= XanaduAI + +NO_ARCH= yes + +BINARY_ALIAS= python3=${PYTHON_CMD} + +do-test: # testsuite fails to run: https://github.com/XanaduAI/thewalrus/issues/344 + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} test + +.include diff --git a/science/py-thewalrus/distinfo b/science/py-thewalrus/distinfo new file mode 100644 index 000000000000..8cf906b607e6 --- /dev/null +++ b/science/py-thewalrus/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654053110 +SHA256 (XanaduAI-thewalrus-v0.19.0_GH0.tar.gz) = a61a360c0fe34922fed2db0a0d6996142f6e9c14e1f5e9fc7686b9a64af9357c +SIZE (XanaduAI-thewalrus-v0.19.0_GH0.tar.gz) = 1973179 diff --git a/science/py-thewalrus/pkg-descr b/science/py-thewalrus/pkg-descr new file mode 100644 index 000000000000..0dca86f1a12c --- /dev/null +++ b/science/py-thewalrus/pkg-descr @@ -0,0 +1,4 @@ +thewalrus is a library for the calculation of hafnians, Hermite +polynomials and Gaussian boson sampling. + +WWW: https://github.com/XanaduAI/thewalrus