From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CFF7C158086 for ; Sun, 12 Dec 2021 08:49:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAAB72BC10E; Sun, 12 Dec 2021 08:49:00 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D63D12BC10E for ; Sun, 12 Dec 2021 08:49:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 176AB3430BA for ; Sun, 12 Dec 2021 08:49:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A18B1D5 for ; Sun, 12 Dec 2021 08:48:58 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1639298929.24da026ada8e90c3800ee7ac9ddb38313d395dc4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ukkonen/, dev-python/ukkonen/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ukkonen/files/ukkonen-1.0.1-musl-include.patch dev-python/ukkonen/ukkonen-1.0.1.ebuild X-VCS-Directories: dev-python/ukkonen/files/ dev-python/ukkonen/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 24da026ada8e90c3800ee7ac9ddb38313d395dc4 X-VCS-Branch: master Date: Sun, 12 Dec 2021 08:48:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6f6025c5-9ad6-4a65-9c9b-aeed966928c9 X-Archives-Hash: 29e6c386728456c6c84449aae6f4f7fa commit: 24da026ada8e90c3800ee7ac9ddb38313d395dc4 Author: Sam James gentoo org> AuthorDate: Sun Dec 12 08:41:54 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Dec 12 08:48:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24da026a dev-python/ukkonen: fix build on musl Closes: https://bugs.gentoo.org/828871 Signed-off-by: Sam James gentoo.org> dev-python/ukkonen/files/ukkonen-1.0.1-musl-include.patch | 15 +++++++++++++++ dev-python/ukkonen/ukkonen-1.0.1.ebuild | 6 +++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/dev-python/ukkonen/files/ukkonen-1.0.1-musl-include.patch b/dev-python/ukkonen/files/ukkonen-1.0.1-musl-include.patch new file mode 100644 index 000000000000..0be1be4adefd --- /dev/null +++ b/dev-python/ukkonen/files/ukkonen-1.0.1-musl-include.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/828871 +https://github.com/asottile/ukkonen/commit/1b2aa2833b08e00279ff77612e82dad152eb3c14.patch + +From: Joonas Niilola +Date: Sat, 11 Dec 2021 10:39:16 +0200 +Subject: [PATCH] _ukkonen.cpp: add #include + +--- a/_ukkonen.cpp ++++ b/_ukkonen.cpp +@@ -1,4 +1,5 @@ + #include ++#include + #include + + template int64_t edit_distance_k_impl( diff --git a/dev-python/ukkonen/ukkonen-1.0.1.ebuild b/dev-python/ukkonen/ukkonen-1.0.1.ebuild index a4cc21241192..bd7bbdbacc80 100644 --- a/dev-python/ukkonen/ukkonen-1.0.1.ebuild +++ b/dev-python/ukkonen/ukkonen-1.0.1.ebuild @@ -22,6 +22,10 @@ RDEPEND=" $(python_gen_cond_dep ' dev-python/cffi[${PYTHON_USEDEP}] ' 'python*')" -BDEPEND=${RDEPEND} +BDEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-musl-include.patch +) distutils_enable_tests pytest