diff options
author | Sebastian Pipping <sping@gentoo.org> | 2024-04-14 20:34:22 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2024-04-14 20:41:23 +0200 |
commit | 1a4c7dee0bdfc5529b68a1e324bf4b23dc3c3ffa (patch) | |
tree | 9fae07ae4dfa7918839f6ffd923730ede031cfb5 /dev-python/pycxx | |
parent | dev-java/commons-validator: Stabilize 1.8.0 amd64, #930004 (diff) | |
download | gentoo-1a4c7dee0bdfc5529b68a1e324bf4b23dc3c3ffa.tar.gz gentoo-1a4c7dee0bdfc5529b68a1e324bf4b23dc3c3ffa.tar.bz2 gentoo-1a4c7dee0bdfc5529b68a1e324bf4b23dc3c3ffa.zip |
dev-python/pycxx: 7.1.8
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'dev-python/pycxx')
-rw-r--r-- | dev-python/pycxx/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pycxx/pycxx-7.1.8.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/pycxx/Manifest b/dev-python/pycxx/Manifest index 6703866a80ea..b96673e1fedf 100644 --- a/dev-python/pycxx/Manifest +++ b/dev-python/pycxx/Manifest @@ -1 +1,2 @@ DIST pycxx-7.1.7.tar.gz 156383 BLAKE2B 69a454615c9a7cdc57f4c357b9e3805821711bc48efb82e684da6066069ff0ee6af3b76911a705adb6f984969659441d331a8470061b514180ddf53f6494a33d SHA512 5439b2f72a7f04a628e7e93d093566654f3b4eafe78a7834005f86fb08e614f22f4d1fffb8d626e46cd56880ff7792e494ee3282b313ce668a7497d2bc1fbea9 +DIST pycxx-7.1.8.tar.gz 154789 BLAKE2B e4b635d4b53ae3fd0790d6eddcd465acfc5272213e9752e7c2a1840edddb66f09bc9617373246964859125a27dc82110de6b4f4ffa44c41c94c338c846490e47 SHA512 3c9c3a23dfa9777c6a48b8600e7336cbadb60080a1051071583d534ead6c691dd9d304613073d6fb0c632eb1703b043b4214826c0ae7bd4b2ca72203ec03c0a2 diff --git a/dev-python/pycxx/pycxx-7.1.8.ebuild b/dev-python/pycxx/pycxx-7.1.8.ebuild new file mode 100644 index 000000000000..cadfdbb9e765 --- /dev/null +++ b/dev-python/pycxx/pycxx-7.1.8.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 +} |