From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycxx/
Date: Sat, 8 Jun 2024 19:46:20 +0000 (UTC) [thread overview]
Message-ID: <1717875925.fdf45f0baf27cfe02151a26a007e8cf72cba0b29.sping@gentoo> (raw)
commit: fdf45f0baf27cfe02151a26a007e8cf72cba0b29
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 8 19:42:44 2024 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Jun 8 19:45:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdf45f0b
dev-python/pycxx: Start using DISTUTILS_USE_PEP517
Closes: https://bugs.gentoo.org/909938
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
dev-python/pycxx/pycxx-7.1.8-r1.ebuild | 52 ++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/dev-python/pycxx/pycxx-7.1.8-r1.ebuild b/dev-python/pycxx/pycxx-7.1.8-r1.ebuild
new file mode 100644
index 000000000000..937f1bf9eb40
--- /dev/null
+++ b/dev-python/pycxx/pycxx-7.1.8-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1
+
+DESCRIPTION="Set of facilities to extend Python with C++"
+HOMEPAGE="https://cxx.sourceforge.net"
+SRC_URI="https://downloads.sourceforge.net/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"
+
+BDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ ' 3.12)
+"
+
+python_prepare_all() {
+ rm -R Src/Python2/ || die
+
+ # 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() {
+ distutils-r1_python_install
+
+ # Move misplaced files into place
+ dodir "/usr/share/${EPYTHON}"
+ mv "${D}/usr/CXX" "${D}/usr/share/${EPYTHON}/CXX" || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( Doc/. )
+ if use examples ; then
+ docinto examples
+ dodoc -r Demo/Python3/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+ distutils-r1_python_install_all
+}
next reply other threads:[~2024-06-08 19:46 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-08 19:46 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-29 16:58 [gentoo-commits] repo/gentoo:master commit in: dev-python/pycxx/ Michał Górny
2024-06-29 10:55 Sam James
2024-06-29 7:57 Arthur Zamarin
2024-06-29 5:55 Joonas Niilola
2024-06-29 5:55 Joonas Niilola
2024-06-06 0:45 Sam James
2024-06-06 0:45 Sam James
2024-05-17 9:49 Michał Górny
2024-05-17 8:46 Arthur Zamarin
2024-05-17 8:46 Arthur Zamarin
2024-05-17 8:31 Arthur Zamarin
2024-05-17 8:11 Michał Górny
2024-04-14 18:41 Sebastian Pipping
2024-04-14 17:49 Sebastian Pipping
2022-12-31 13:31 Michał Górny
2022-12-31 13:01 Sam James
2022-12-31 12:12 Sam James
2022-12-31 10:57 Arthur Zamarin
2022-12-31 10:54 Arthur Zamarin
2022-11-29 0:43 Sebastian Pipping
2022-08-03 9:10 Michał Górny
2022-08-03 6:25 Joonas Niilola
2022-08-02 20:27 Sam James
2022-08-02 18:20 Arthur Zamarin
2022-08-02 17:37 Arthur Zamarin
2022-07-03 13:11 Sebastian Pipping
2021-07-13 6:46 Michał Górny
2021-07-13 6:28 Agostino Sarubbo
2021-07-12 22:37 Sam James
2021-07-12 21:50 Sam James
2021-06-01 11:28 Sam James
2021-06-01 11:28 Sam James
2020-05-12 6:39 Agostino Sarubbo
2020-05-09 11:27 Mikle Kolyada
2020-05-09 11:27 Mikle Kolyada
2020-05-09 11:27 Mikle Kolyada
2020-03-28 17:21 Michał Górny
2020-03-20 9:58 David Seifert
2020-03-02 23:16 Sebastian Pipping
2020-03-02 22:23 Sebastian Pipping
2020-03-01 13:56 Sebastian Pipping
2020-02-03 20:46 Michał Górny
2019-10-06 11:01 Michał Górny
2017-05-17 18:14 Manuel Rüger
2016-06-10 18:34 Michał Górny
2015-12-26 12:03 Agostino Sarubbo
2015-12-25 18:19 Agostino Sarubbo
2015-12-24 20:11 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1717875925.fdf45f0baf27cfe02151a26a007e8cf72cba0b29.sping@gentoo \
--to=sping@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox