commit:     4139e6b52d31a1574ed84f5e0b168bb42381d31a
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  2 11:34:10 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Oct  2 11:36:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4139e6b5

dev-python/tweedledum: treeclean

Closes: https://bugs.gentoo.org/911840
Closes: https://bugs.gentoo.org/896900
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-python/tweedledum/Manifest                     |  2 -
 .../tweedledum/files/tweedledum-1.1.1-gcc-13.patch | 21 ----------
 dev-python/tweedledum/metadata.xml                 | 24 -----------
 dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild   | 47 ----------------------
 profiles/package.mask                              |  7 ----
 5 files changed, 101 deletions(-)

diff --git a/dev-python/tweedledum/Manifest b/dev-python/tweedledum/Manifest
deleted file mode 100644
index 0ca31a66f0e4..000000000000
--- a/dev-python/tweedledum/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST tweedledum-1.1.1-fmt-e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch 
4394926 BLAKE2B 
1035945714e7a5f5ac8cc41f9b799c6a3f0ded13b2f86098be11705d09029578d7e019cd784c6fb783c1bbaddb49425b5e2ec4bed142f01436620c6ac793e8f5
 SHA512 
1307e63be3366ec0b52e4238e3ac58c793f437acca95840b0bf15499efb3eae0e339d3c75c61b9a0c2734eaa6be416b6a35b51f784884aef98d86613e0b540d1
-DIST tweedledum-1.1.1.gh.tar.gz 5105832 BLAKE2B 
71e3e9baaccc345910d5be3831ea0476b06bc3171311d17fc3f160b7d4c9026bab719b1e80f1d462183cdcc1feb750542e2649c2aab5cdc6d4551ab258866649
 SHA512 
eda9c0d895d59450150946d52d942174652d305a863a10bafa60300cde63a692a8105b7bb5dcc86aeb610b666945215905cf95859f3726b875c88d5cd3d34891

diff --git a/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch 
b/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch
deleted file mode 100644
index 64a171c50b46..000000000000
--- a/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://bugs.gentoo.org/895130
---- a/external/pybind11/include/pybind11/attr.h
-+++ b/external/pybind11/include/pybind11/attr.h
-@@ -10,6 +10,7 @@
- 
- #pragma once
- 
-+#include <cstdint>
- #include "cast.h"
- 
- PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
---- a/include/tweedledum/IR/Cbit.h
-+++ b/include/tweedledum/IR/Cbit.h
-@@ -5,6 +5,7 @@
- #pragma once
- 
- #include <cassert>
-+#include <cstdint>
- #include <limits>
- #include <string>
- #include <vector>

diff --git a/dev-python/tweedledum/metadata.xml 
b/dev-python/tweedledum/metadata.xml
deleted file mode 100644
index ef80e29ba7f0..000000000000
--- a/dev-python/tweedledum/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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>[email protected]</email>
-               <name>Gábor Oszkár Dénes</name>
-       </maintainer>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo Science Project</name>
-       </maintainer>
-       <maintainer type="project" proxied="proxy">
-               <email>[email protected]</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-r1.ebuild 
b/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild
deleted file mode 100644
index 77026b12bc5a..000000000000
--- a/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..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"
-# Drop on next bump, see bug #858200
-SRC_URI+=" 
https://github.com/boschmitt/tweedledum/commit/e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch
 -> ${P}-fmt-e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# Unbundle dev-python/pybind11[${PYTHON_USEDEP}]?
-RDEPEND="
-       dev-cpp/nlohmann_json
-       dev-libs/libfmt:=
-"
-DEPEND="
-       ${RDEPEND}
-       dev-cpp/eigen
-"
-BDEPEND=">=dev-python/scikit-build-0.12.0"
-
-PATCHES=(
-       "${DISTDIR}"/${P}-fmt-e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch
-       "${FILESDIR}"/${PN}-1.1.1-gcc-13.patch
-)
-
-distutils_enable_tests pytest
-
-python_compile() {
-       # -DTWEEDLEDUM_USE_EXTERNAL_PYBIND11=ON
-       local -x SKBUILD_CONFIGURE_OPTIONS="-DCMAKE_BUILD_TYPE=RelWithDebInfo"
-       distutils-r1_python_compile
-}
-
-python_test() {
-       epytest python/test
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index b46a564d8bc4..202bbae941a7 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -228,13 +228,6 @@ app-crypt/tpm2-tss-engine
 # Removal on 2023-10-03.
 dev-erlang/protobuffs
 
-# Sam James <[email protected]> (2023-08-30)
-# Used to be a dependency of dev-python/qiskit-terra but is now being phased
-# out. Fails to build with modern setuptools and >= Python 3.11. No upstream
-# activity.
-# Removal on 2023-09-29.  Bug #911840, bug #896900.
-dev-python/tweedledum
-
 # Sam James <[email protected]> (2023-08-04)
 # Stricter behavior which causes some packages to fail, see bug #911721.
 =dev-util/pkgconf-2.0.0

Reply via email to