dev-python/pycxx: 7.1.8
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
This commit is contained in:
parent
4d10cdb3f1
commit
1a4c7dee0b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue