diff options
author | Gábor Oszkár Dénes <gaboroszkar@protonmail.com> | 2022-03-08 21:36:45 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-15 03:11:58 +0100 |
commit | 4320f841e5a27e8b22dae14e728de349070bd7a0 (patch) | |
tree | 2d4806f1fb6616277561855631401ef8f68a2058 /dev-python/tweedledum | |
parent | dev-python/python-constraint: new package (diff) | |
download | gentoo-4320f841e5a27e8b22dae14e728de349070bd7a0.tar.gz gentoo-4320f841e5a27e8b22dae14e728de349070bd7a0.tar.bz2 gentoo-4320f841e5a27e8b22dae14e728de349070bd7a0.zip |
dev-python/tweedledum: new package
Closes: https://bugs.gentoo.org/834769
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Gábor Oszkár Dénes <gaboroszkar@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/tweedledum')
-rw-r--r-- | dev-python/tweedledum/Manifest | 1 | ||||
-rw-r--r-- | dev-python/tweedledum/metadata.xml | 20 | ||||
-rw-r--r-- | dev-python/tweedledum/tweedledum-1.1.1.ebuild | 35 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/tweedledum/Manifest b/dev-python/tweedledum/Manifest new file mode 100644 index 000000000000..b9d0d3528a97 --- /dev/null +++ b/dev-python/tweedledum/Manifest @@ -0,0 +1 @@ +DIST tweedledum-1.1.1.gh.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 000000000000..b68d63379f25 --- /dev/null +++ b/dev-python/tweedledum/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- comaintainers-welcomed --> + <maintainer type="person" proxied="yes"> + <email>gaboroszkar@protonmail.com</email> + <name>Gábor Oszkár Dénes</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + 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. + </longdescription> + <upstream> + <remote-id type="github">boschmitt/tweedledum</remote-id> + <remote-id type="pypi">tweedledum</remote-id> + </upstream> +</pkgmetadata> 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 000000000000..392e1dd17b22 --- /dev/null +++ b/dev-python/tweedledum/tweedledum-1.1.1.ebuild @@ -0,0 +1,35 @@ +# 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}.gh.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_compile() { + local -x SKBUILD_CONFIGURE_OPTIONS="-DCMAKE_BUILD_TYPE=RelWithDebInfo" + distutils-r1_python_compile +} + +python_test() { + epytest python/test +} |