summaryrefslogtreecommitdiff
path: root/dev-ros/ament_cmake_python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-ros/ament_cmake_python
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-ros/ament_cmake_python')
-rw-r--r--dev-ros/ament_cmake_python/Manifest17
-rw-r--r--dev-ros/ament_cmake_python/ament_cmake_python-1.0.0.ebuild47
-rw-r--r--dev-ros/ament_cmake_python/ament_cmake_python-1.0.1.ebuild47
-rw-r--r--dev-ros/ament_cmake_python/ament_cmake_python-1.0.3.ebuild47
-rw-r--r--dev-ros/ament_cmake_python/ament_cmake_python-1.0.4.ebuild47
-rw-r--r--dev-ros/ament_cmake_python/ament_cmake_python-1.1.3.ebuild47
-rw-r--r--dev-ros/ament_cmake_python/ament_cmake_python-1.3.0.ebuild (renamed from dev-ros/ament_cmake_python/ament_cmake_python-0.9.6.ebuild)6
-rw-r--r--dev-ros/ament_cmake_python/ament_cmake_python-9999.ebuild4
-rw-r--r--dev-ros/ament_cmake_python/files/destdir2.patch26
9 files changed, 35 insertions, 253 deletions
diff --git a/dev-ros/ament_cmake_python/Manifest b/dev-ros/ament_cmake_python/Manifest
index 892be9eae254..16b838bce653 100644
--- a/dev-ros/ament_cmake_python/Manifest
+++ b/dev-ros/ament_cmake_python/Manifest
@@ -1,17 +1,8 @@
AUX destdir.patch 1203 BLAKE2B fe4e783ea9d4802752d79d489e5b05d0ca9688a76d678521af41f232005da611c0286f594d15045dcae5610362ccc1bb878d29bddbeb86a9452b0289af347d67 SHA512 85e196c9777a6cc8b8b693e3825d5027c7a5db0a74008ad34d9be3714a088a9e651bb99ce53ee2bd95c47b2c1f8c2c657fa18cce0f13b11e4ea437cdd03ef0b3
-DIST ament_cmake-0.9.6.tar.gz 60800 BLAKE2B 71c4e71c50b7715bb8f1b5b737ce23e30f79459a14a5866801bcb810b8fe82d807b6a4eae11de427f52c618e14ef22b7693905f1a0200cc38f0ffab1d70e80cd SHA512 c923260bbd0142ea57bf3e868e94e76020939e8ec49cbf23f14221d0048f21efed00dcdae9978e00f246725ba216c151f5d53b1cd94297b8731f53dc0e45b554
-DIST ament_cmake-1.0.0.tar.gz 63304 BLAKE2B dd0c4bc5b72d9143cfb8ee9caae236a3608981ee8523e879ea9c168d64fd1d0cb84e54679cfc0cfc58ffff34519bb1032afc956c3130c1da8b4f98d60a9191be SHA512 69236015368df29a128eceeb64dd1c683eb32a44188b52120592238f999be8c8c7c5892a36ddcef48b6686bf97eba77e820ca3b8896c64ec1522661fa3ed4fc7
-DIST ament_cmake-1.0.1.tar.gz 66465 BLAKE2B cd905b52f4600ccf364ab8d5e4dcf102e1f6034bae7ab020022860fa440ff058a996752cbb0e743b5f66a2b6bc0d1f46cec7c71900be53f035ed8a0642e50b04 SHA512 5f60c933c0ba1eea97f2d0913e19f383e154f26a0625ea4e40c529dd1fa5831109f7cbc0c39a514d37334d61c5d614df0ea546e49ab46202002af09a2adf6288
-DIST ament_cmake-1.0.3.tar.gz 67279 BLAKE2B 5a11fd6e8174a47acc2f7524c8aec4ce0b77668525928d722c631b6d874d8d7229a84e5dd084eda834d5afcdf4cc1faf692c3ea4552374b0858c2b60610417e6 SHA512 654a02d8c8130d023d063eff29197ed71e75a1f46c73e3808f5e481ce1b68ff6d0b3002b471bb3ba13a473c4947f4a291cc91cf1aa803906d3a89c78e66eb76a
-DIST ament_cmake-1.0.4.tar.gz 67452 BLAKE2B 6c28c06e67e77ca636b1f85a4bb69e1bb856d87a64fbf0cebddbecefc495113aeb001b83b446086233e4330c70b1f420c59efa01f92647539dd8b87a3321fb24 SHA512 f7ec6afd35c314a99f09ccce0568eb9debdcce4ce7494d21a3919328f0b9da062ed3837653e8016f930db75125bf4db85a244f2ce5d26c790e47d1440d1be07e
-DIST ament_cmake-1.1.3.tar.gz 69705 BLAKE2B 3f6cbe397c6690265ee9e367b3379359d36571789eed1ff615b8b1dc7e710a73e7f061e69b1f21a91091928e6633c3e3f9d0c1e167eee79b9549deaef5d1f150 SHA512 633604a3d3d37591b48574d0fedbb5a9e88656066bc8457ff73e03895b2cd372f0a0dc5331d1a87df0af2268ff5b1a1da7e4ee18e448a5ce83e4333e91aad22e
+AUX destdir2.patch 1174 BLAKE2B dcf78cd8e36565677fbc688876a19a24a0df23b8dffbfa6dd230b935740c1ca4a6c57e3d9ad264b9b1b20be9794fafe1e3f59211f249f710016a9ce57058810e SHA512 75847abed87ee4e629682139f9cae789cfa0b02e6a08d941a6e1490ec966062f20326501d704afbfbd71dc24ab1e99479a02345a8118f14ba1264d171e85aeb0
DIST ament_cmake-1.1.4.tar.gz 94117 BLAKE2B 612bf25301b9794cf51b460819cf4a029547fbc97f7a428215a19f0a7747115de02d3f2cb5f5e524e73ba30813388ca7bff059ab7fe472916eaf2b23ecc76355 SHA512 56acd3d2a8d4b15a164dfdcaa2157fff2889a4c5c0b155ad65a815760f531cdf10226d158f40fc15660c52dd1585b85a2566e402f31881378351624f286efb3d
-EBUILD ament_cmake_python-0.9.6.ebuild 1181 BLAKE2B c314514223beed84bb8cffd375d3f72f76e7136b705f49b6a20174c45ba5b6056b4272af2e33a9df5aadcc3f7a87f3907aaf37516cfe55453b22c64868a5c9d7 SHA512 5ac7707c0bab83b67d12c8732f7d86151595fb50bee930d1c3e4dacbe545d37b7b1038a8f4452cae51bf7e7f18c89e7a1b8b3178db94c2e8cb641f8ff9ff330e
-EBUILD ament_cmake_python-1.0.0.ebuild 1181 BLAKE2B c314514223beed84bb8cffd375d3f72f76e7136b705f49b6a20174c45ba5b6056b4272af2e33a9df5aadcc3f7a87f3907aaf37516cfe55453b22c64868a5c9d7 SHA512 5ac7707c0bab83b67d12c8732f7d86151595fb50bee930d1c3e4dacbe545d37b7b1038a8f4452cae51bf7e7f18c89e7a1b8b3178db94c2e8cb641f8ff9ff330e
-EBUILD ament_cmake_python-1.0.1.ebuild 1181 BLAKE2B c314514223beed84bb8cffd375d3f72f76e7136b705f49b6a20174c45ba5b6056b4272af2e33a9df5aadcc3f7a87f3907aaf37516cfe55453b22c64868a5c9d7 SHA512 5ac7707c0bab83b67d12c8732f7d86151595fb50bee930d1c3e4dacbe545d37b7b1038a8f4452cae51bf7e7f18c89e7a1b8b3178db94c2e8cb641f8ff9ff330e
-EBUILD ament_cmake_python-1.0.3.ebuild 1181 BLAKE2B c314514223beed84bb8cffd375d3f72f76e7136b705f49b6a20174c45ba5b6056b4272af2e33a9df5aadcc3f7a87f3907aaf37516cfe55453b22c64868a5c9d7 SHA512 5ac7707c0bab83b67d12c8732f7d86151595fb50bee930d1c3e4dacbe545d37b7b1038a8f4452cae51bf7e7f18c89e7a1b8b3178db94c2e8cb641f8ff9ff330e
-EBUILD ament_cmake_python-1.0.4.ebuild 1181 BLAKE2B c314514223beed84bb8cffd375d3f72f76e7136b705f49b6a20174c45ba5b6056b4272af2e33a9df5aadcc3f7a87f3907aaf37516cfe55453b22c64868a5c9d7 SHA512 5ac7707c0bab83b67d12c8732f7d86151595fb50bee930d1c3e4dacbe545d37b7b1038a8f4452cae51bf7e7f18c89e7a1b8b3178db94c2e8cb641f8ff9ff330e
-EBUILD ament_cmake_python-1.1.3.ebuild 1181 BLAKE2B c314514223beed84bb8cffd375d3f72f76e7136b705f49b6a20174c45ba5b6056b4272af2e33a9df5aadcc3f7a87f3907aaf37516cfe55453b22c64868a5c9d7 SHA512 5ac7707c0bab83b67d12c8732f7d86151595fb50bee930d1c3e4dacbe545d37b7b1038a8f4452cae51bf7e7f18c89e7a1b8b3178db94c2e8cb641f8ff9ff330e
+DIST ament_cmake-1.3.0.tar.gz 103040 BLAKE2B 8220d380923a591667b3b4bbe785f30ac935ce10c4fd6bf8bd22149586373f353cd9e71723638dca503bd54ff709783ea1e133c5034901fe2d891fd6bbe7c560 SHA512 44f71102e22fe9f6cd8c3cc13960d63af377eec0a6f7fb7ae99c18f2afae07f3997c9f226f7db8cc8020acdf45561ad9eb1006c6834125d6da137e8638617df8
EBUILD ament_cmake_python-1.1.4.ebuild 1181 BLAKE2B 651152b5ead7ad7112dd08c6b533b7451f908ff97abc2dad7f04b38cc3c6ddc9f76e2f0c2e1348f6bacb634b847e4030618120f678823d972963dd4368ca702c SHA512 30dcac9098507e41151db00824a188f266a8abab566fe5a9e9c7b865dfd3c67da8c3569bc70a433e7a329f2eacf512d6766665b6141fd3d6e9554e42fac605b2
-EBUILD ament_cmake_python-9999.ebuild 1181 BLAKE2B 651152b5ead7ad7112dd08c6b533b7451f908ff97abc2dad7f04b38cc3c6ddc9f76e2f0c2e1348f6bacb634b847e4030618120f678823d972963dd4368ca702c SHA512 30dcac9098507e41151db00824a188f266a8abab566fe5a9e9c7b865dfd3c67da8c3569bc70a433e7a329f2eacf512d6766665b6141fd3d6e9554e42fac605b2
+EBUILD ament_cmake_python-1.3.0.ebuild 1182 BLAKE2B fddba91ce1baeeac2c00e0e7d9ca3ff4a4821886d81e0cc5af5604a43698f81aa4cd223e6130b31f5127d27866dbd1c253dabede25b04292836c06e2d82c2d58 SHA512 332ce76b974cb7ebf8de2034d0b568ac6dde41c83d32141171816e38a2508967900c22fe179766d6194f36a599d0b67e6634507d026020d77c4d5680fbf0d044
+EBUILD ament_cmake_python-9999.ebuild 1182 BLAKE2B fddba91ce1baeeac2c00e0e7d9ca3ff4a4821886d81e0cc5af5604a43698f81aa4cd223e6130b31f5127d27866dbd1c253dabede25b04292836c06e2d82c2d58 SHA512 332ce76b974cb7ebf8de2034d0b568ac6dde41c83d32141171816e38a2508967900c22fe179766d6194f36a599d0b67e6634507d026020d77c4d5680fbf0d044
MISC metadata.xml 332 BLAKE2B 4cfb0cdd190fee00f82e219ca7ed55bcfcdf350b2a4abb5001133d0d577e95925c69b7e978aff53a9a9313f7bead35df2e325f878fde235ef28e3580c859b8b1 SHA512 09dca0eeafb32ae8219fa2b0a09b8fe6269ee620900f71ca5528879d961f1192d73584af07c9501a4b3a4c9ad9f2af2b0bd1a9bec0f4099cdc9dec7b177537aa
diff --git a/dev-ros/ament_cmake_python/ament_cmake_python-1.0.0.ebuild b/dev-ros/ament_cmake_python/ament_cmake_python-1.0.0.ebuild
deleted file mode 100644
index 0e793810f45b..000000000000
--- a/dev-ros/ament_cmake_python/ament_cmake_python-1.0.0.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{3_7,3_8} )
-
-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"
- SRC_URI=""
- 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
-IUSE=""
-
-RDEPEND="
- dev-ros/ament_cmake_core
-"
-DEPEND="${RDEPEND}"
-# Deps here are transitive from ament_cmake_core to have matching python support
-BDEPEND="
- $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
- ${PYTHON_DEPS}
-"
-PATCHES=( "${FILESDIR}/destdir.patch" )
-
-python_check_deps() {
- has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
- has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]"
-}
diff --git a/dev-ros/ament_cmake_python/ament_cmake_python-1.0.1.ebuild b/dev-ros/ament_cmake_python/ament_cmake_python-1.0.1.ebuild
deleted file mode 100644
index 0e793810f45b..000000000000
--- a/dev-ros/ament_cmake_python/ament_cmake_python-1.0.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{3_7,3_8} )
-
-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"
- SRC_URI=""
- 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
-IUSE=""
-
-RDEPEND="
- dev-ros/ament_cmake_core
-"
-DEPEND="${RDEPEND}"
-# Deps here are transitive from ament_cmake_core to have matching python support
-BDEPEND="
- $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
- ${PYTHON_DEPS}
-"
-PATCHES=( "${FILESDIR}/destdir.patch" )
-
-python_check_deps() {
- has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
- has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]"
-}
diff --git a/dev-ros/ament_cmake_python/ament_cmake_python-1.0.3.ebuild b/dev-ros/ament_cmake_python/ament_cmake_python-1.0.3.ebuild
deleted file mode 100644
index 0e793810f45b..000000000000
--- a/dev-ros/ament_cmake_python/ament_cmake_python-1.0.3.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{3_7,3_8} )
-
-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"
- SRC_URI=""
- 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
-IUSE=""
-
-RDEPEND="
- dev-ros/ament_cmake_core
-"
-DEPEND="${RDEPEND}"
-# Deps here are transitive from ament_cmake_core to have matching python support
-BDEPEND="
- $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
- ${PYTHON_DEPS}
-"
-PATCHES=( "${FILESDIR}/destdir.patch" )
-
-python_check_deps() {
- has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
- has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]"
-}
diff --git a/dev-ros/ament_cmake_python/ament_cmake_python-1.0.4.ebuild b/dev-ros/ament_cmake_python/ament_cmake_python-1.0.4.ebuild
deleted file mode 100644
index 0e793810f45b..000000000000
--- a/dev-ros/ament_cmake_python/ament_cmake_python-1.0.4.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{3_7,3_8} )
-
-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"
- SRC_URI=""
- 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
-IUSE=""
-
-RDEPEND="
- dev-ros/ament_cmake_core
-"
-DEPEND="${RDEPEND}"
-# Deps here are transitive from ament_cmake_core to have matching python support
-BDEPEND="
- $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
- ${PYTHON_DEPS}
-"
-PATCHES=( "${FILESDIR}/destdir.patch" )
-
-python_check_deps() {
- has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
- has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]"
-}
diff --git a/dev-ros/ament_cmake_python/ament_cmake_python-1.1.3.ebuild b/dev-ros/ament_cmake_python/ament_cmake_python-1.1.3.ebuild
deleted file mode 100644
index 0e793810f45b..000000000000
--- a/dev-ros/ament_cmake_python/ament_cmake_python-1.1.3.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{3_7,3_8} )
-
-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"
- SRC_URI=""
- 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
-IUSE=""
-
-RDEPEND="
- dev-ros/ament_cmake_core
-"
-DEPEND="${RDEPEND}"
-# Deps here are transitive from ament_cmake_core to have matching python support
-BDEPEND="
- $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
- ${PYTHON_DEPS}
-"
-PATCHES=( "${FILESDIR}/destdir.patch" )
-
-python_check_deps() {
- has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
- has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]"
-}
diff --git a/dev-ros/ament_cmake_python/ament_cmake_python-0.9.6.ebuild b/dev-ros/ament_cmake_python/ament_cmake_python-1.3.0.ebuild
index 0e793810f45b..d4b1a4488aca 100644
--- a/dev-ros/ament_cmake_python/ament_cmake_python-0.9.6.ebuild
+++ b/dev-ros/ament_cmake_python/ament_cmake_python-1.3.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{3_7,3_8} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit cmake python-any-r1
@@ -39,7 +39,7 @@ BDEPEND="
$(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
${PYTHON_DEPS}
"
-PATCHES=( "${FILESDIR}/destdir.patch" )
+PATCHES=( "${FILESDIR}/destdir2.patch" )
python_check_deps() {
has_version "dev-python/ament_package[${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
index d6ff5f678382..d4b1a4488aca 100644
--- a/dev-ros/ament_cmake_python/ament_cmake_python-9999.ebuild
+++ b/dev-ros/ament_cmake_python/ament_cmake_python-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -39,7 +39,7 @@ BDEPEND="
$(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
${PYTHON_DEPS}
"
-PATCHES=( "${FILESDIR}/destdir.patch" )
+PATCHES=( "${FILESDIR}/destdir2.patch" )
python_check_deps() {
has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
diff --git a/dev-ros/ament_cmake_python/files/destdir2.patch b/dev-ros/ament_cmake_python/files/destdir2.patch
new file mode 100644
index 000000000000..5278b6e17073
--- /dev/null
+++ b/dev-ros/ament_cmake_python/files/destdir2.patch
@@ -0,0 +1,26 @@
+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()