diff options
Diffstat (limited to 'dev-python/tweedledum')
-rw-r--r-- | dev-python/tweedledum/Manifest | 3 | ||||
-rw-r--r-- | dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild (renamed from dev-python/tweedledum/tweedledum-1.1.1.ebuild) | 23 |
2 files changed, 19 insertions, 7 deletions
diff --git a/dev-python/tweedledum/Manifest b/dev-python/tweedledum/Manifest index 24396a963770..4eef20b034bf 100644 --- a/dev-python/tweedledum/Manifest +++ b/dev-python/tweedledum/Manifest @@ -1,3 +1,4 @@ +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 -EBUILD tweedledum-1.1.1.ebuild 817 BLAKE2B f02915d555215a75b6a947f4c36f3fb91a3d6e49dbe2411e67a9221ddfd24c1675653bb135de7064ba8f30d474bbddec5a074b692b563dd9405de42857b9a1fa SHA512 534f3e5d5200b2199a7d23da41815cc7c8bcd788e9c52bdb45b6f51cdfb5fbc4958abf799315e7adcf5046454986dacc4f6b00589df18f15d10d5690a2940adc +EBUILD tweedledum-1.1.1-r1.ebuild 1189 BLAKE2B c9623347f3707bc63460b5fbfb774fc278f9b1be110017616725f53ee5966c864a29b98a4b7de22c89c25f3a6965f305e9d4c9aac215e3ff2c260287cba33c57 SHA512 618b9effd959c8c415e917f1bb4a94f60344ec36763c31a64950723f8ff5e4ccc966e1f680bf1482354157379b32a2b3674166bba9e7f64551ef138ace0c6cf9 MISC metadata.xml 923 BLAKE2B 4823b5eaf8aa244a393deb861164a72b9f3e6123e7c1b45e27f268f4abc2ebd6e6530eaa7a023a503e85acdd38478bb01d6a518650c0f8b3187ed7fe6337a21a SHA512 a54737fde64a8e343eb5de58a5f8eccdae8eae4d268c35cf4a576838ccf54d554f6842db7ae44e686e0cc93905d63b7de46bced809fcd648cee91bd65fe0f801 diff --git a/dev-python/tweedledum/tweedledum-1.1.1.ebuild b/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild index 392e1dd17b22..48368b47ba02 100644 --- a/dev-python/tweedledum/tweedledum-1.1.1.ebuild +++ b/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild @@ -11,21 +11,32 @@ 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" -# >=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" +# 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 +) distutils_enable_tests pytest python_compile() { + # -DTWEEDLEDUM_USE_EXTERNAL_PYBIND11=ON local -x SKBUILD_CONFIGURE_OPTIONS="-DCMAKE_BUILD_TYPE=RelWithDebInfo" distutils-r1_python_compile } |