Gentoo Archives: gentoo-commits

From: "Gábor Oszkár Dénes" <gaboroszkar@××××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/tweedledum/
Date: Wed, 30 Mar 2022 17:06:50
Message-Id: 1648659765.e1aa68a46c71a801af68a827c18525cff30cf49d.gaboroszkar@gentoo
1 commit: e1aa68a46c71a801af68a827c18525cff30cf49d
2 Author: Gábor Oszkár Dénes <gaboroszkar <AT> protonmail <DOT> com>
3 AuthorDate: Wed Mar 30 17:02:45 2022 +0000
4 Commit: Gábor Oszkár Dénes <gaboroszkar <AT> protonmail <DOT> com>
5 CommitDate: Wed Mar 30 17:02:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1aa68a4
7
8 dev-python/tweedledum: new package
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Gábor Oszkár Dénes <gaboroszkar <AT> protonmail.com>
12
13 dev-python/tweedledum/Manifest | 1 +
14 dev-python/tweedledum/metadata.xml | 12 +++++++++++
15 dev-python/tweedledum/tweedledum-1.1.1.ebuild | 30 +++++++++++++++++++++++++++
16 3 files changed, 43 insertions(+)
17
18 diff --git a/dev-python/tweedledum/Manifest b/dev-python/tweedledum/Manifest
19 new file mode 100644
20 index 000000000..135a4f999
21 --- /dev/null
22 +++ b/dev-python/tweedledum/Manifest
23 @@ -0,0 +1 @@
24 +DIST tweedledum-1.1.1.tar.gz 5105832 BLAKE2B 71e3e9baaccc345910d5be3831ea0476b06bc3171311d17fc3f160b7d4c9026bab719b1e80f1d462183cdcc1feb750542e2649c2aab5cdc6d4551ab258866649 SHA512 eda9c0d895d59450150946d52d942174652d305a863a10bafa60300cde63a692a8105b7bb5dcc86aeb610b666945215905cf95859f3726b875c88d5cd3d34891
25
26 diff --git a/dev-python/tweedledum/metadata.xml b/dev-python/tweedledum/metadata.xml
27 new file mode 100644
28 index 000000000..935938db5
29 --- /dev/null
30 +++ b/dev-python/tweedledum/metadata.xml
31 @@ -0,0 +1,12 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <!-- comaintainers-welcomed -->
36 + <maintainer type="person">
37 + <email>gaboroszkar@××××××××××.com</email>
38 + <name>Gábor Oszkár Dénes</name>
39 + </maintainer>
40 + <longdescription>
41 + 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.
42 + </longdescription>
43 +</pkgmetadata>
44
45 diff --git a/dev-python/tweedledum/tweedledum-1.1.1.ebuild b/dev-python/tweedledum/tweedledum-1.1.1.ebuild
46 new file mode 100644
47 index 000000000..649aedc95
48 --- /dev/null
49 +++ b/dev-python/tweedledum/tweedledum-1.1.1.ebuild
50 @@ -0,0 +1,30 @@
51 +# Copyright 2022 Gentoo Authors
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=8
55 +
56 +DISTUTILS_USE_PEP517=setuptools
57 +PYTHON_COMPAT=( python3_{8..10} )
58 +
59 +inherit distutils-r1
60 +
61 +DESCRIPTION="Library for analysis, compilation, synthesis, optimization of quantum circuits"
62 +HOMEPAGE="https://github.com/boschmitt/tweedledum"
63 +SRC_URI="https://github.com/boschmitt/tweedledum/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
64 +
65 +LICENSE="MIT"
66 +SLOT="0"
67 +KEYWORDS="~amd64"
68 +
69 +# >=dev-python/setuptools-42.0.0
70 +# >=dev-python/wheel
71 +# dev-util/ninja
72 +BDEPEND="
73 + >=dev-util/cmake-3.18
74 + >=dev-python/scikit-build-0.12.0"
75 +
76 +distutils_enable_tests pytest
77 +
78 +python_test() {
79 + epytest python/test
80 +}