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 7A5E1158043 for ; Sun, 14 Apr 2024 17:49:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B41D32BC014; Sun, 14 Apr 2024 17:49:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 389C52BC014 for ; Sun, 14 Apr 2024 17:49:28 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2607D343370 for ; Sun, 14 Apr 2024 17:49:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB554AB7 for ; Sun, 14 Apr 2024 17:49:25 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1713116957.f60a09dfb2c75c9f33b4890cf09d4b8963d25fd7.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycxx/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycxx/pycxx-7.1.7-r1.ebuild X-VCS-Directories: dev-python/pycxx/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: f60a09dfb2c75c9f33b4890cf09d4b8963d25fd7 X-VCS-Branch: master Date: Sun, 14 Apr 2024 17:49:25 +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: e035b1d7-553c-4c19-a5f6-f672607cd47a X-Archives-Hash: 32227b0c3a12ded1dce6045556688e97 commit: f60a09dfb2c75c9f33b4890cf09d4b8963d25fd7 Author: Sebastian Pipping gentoo org> AuthorDate: Sun Apr 14 17:48:17 2024 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sun Apr 14 17:49:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f60a09df dev-python/pycxx: Python 3.12 Closes: https://bugs.gentoo.org/929486 Signed-off-by: Sebastian Pipping gentoo.org> dev-python/pycxx/pycxx-7.1.7-r1.ebuild | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/dev-python/pycxx/pycxx-7.1.7-r1.ebuild b/dev-python/pycxx/pycxx-7.1.7-r1.ebuild new file mode 100644 index 000000000000..cadfdbb9e765 --- /dev/null +++ b/dev-python/pycxx/pycxx-7.1.7-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PYTHON_COMPAT=( python3_{9..12} ) +# DISTUTILS_USE_PEP517=setuptools broken, installs files to /usr/CXX +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 + +DESCRIPTION="Set of facilities to extend Python with C++" +HOMEPAGE="http://cxx.sourceforge.net" +SRC_URI="mirror://sourceforge/cxx/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="doc examples" + +python_prepare_all() { + # Without this, pysvn fails. + # Src/Python3/cxxextensions.c: No such file or directory + sed -e "/^#include/s:Src/::" -i Src/*.{c,cxx} || die "sed failed" + + distutils-r1_python_prepare_all +} + +python_install_all() { + use doc && local HTML_DOCS=( Doc/. ) + if use examples ; then + docinto examples + dodoc -r Demo/Python{2,3}/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +}