From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- dev-python/pycxx/Manifest | 2 - dev-python/pycxx/metadata.xml | 22 ------- dev-python/pycxx/pycxx-7.1.8-r3.ebuild | 53 ---------------- dev-python/pycxx/pycxx-7.2.1.ebuild | 113 --------------------------------- 4 files changed, 190 deletions(-) delete mode 100644 dev-python/pycxx/Manifest delete mode 100644 dev-python/pycxx/metadata.xml delete mode 100644 dev-python/pycxx/pycxx-7.1.8-r3.ebuild delete mode 100644 dev-python/pycxx/pycxx-7.2.1.ebuild (limited to 'dev-python/pycxx') diff --git a/dev-python/pycxx/Manifest b/dev-python/pycxx/Manifest deleted file mode 100644 index ec5556289e77..000000000000 --- a/dev-python/pycxx/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST pycxx-7.1.8.tar.gz 154789 BLAKE2B e4b635d4b53ae3fd0790d6eddcd465acfc5272213e9752e7c2a1840edddb66f09bc9617373246964859125a27dc82110de6b4f4ffa44c41c94c338c846490e47 SHA512 3c9c3a23dfa9777c6a48b8600e7336cbadb60080a1051071583d534ead6c691dd9d304613073d6fb0c632eb1703b043b4214826c0ae7bd4b2ca72203ec03c0a2 -DIST pycxx-7.2.1.zip 243166 BLAKE2B 66be3ce7e799c5261f2cdfd03882a857774067d45ee9f999f07c794828f119a329b0e61f0bb358e96ac26f7ec8ab4582193a604e47e9aa2dd9df674f04b79fbe SHA512 8d47b35cf3105bd42e4197fc9519153501b8e5513c262454284faec292eec8a15498eebdb2e5b51c32c9a9d18cecb1d86a01fb856ed4f18ff3738d089117b38d diff --git a/dev-python/pycxx/metadata.xml b/dev-python/pycxx/metadata.xml deleted file mode 100644 index a2895df4b208..000000000000 --- a/dev-python/pycxx/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - gienah@gentoo.org - Mark Wright - - - PyCXX is a set of C++ facilities to make it easier to write Python - extensions. The chief way in which PyCXX makes it easier to write - Python extensions is that it increases the probability that - your program will not make a reference-counting error and will not - have to continually check error returns from the Python C API. - - - cxx - - - diff --git a/dev-python/pycxx/pycxx-7.1.8-r3.ebuild b/dev-python/pycxx/pycxx-7.1.8-r3.ebuild deleted file mode 100644 index 9175d02fd462..000000000000 --- a/dev-python/pycxx/pycxx-7.1.8-r3.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PYTHON_COMPAT=( python3_{13..14} ) -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 ~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 - mv "${D}/usr/include/${EPYTHON}"/{cxx,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 -} diff --git a/dev-python/pycxx/pycxx-7.2.1.ebuild b/dev-python/pycxx/pycxx-7.2.1.ebuild deleted file mode 100644 index 9d40307cf13f..000000000000 --- a/dev-python/pycxx/pycxx-7.2.1.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 toolchain-funcs - -DESCRIPTION="Set of facilities to extend Python with C++" -HOMEPAGE="https://cxx.sourceforge.net" -SRC_URI="https://dev.gentoo.org/~gienah/snapshots/${P}.zip" - -S="${WORKDIR}"/cxx-code-r474-trunk/CXX - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ppc64 ~x86 ~x64-macos" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - app-arch/unzip -" - -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_compile() { - distutils-r1_python_compile - if use test; then - pushd Src || die - local S_SRCS="cxx_exceptions.cxx cxxextensions.c cxx_extensions.cxx cxxsupport.cxx IndirectPythonInterface.cxx" - local S_OBJS="" - for i in ${S_SRCS}; do - local S_O="${BUILD_DIR}/${i%%.c*}.o" - local c_cmd=( - $(tc-getCXX) \ - ${CPPFLAGS} ${CFLAGS} ${ASFLAGS} \ - -I"${S}" -I"${EPREFIX}/usr/include/${EPYTHON}" \ - -fPIC -c ${i} -o "${S_O}" - ) - printf '%s\n' "${c_cmd[*]}" - "${c_cmd[@]}" || die "compile test ${i} failed" - S_OBJS+="${S_O} " - done - popd || die - pushd Demo/Python3 || die - cp -p test_example.py "${BUILD_DIR}" || die - local D_SRCS="example.cxx range.cxx rangetest.cxx" - local D_OBJS="" - for i in ${D_SRCS}; do - local D_O="${BUILD_DIR}/${i%%.c*}.o" - local c_cmd=( - $(tc-getCXX) \ - ${CPPFLAGS} ${CFLAGS} ${ASFLAGS} \ - -I"${S}" -I"${S}"/Demo/Python3 -I"${EPREFIX}/usr/include/${EPYTHON}" \ - -fPIC -c ${i} -o "${D_O}" - ) - printf '%s\n' "${c_cmd[*]}" - "${c_cmd[@]}" || die "compile test ${i} failed" - S_OBJS+="${D_O} " - done - local l_example_cmd=( - $(tc-getCXX) \ - ${CPPFLAGS} ${CFLAGS} ${ASFLAGS} \ - -I$"{S}" -I"${S}"/Demo/Python3 -I$"{EPREFIX}/usr/include/${EPYTHON}" \ - -shared -fPIC -o "${BUILD_DIR}"/example.so ${S_OBJS} ${D_OBJS} -l${EPYTHON} -ldl - ) - printf '%s\n' "${l_example_cmd[*]}" - "${l_example_cmd[@]}" || die "link test example.so failed" - popd || die - fi -} - -python_test() { - pushd "${BUILD_DIR}" || die - export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}" - local cmd=( - "${EPYTHON}" test_example.py - ) - printf '%s\n' "${cmd[*]}" - "${cmd[@]}" || die "test_example failed" - popd || die -} - -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 - mv "${D}/usr/include/${EPYTHON}"/{cxx,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 -} -- cgit v1.3