diff --git a/dev-python/grpcio-testing/Manifest b/dev-python/grpcio-testing/Manifest index 254135ada..397d00d7d 100644 --- a/dev-python/grpcio-testing/Manifest +++ b/dev-python/grpcio-testing/Manifest @@ -1 +1 @@ -DIST grpcio-testing-1.51.0.tar.gz 22390 BLAKE2B 813ade1f3f44e3aeda7ca779f130897281036de111cb17f9297f267961a591e1fa3b88380ccbec42edd339487f1b3f1028dcd308c46ffd8fde5817e3909cfd41 SHA512 3fd9de9cd75aebcf1f6c3716bbacaf5cc9cc9aa74acb42dd128b5c158fa2d52549cdcc8f3ea9f2cb0b86d0b84c998acd55fa16e879ac9099a2348d889d35d837 +DIST grpcio-testing-1.62.0.tar.gz 22474 BLAKE2B 6c8c23eb4d7c645278496067a74583ce930eb16f39a262ce8b45f1029d6d6bf97ff6dab305f27bea4f4d5333a74fa185957d33499b49f02b711eb94cab0ff065 SHA512 6285a5c5b28114969738e1815327c14651ee2bc2e6b6c4093cea980ae2ad3f0aa8d53fc7b1e9125e5c47862c66891129e6420ad0d6896a2f789ca7e9fc66ce43 diff --git a/dev-python/grpcio-testing/grpcio-testing-1.51.0.ebuild b/dev-python/grpcio-testing/grpcio-testing-1.62.0.ebuild similarity index 86% rename from dev-python/grpcio-testing/grpcio-testing-1.51.0.ebuild rename to dev-python/grpcio-testing/grpcio-testing-1.62.0.ebuild index 7dd1d26fa..97596c6f2 100644 --- a/dev-python/grpcio-testing/grpcio-testing-1.51.0.ebuild +++ b/dev-python/grpcio-testing/grpcio-testing-1.62.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index 668502285..36fc72692 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1,2 +1 @@ -DIST grpcio-tools-1.51.0.tar.gz 2254565 BLAKE2B 7486c7c62d691cb3cbaf02a68e73d6d94ee48396b26c4d46c22776396ba7d637c9b6738c00e19a99101e189e7092b2240adbf53ae9d32188dc813a9b0a49c25d SHA512 fa76fd970c399aed7639d6ce343834a5e7d76f2247cc99e59d0bf29844fb2f366bc9b8e2124d7c9dd9163953741c06015ded7f400b8e77d0cdad8ac291a7af83 DIST grpcio-tools-1.62.0.tar.gz 4613875 BLAKE2B 60c8d7c38f10a80ed5b420ecab312ea6f5ad384245194c4f6726783385d443c6354306bbef604230d3a81e9f2cc6885f76eb6a5beae4733279d6210c3fe6603d SHA512 c1691a705cea54056850e98caff37025e551b165b4042f6cab856319805e9507b9aaac5ceea35641f62ce619274faac735e4d2002d36e22b1ce22cf96269dc58 diff --git a/dev-python/grpcio-tools/grpcio-tools-1.51.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.51.0.ebuild deleted file mode 100644 index 92eb5d244..000000000 --- a/dev-python/grpcio-tools/grpcio-tools-1.51.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 - -inherit distutils-r1 multiprocessing prefix pypi - -DESCRIPTION="Protobuf code generator for gRPC" -HOMEPAGE="https://grpc.io" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -RDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - ~dev-python/grpcio-${PV}[${PYTHON_USEDEP}] - =dev-python/protobuf-python-4.21.3[${PYTHON_USEDEP}] -" - -DEPEND="${RDEPEND}" - -python_prepare_all() { - distutils-r1_python_prepare_all - hprefixify setup.py -} - -python_configure_all() { - export GRPC_PYTHON_BUILD_WITH_CYTHON=1 - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" -} diff --git a/dev-util/ghidra/ghidra-11.1.ebuild b/dev-util/ghidra/ghidra-11.1.ebuild deleted file mode 100644 index 96bf78b20..000000000 --- a/dev-util/ghidra/ghidra-11.1.ebuild +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit java-pkg-2 desktop - -GRADLE_DEP_VER="20240509" -RELEASE_VERSION=${PV} - -DESCRIPTION="A software reverse engineering framework" -HOMEPAGE="https://ghidra-sre.org/" - -FIDB_FILES="vs2012_x64.fidb vs2015_x64.fidb vs2017_x64.fidb vs2019_x64.fidb vsOlder_x64.fidb \ - vs2012_x86.fidb vs2015_x86.fidb vs2017_x86.fidb vs2019_x86.fidb vsOlder_x86.fidb" - -# ./gradle/support/fetchDependencies.gradle -SRC_URI="https://github.com/NationalSecurityAgency/${PN}/archive/Ghidra_${PV}_build.tar.gz - https://dev.pentoo.ch/~blshkv/distfiles/${PN}-dependencies-${GRADLE_DEP_VER}.tar.gz - https://github.com/pxb1988/dex2jar/releases/download/v2.1/dex2jar-2.1.zip - https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/android4me/AXMLPrinter2.jar - https://sourceforge.net/projects/catacombae/files/HFSExplorer/0.21/hfsexplorer-0_21-bin.zip - https://downloads.sourceforge.net/yajsw/yajsw/yajsw-stable-13.09.zip - https://ftp.postgresql.org/pub/source/v15.3/postgresql-15.3.tar.gz - https://archive.eclipse.org/tools/cdt/releases/8.6/cdt-8.6.0.zip - https://downloads.sourceforge.net/pydev/pydev/PyDev%206.3.1/PyDev%206.3.1.zip -> PyDev-6.3.1.zip - https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_${RELEASE_VERSION}/lib/java-sarif-2.1-modified.jar -" -for FIDB in ${FIDB_FILES}; do - SRC_URI+=" https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_${RELEASE_VERSION}/FunctionID/${FIDB}" -done - - SRC_URI+=" https://files.pythonhosted.org/packages/8d/14/619e24a4c70df2901e1f4dbc50a6291eb63a759172558df326347dce1f0d/protobuf-3.20.3-py2.py3-none-any.whl - https://files.pythonhosted.org/packages/90/c7/6dc0a455d111f68ee43f27793971cf03fe29b6ef972042549db29eec39a2/psutil-5.9.8.tar.gz - https://files.pythonhosted.org/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl - https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl - https://files.pythonhosted.org/packages/2d/e0/f877c91e036fcaed2a827f80d6cbdf1d26cffc3333c9ebda31c55c45f050/Pybag-2.2.10-py3-none-any.whl - https://files.pythonhosted.org/packages/d0/dd/b28df50316ca193dd1275a4c47115a720796d9e1501c1888c4bfa5dc2260/capstone-5.0.1-py3-none-win_amd64.whl - https://files.pythonhosted.org/packages/50/8f/518a37381e55a8857a638afa86143efa5508434613541402d20611a1b322/comtypes-1.4.1-py3-none-any.whl - https://files.pythonhosted.org/packages/83/1c/25b79fc3ec99b19b0a0730cc47356f7e2959863bf9f3cd314332bddb4f68/pywin32-306-cp312-cp312-win_amd64.whl" - -# run: "pentoo/scripts/gradle_dependencies.py buildGhidra" from "${S}" directory to generate dependencies -# https://www.eclipse.org/downloads/download.php?r=1&protocol=https&file=/tools/cdt/releases/8.6/cdt-8.6.0.zip -# https://sourceforge.net/projects/yajsw/files/yajsw/yajsw-stable-13.05/yajsw-stable-13.05.zip/download - -S="${WORKDIR}/ghidra-Ghidra_${PV}_build" -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" - -#FIXME: -# * QA Notice: Files built without respecting CFLAGS have been detected -# * QA Notice: Files built without respecting LDFLAGS have been detected -# * Please include the following list of files in your report: -# * /usr/share/ghidra/GPL/DemanglerGnu/os/linux_x86_64/demangler_gnu_v2_24 -# * /usr/share/ghidra/GPL/DemanglerGnu/os/linux_x86_64/demangler_gnu_v2_33_1 -# * /usr/share/ghidra/Ghidra/Features/Decompiler/os/linux_x86_64/decompile -# * /usr/share/ghidra/Ghidra/Features/Decompiler/os/linux_x86_64/sleigh -# * /usr/share/ghidra/Ghidra/Features/FileFormats/data/sevenzipnativelibs/Linux-amd64/lib7-Zip-JBinding.so - -#java-pkg-2 sets java based on RDEPEND so the java slot in rdepend is used to build -RDEPEND="virtual/jre:17" -DEPEND="${RDEPEND} - virtual/jdk:17 - sys-devel/bison - dev-java/jflex - app-arch/unzip - dev-python/pip" -BDEPEND=">=dev-java/gradle-bin-7.3:*" - -check_gradle_binary() { - gradle_link_target=$(readlink -n /usr/bin/gradle) - currentver="${gradle_link_target/gradle-bin-/}" - requiredver="7.3" - einfo "Gradle version ${currentver} currently set." - if [ "$(printf '%s\n' "$requiredver" "$currentver" | sort -V | head -n1)" = "$requiredver" ]; then - einfo "Gradle version ${currentver} is >= ${requiredver}, proceeding with build..." - else - eerror "Gradle version ${requiredver} or higher must be eselected before building ${PN}." - die "Please run 'eselect gradle set gradle-bin-XX' when XX is a version of gradle higher than ${requiredver}" - fi -} - -src_unpack() { - # https://github.com/NationalSecurityAgency/ghidra/blob/master/DevGuide.md - # alternative: - # gradle -I gradle/support/fetchDependencies.gradle init - # gradle -g dependencies/gradle prepdev - # build: gradle -g dependencies/gradle buildGhidra - unpack ${A} - mkdir -p "${S}/.gradle/flatRepo" || die "(1) mkdir failed" - cd "${S}/.gradle" - - unpack dex2jar-2.1.zip - cp dex-tools-2.1/lib/dex-*.jar ./flatRepo || die "(2) cp failed" - - cp "${DISTDIR}/AXMLPrinter2.jar" ./flatRepo || die "(3) cp failed" - cp "${DISTDIR}/java-sarif-2.1-modified.jar" ./flatRepo || die "(4) cp failed" - - unpack hfsexplorer-0_21-bin.zip - cp lib/*.jar ./flatRepo || die "(5) cp failed" - - mkdir -p "${WORKDIR}"/ghidra.bin/Ghidra/Features/GhidraServer/ || die "(6) mkdir failed" - cp "${DISTDIR}"/yajsw-stable-13.09.zip "${WORKDIR}"/ghidra.bin/Ghidra/Features/GhidraServer/ || die "(7) cp failed" - - PLUGIN_DEP_PATH="ghidra.bin/GhidraBuild/EclipsePlugins/GhidraDev/buildDependencies" - mkdir -p "${WORKDIR}/${PLUGIN_DEP_PATH}/" || die "(8) mkdir failed" - cp "${DISTDIR}"/PyDev-6.3.1.zip "${WORKDIR}/${PLUGIN_DEP_PATH}/PyDev 6.3.1.zip" || die "(9) cp failed" - cp "${DISTDIR}"/cdt-8.6.0.zip "${WORKDIR}/${PLUGIN_DEP_PATH}/" || die "(10) cp failed" - cp "${DISTDIR}"/postgresql-15.3.tar.gz "${WORKDIR}/${PLUGIN_DEP_PATH}/" || die "(10) cp failed" - - cd "${S}" - mv ../dependencies . - - mkdir ./dependencies/fidb || die "failed to create fidb dir" - cp "${DISTDIR}/${FIDB_FILES}" ./dependencies/fidb/ - - #copy whl - mkdir -p ./dependencies/{Debugger-rmi-trace,Debugger-agent-dbgeng} || die "failed to create Debugger dir" - cp "${DISTDIR}"/protobuf-3.20.3-py2.py3-none-any.whl ./dependencies/Debugger-rmi-trace/ - cp "${DISTDIR}"/psutil-5.9.8.tar.gz ./dependencies/Debugger-rmi-trace/ - cp "${DISTDIR}"/setuptools-68.0.0-py3-none-any.whl ./dependencies/Debugger-rmi-trace/ - cp "${DISTDIR}"/wheel-0.37.1-py2.py3-none-any.whl ./dependencies/Debugger-rmi-trace/ - - cp "${DISTDIR}"/Pybag-2.2.10-py3-none-any.whl ./dependencies/Debugger-agent-dbgeng/ - cp "${DISTDIR}"/capstone-5.0.1-py3-none-win_amd64.whl ./dependencies/Debugger-agent-dbgeng/ - cp "${DISTDIR}"/comtypes-1.4.1-py3-none-any.whl ./dependencies/Debugger-agent-dbgeng/ - cp "${DISTDIR}"/pywin32-306-cp312-cp312-win_amd64.whl ./dependencies/Debugger-agent-dbgeng/ - -} - -src_prepare() { - mkdir -p ".gradle/init.d" || die "(10) mkdir failed" - cp "${FILESDIR}"/repos.gradle .gradle/init.d || die "(11) cp failed" - sed -i "s|S_DIR|${S}|g" .gradle/init.d/repos.gradle || die "(12) sed failed" - #remove build date so we can unpack dist.zip later - sed -i "s|_\${rootProject.BUILD_DATE_SHORT}||g" gradle/root/distribution.gradle || die "(13) sed failed" - #10.0 workaround - ln -s ../.gradle/flatRepo ./dependencies/flatRepo - - eapply_user -} - -src_compile() { - check_gradle_binary - export _JAVA_OPTIONS="$_JAVA_OPTIONS -Duser.home=$HOME -Djava.io.tmpdir=${T}" - - GRADLE="gradle --gradle-user-home .gradle --console rich --no-daemon" - GRADLE="${GRADLE} --offline --parallel --max-workers $(nproc)" - unset TERM - ${GRADLE} prepDev -x check -x test || die - ${GRADLE} assembleAll -x check -x test --parallel || die - -#build without eclipse plugin -# ${GRADLE} yajswDevUnpack -x check -x test || die -# ${GRADLE} buildNatives_linux64 -x check -x test || die -# ${GRADLE} sleighCompile -x check -x test || die -} - -src_install() { - # remove zip files which aren't needed at runtime - find build/dist/ghidra_${PV}_DEV/ -type f -name '*.zip' -exec rm -f {} + - #FIXME: add doc flag - rm -r build/dist/ghidra_${PV}_DEV/docs/ || die "rm failed" - - insinto /usr/share/ghidra - doins -r build/dist/ghidra_${PV}_DEV/* - fperms +x /usr/share/ghidra/ghidraRun - fperms +x /usr/share/ghidra/support/launch.sh - dosym -r /usr/share/ghidra/ghidraRun /usr/bin/ghidra - - # icon - doicon GhidraDocs/GhidraClass/Beginner/Images/GhidraLogo64.png - # desktop entry - make_desktop_entry ${PN} "Ghidra" /usr/share/pixmaps/GhidraLogo64.png "Utility" -}