From ded17fb11c29d2ca17dcbd3e3f39c812ea6bb21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakov=20Smoli=C4=87?= Date: Tue, 24 Jan 2023 18:01:10 +0100 Subject: [PATCH] dev-ros/ament_cmake_python: treeclean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakov Smolić --- dev-ros/ament_cmake_python/Manifest | 2 - .../ament_cmake_python-1.1.4.ebuild | 46 ------------------- .../ament_cmake_python-1.3.0.ebuild | 46 ------------------- .../ament_cmake_python-9999.ebuild | 46 ------------------- .../ament_cmake_python/files/destdir.patch | 26 ----------- .../ament_cmake_python/files/destdir2.patch | 26 ----------- dev-ros/ament_cmake_python/metadata.xml | 11 ----- 7 files changed, 203 deletions(-) delete mode 100644 dev-ros/ament_cmake_python/Manifest delete mode 100644 dev-ros/ament_cmake_python/ament_cmake_python-1.1.4.ebuild delete mode 100644 dev-ros/ament_cmake_python/ament_cmake_python-1.3.0.ebuild delete mode 100644 dev-ros/ament_cmake_python/ament_cmake_python-9999.ebuild delete mode 100644 dev-ros/ament_cmake_python/files/destdir.patch delete mode 100644 dev-ros/ament_cmake_python/files/destdir2.patch delete mode 100644 dev-ros/ament_cmake_python/metadata.xml diff --git a/dev-ros/ament_cmake_python/Manifest b/dev-ros/ament_cmake_python/Manifest deleted file mode 100644 index ec48183d64319..0000000000000 --- a/dev-ros/ament_cmake_python/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST ament_cmake-1.1.4.tar.gz 94117 BLAKE2B 612bf25301b9794cf51b460819cf4a029547fbc97f7a428215a19f0a7747115de02d3f2cb5f5e524e73ba30813388ca7bff059ab7fe472916eaf2b23ecc76355 SHA512 56acd3d2a8d4b15a164dfdcaa2157fff2889a4c5c0b155ad65a815760f531cdf10226d158f40fc15660c52dd1585b85a2566e402f31881378351624f286efb3d -DIST ament_cmake-1.3.0.tar.gz 103040 BLAKE2B 8220d380923a591667b3b4bbe785f30ac935ce10c4fd6bf8bd22149586373f353cd9e71723638dca503bd54ff709783ea1e133c5034901fe2d891fd6bbe7c560 SHA512 44f71102e22fe9f6cd8c3cc13960d63af377eec0a6f7fb7ae99c18f2afae07f3997c9f226f7db8cc8020acdf45561ad9eb1006c6834125d6da137e8638617df8 diff --git a/dev-ros/ament_cmake_python/ament_cmake_python-1.1.4.ebuild b/dev-ros/ament_cmake_python/ament_cmake_python-1.1.4.ebuild deleted file mode 100644 index fb55ccb7a2023..0000000000000 --- a/dev-ros/ament_cmake_python/ament_cmake_python-1.1.4.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit cmake python-any-r1 - -ROS_PN="ament_cmake" -if [ "${PV#9999}" != "${PV}" ] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ament/ament_cmake" - S=${WORKDIR}/${P}/${PN} -else - SRC_URI="https://github.com/ament/ament_cmake/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" - S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" -fi - -DESCRIPTION="The ability to use Python in the ament buildsystem" -HOMEPAGE="https://github.com/ament/ament_cmake" - -LICENSE="Apache-2.0" -SLOT="0" -if [ "${PV#9999}" != "${PV}" ] ; then - PROPERTIES="live" -else - KEYWORDS="~amd64" -fi - -RDEPEND=" - dev-ros/ament_cmake_core -" -DEPEND="${RDEPEND}" -# Deps here are transitive from ament_cmake_core to have matching python support -BDEPEND="${PYTHON_DEPS} - $(python_gen_any_dep ' - dev-python/ament_package[${PYTHON_USEDEP}] - dev-python/catkin_pkg[${PYTHON_USEDEP}]') -" -PATCHES=( "${FILESDIR}/destdir.patch" ) - -python_check_deps() { - python_has_version "dev-python/ament_package[${PYTHON_USEDEP}]" \ - "dev-python/catkin_pkg[${PYTHON_USEDEP}]" -} diff --git a/dev-ros/ament_cmake_python/ament_cmake_python-1.3.0.ebuild b/dev-ros/ament_cmake_python/ament_cmake_python-1.3.0.ebuild deleted file mode 100644 index 505cc4b0bd09d..0000000000000 --- a/dev-ros/ament_cmake_python/ament_cmake_python-1.3.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit cmake python-any-r1 - -ROS_PN="ament_cmake" -if [ "${PV#9999}" != "${PV}" ] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ament/ament_cmake" - S=${WORKDIR}/${P}/${PN} -else - SRC_URI="https://github.com/ament/ament_cmake/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" - S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" -fi - -DESCRIPTION="The ability to use Python in the ament buildsystem" -HOMEPAGE="https://github.com/ament/ament_cmake" - -LICENSE="Apache-2.0" -SLOT="0" -if [ "${PV#9999}" != "${PV}" ] ; then - PROPERTIES="live" -else - KEYWORDS="~amd64" -fi - -RDEPEND=" - dev-ros/ament_cmake_core -" -DEPEND="${RDEPEND}" -# Deps here are transitive from ament_cmake_core to have matching python support -BDEPEND="${PYTHON_DEPS} - $(python_gen_any_dep ' - dev-python/ament_package[${PYTHON_USEDEP}] - dev-python/catkin_pkg[${PYTHON_USEDEP}]') -" -PATCHES=( "${FILESDIR}/destdir2.patch" ) - -python_check_deps() { - python_has_version "dev-python/ament_package[${PYTHON_USEDEP}]" \ - "dev-python/catkin_pkg[${PYTHON_USEDEP}]" -} diff --git a/dev-ros/ament_cmake_python/ament_cmake_python-9999.ebuild b/dev-ros/ament_cmake_python/ament_cmake_python-9999.ebuild deleted file mode 100644 index 505cc4b0bd09d..0000000000000 --- a/dev-ros/ament_cmake_python/ament_cmake_python-9999.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit cmake python-any-r1 - -ROS_PN="ament_cmake" -if [ "${PV#9999}" != "${PV}" ] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ament/ament_cmake" - S=${WORKDIR}/${P}/${PN} -else - SRC_URI="https://github.com/ament/ament_cmake/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" - S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" -fi - -DESCRIPTION="The ability to use Python in the ament buildsystem" -HOMEPAGE="https://github.com/ament/ament_cmake" - -LICENSE="Apache-2.0" -SLOT="0" -if [ "${PV#9999}" != "${PV}" ] ; then - PROPERTIES="live" -else - KEYWORDS="~amd64" -fi - -RDEPEND=" - dev-ros/ament_cmake_core -" -DEPEND="${RDEPEND}" -# Deps here are transitive from ament_cmake_core to have matching python support -BDEPEND="${PYTHON_DEPS} - $(python_gen_any_dep ' - dev-python/ament_package[${PYTHON_USEDEP}] - dev-python/catkin_pkg[${PYTHON_USEDEP}]') -" -PATCHES=( "${FILESDIR}/destdir2.patch" ) - -python_check_deps() { - python_has_version "dev-python/ament_package[${PYTHON_USEDEP}]" \ - "dev-python/catkin_pkg[${PYTHON_USEDEP}]" -} diff --git a/dev-ros/ament_cmake_python/files/destdir.patch b/dev-ros/ament_cmake_python/files/destdir.patch deleted file mode 100644 index 8e8f628afaf3b..0000000000000 --- a/dev-ros/ament_cmake_python/files/destdir.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: ament_cmake_python/cmake/ament_python_install_module.cmake -=================================================================== ---- ament_cmake_python.orig/cmake/ament_python_install_module.cmake -+++ ament_cmake_python/cmake/ament_python_install_module.cmake -@@ -64,7 +64,7 @@ function(_ament_cmake_python_install_mod - "execute_process( - COMMAND - \"${PYTHON_EXECUTABLE}\" \"-m\" \"compileall\" -- \"${CMAKE_INSTALL_PREFIX}/${destination}/${module_file}\" -+ \"\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${destination}/${module_file}\" - )" - ) - endif() -Index: ament_cmake_python/cmake/ament_python_install_package.cmake -=================================================================== ---- ament_cmake_python.orig/cmake/ament_python_install_package.cmake -+++ ament_cmake_python/cmake/ament_python_install_package.cmake -@@ -65,7 +65,7 @@ function(_ament_cmake_python_install_pac - "execute_process( - COMMAND - \"${PYTHON_EXECUTABLE}\" \"-m\" \"compileall\" -- \"${CMAKE_INSTALL_PREFIX}/${PYTHON_INSTALL_DIR}/${package_name}\" -+ \"\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${PYTHON_INSTALL_DIR}/${package_name}\" - )" - ) - endif() diff --git a/dev-ros/ament_cmake_python/files/destdir2.patch b/dev-ros/ament_cmake_python/files/destdir2.patch deleted file mode 100644 index 5278b6e17073f..0000000000000 --- a/dev-ros/ament_cmake_python/files/destdir2.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: ament_cmake_python/cmake/ament_python_install_module.cmake -=================================================================== ---- ament_cmake_python.orig/cmake/ament_python_install_module.cmake -+++ ament_cmake_python/cmake/ament_python_install_module.cmake -@@ -65,7 +65,7 @@ function(_ament_cmake_python_install_mod - "execute_process( - COMMAND - \"${python_interpreter}\" \"-m\" \"compileall\" -- \"${CMAKE_INSTALL_PREFIX}/${destination}/${module_file}\" -+ \"\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${destination}/${module_file}\" - )" - ) - endif() -Index: ament_cmake_python/cmake/ament_python_install_package.cmake -=================================================================== ---- ament_cmake_python.orig/cmake/ament_python_install_package.cmake -+++ ament_cmake_python/cmake/ament_python_install_package.cmake -@@ -192,7 +192,7 @@ setup( - "execute_process( - COMMAND - \"${python_interpreter_config}\" \"-m\" \"compileall\" -- \"${CMAKE_INSTALL_PREFIX}/${ARG_DESTINATION}/${package_name}\" -+ \"\$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${ARG_DESTINATION}/${package_name}\" - )" - ) - endif() diff --git a/dev-ros/ament_cmake_python/metadata.xml b/dev-ros/ament_cmake_python/metadata.xml deleted file mode 100644 index 507777b6c9a31..0000000000000 --- a/dev-ros/ament_cmake_python/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - ros@gentoo.org - Gentoo ROS Project - - - ament/ament_cmake - -