From e1aa68a46c71a801af68a827c18525cff30cf49d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Oszk=C3=A1r=20D=C3=A9nes?= Date: Wed, 30 Mar 2022 19:02:45 +0200 Subject: [PATCH] dev-python/tweedledum: new package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Gábor Oszkár Dénes --- dev-python/tweedledum/Manifest | 1 + dev-python/tweedledum/metadata.xml | 12 ++++++++ dev-python/tweedledum/tweedledum-1.1.1.ebuild | 30 +++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 dev-python/tweedledum/Manifest create mode 100644 dev-python/tweedledum/metadata.xml create mode 100644 dev-python/tweedledum/tweedledum-1.1.1.ebuild diff --git a/dev-python/tweedledum/Manifest b/dev-python/tweedledum/Manifest new file mode 100644 index 0000000000..135a4f9993 --- /dev/null +++ b/dev-python/tweedledum/Manifest @@ -0,0 +1 @@ +DIST tweedledum-1.1.1.tar.gz 5105832 BLAKE2B 71e3e9baaccc345910d5be3831ea0476b06bc3171311d17fc3f160b7d4c9026bab719b1e80f1d462183cdcc1feb750542e2649c2aab5cdc6d4551ab258866649 SHA512 eda9c0d895d59450150946d52d942174652d305a863a10bafa60300cde63a692a8105b7bb5dcc86aeb610b666945215905cf95859f3726b875c88d5cd3d34891 diff --git a/dev-python/tweedledum/metadata.xml b/dev-python/tweedledum/metadata.xml new file mode 100644 index 0000000000..935938db51 --- /dev/null +++ b/dev-python/tweedledum/metadata.xml @@ -0,0 +1,12 @@ + + + + + + gaboroszkar@protonmail.com + Gábor Oszkár Dénes + + + tweedledum is a library for synthesis, compilation, and optimization of quantum circuits. The library is written to be scalable up to problem sizes in which quantum circuits outperform classical ones. Also, it is meant to be used both independently and alongside established tools. + + diff --git a/dev-python/tweedledum/tweedledum-1.1.1.ebuild b/dev-python/tweedledum/tweedledum-1.1.1.ebuild new file mode 100644 index 0000000000..649aedc95a --- /dev/null +++ b/dev-python/tweedledum/tweedledum-1.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Library for analysis, compilation, synthesis, optimization of quantum circuits" +HOMEPAGE="https://github.com/boschmitt/tweedledum" +SRC_URI="https://github.com/boschmitt/tweedledum/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# >=dev-python/setuptools-42.0.0 +# >=dev-python/wheel +# dev-util/ninja +BDEPEND=" + >=dev-util/cmake-3.18 + >=dev-python/scikit-build-0.12.0" + +distutils_enable_tests pytest + +python_test() { + epytest python/test +}