1 |
commit: c9fb3d4e4b878dc857fb467c837fd7d3922631bb |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 13 11:36:53 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 13 12:24:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9fb3d4e |
7 |
|
8 |
dev-util/catkin: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
dev-util/catkin/Manifest | 1 - |
14 |
dev-util/catkin/catkin-0.8.3-r1.ebuild | 125 --------------------------------- |
15 |
dev-util/catkin/files/egginfo.patch | 13 ---- |
16 |
3 files changed, 139 deletions(-) |
17 |
|
18 |
diff --git a/dev-util/catkin/Manifest b/dev-util/catkin/Manifest |
19 |
index e2012a736da..daf0db1703c 100644 |
20 |
--- a/dev-util/catkin/Manifest |
21 |
+++ b/dev-util/catkin/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST catkin-0.8.3.tar.gz 215988 BLAKE2B 92d7bced93e2d33dafcfd902724f993aa15756139265b5594c15041c333568591193b86e1a4bee8c278f2739dd063f73b6ce675b8ab4fefd312b5daeea414c7a SHA512 14fd03627f3fb339a850ca73e7a49dfeb7312a85416473dff60995ea1d0f1050982929c297751502589a7320dd7eec5d922c86061166f9d475fc1108540db4ae |
24 |
DIST catkin-0.8.8.tar.gz 217566 BLAKE2B c17ed55e4f72f6645a778b5669e9b54090ea0425526d7540a6c8cf3af88ba10dfd91b927f53a83d9d2fac56e000c4c52e93216a36694475a91fabe00dd2d0168 SHA512 a90c552bebb46ade23171c85ca1cb23b295d156e731c29cd7602e544aef6231edb179d0fce52d06008d762bafd309456e0ef8976a3f67ed9ea861b905b1bb979 |
25 |
|
26 |
diff --git a/dev-util/catkin/catkin-0.8.3-r1.ebuild b/dev-util/catkin/catkin-0.8.3-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index c11d6524150..00000000000 |
29 |
--- a/dev-util/catkin/catkin-0.8.3-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,125 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-SCM="" |
38 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
39 |
- SCM="git-r3" |
40 |
- EGIT_REPO_URI="https://github.com/ros/catkin" |
41 |
-fi |
42 |
- |
43 |
-PYTHON_COMPAT=( python{3_6,3_7,3_8} ) |
44 |
- |
45 |
-inherit ${SCM} cmake-utils python-r1 python-utils-r1 |
46 |
- |
47 |
-DESCRIPTION="Cmake macros and associated python code used to build some parts of ROS" |
48 |
-HOMEPAGE="https://wiki.ros.org/catkin" |
49 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
50 |
- SRC_URI="" |
51 |
- KEYWORDS="" |
52 |
-else |
53 |
- SRC_URI="https://github.com/ros/catkin/archive/${PV}.tar.gz -> ${P}.tar.gz" |
54 |
- KEYWORDS="~amd64 ~arm" |
55 |
-fi |
56 |
- |
57 |
-LICENSE="BSD" |
58 |
-SLOT="0" |
59 |
-IUSE="test" |
60 |
-RESTRICT="!test? ( test )" |
61 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
62 |
- |
63 |
-RDEPEND=" |
64 |
- ${PYTHON_DEPS} |
65 |
- dev-python/catkin_pkg[${PYTHON_USEDEP}] |
66 |
- dev-python/empy[${PYTHON_USEDEP}] |
67 |
- dev-util/cmake |
68 |
-" |
69 |
-DEPEND="${RDEPEND} |
70 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] )" |
71 |
-BDEPEND=" |
72 |
- dev-util/cmake |
73 |
-" |
74 |
- |
75 |
-PATCHES=( |
76 |
- "${FILESDIR}/tests.patch" |
77 |
- "${FILESDIR}/distutils-v2.patch" |
78 |
- "${FILESDIR}/catkin_prefix_path.patch" |
79 |
- "${FILESDIR}/gnuinstalldirs.patch" |
80 |
- "${FILESDIR}/catkin_prefix_path_util_py_v2.patch" |
81 |
- "${FILESDIR}/package_xml.patch" |
82 |
- "${FILESDIR}/etc.patch" |
83 |
- "${FILESDIR}/egginfo.patch" |
84 |
-) |
85 |
- |
86 |
-src_prepare() { |
87 |
- # fix libdir |
88 |
- sed -i \ |
89 |
- -e 's:LIBEXEC_DESTINATION lib:LIBEXEC_DESTINATION libexec:' \ |
90 |
- -e 's:}/lib:}/${CMAKE_INSTALL_LIBDIR}:' \ |
91 |
- -e 's:DESTINATION lib):DESTINATION ${CMAKE_INSTALL_LIBDIR}):' \ |
92 |
- -e 's:DESTINATION lib/:DESTINATION ${CMAKE_INSTALL_LIBDIR}/:' \ |
93 |
- -e 's:PYTHON_INSTALL_DIR lib:PYTHON_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}:' \ |
94 |
- cmake/*.cmake || die |
95 |
- cmake-utils_src_prepare |
96 |
-} |
97 |
- |
98 |
-catkin_src_configure_internal() { |
99 |
- local sitedir="$(python_get_sitedir)" |
100 |
- mycmakeargs+=( |
101 |
- -DPYTHON_EXECUTABLE="${PYTHON}" |
102 |
- -DPYTHON_INSTALL_DIR="${sitedir#${EPREFIX}/usr/}" |
103 |
- ) |
104 |
- python_export PYTHON_SCRIPTDIR |
105 |
- cmake-utils_src_configure |
106 |
-} |
107 |
- |
108 |
-src_configure() { |
109 |
- export PYTHONPATH="${S}/python" |
110 |
- local mycmakeargs=( |
111 |
- "-DCATKIN_ENABLE_TESTING=$(usex test)" |
112 |
- "-DCATKIN_BUILD_BINARY_PACKAGE=ON" |
113 |
- ) |
114 |
- python_foreach_impl catkin_src_configure_internal |
115 |
-} |
116 |
- |
117 |
-src_compile() { |
118 |
- python_foreach_impl cmake-utils_src_compile |
119 |
-} |
120 |
- |
121 |
-src_test() { |
122 |
- unset PYTHON_SCRIPTDIR |
123 |
- python_foreach_impl cmake-utils_src_test |
124 |
-} |
125 |
- |
126 |
-catkin_src_install_internal() { |
127 |
- python_export PYTHON_SCRIPTDIR |
128 |
- cmake-utils_src_install |
129 |
- if [ ! -f "${T}/.catkin_python_symlinks_generated" ]; then |
130 |
- dodir /usr/bin |
131 |
- for i in "${D}/${PYTHON_SCRIPTDIR}"/* ; do |
132 |
- dosym ../lib/python-exec/python-exec2 "/usr/bin/${i##*/}" |
133 |
- done |
134 |
- touch "${T}/.catkin_python_symlinks_generated" |
135 |
- fi |
136 |
-} |
137 |
- |
138 |
-src_install() { |
139 |
- python_foreach_impl catkin_src_install_internal |
140 |
- |
141 |
- doenvd "${FILESDIR}/40catkin" |
142 |
- |
143 |
- # needed to be considered as a workspace |
144 |
- touch "${ED}/usr/.catkin" |
145 |
- |
146 |
- python_foreach_impl python_optimize |
147 |
-} |
148 |
- |
149 |
-pkg_postinst() { |
150 |
- ewarn "Starting from version 0.7.1-r2, dev-util/catkin changed the" |
151 |
- ewarn "installation path for package.xml files on Gentoo." |
152 |
- ewarn "In order for ROS to work properly, you will need to reinstall ROS" |
153 |
- ewarn "packages that have it installed in the old location:" |
154 |
- ewarn " emerge -1O /usr/share/*/package.xml" |
155 |
- ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=595004 for more details." |
156 |
-} |
157 |
|
158 |
diff --git a/dev-util/catkin/files/egginfo.patch b/dev-util/catkin/files/egginfo.patch |
159 |
deleted file mode 100644 |
160 |
index a33e066ced6..00000000000 |
161 |
--- a/dev-util/catkin/files/egginfo.patch |
162 |
+++ /dev/null |
163 |
@@ -1,13 +0,0 @@ |
164 |
-Index: catkin-0.8.3/cmake/catkin_python_setup.cmake |
165 |
-=================================================================== |
166 |
---- catkin-0.8.3.orig/cmake/catkin_python_setup.cmake |
167 |
-+++ catkin-0.8.3/cmake/catkin_python_setup.cmake |
168 |
-@@ -143,7 +143,7 @@ function(catkin_python_setup) |
169 |
- |
170 |
- assert(PYTHON_INSTALL_DIR) |
171 |
- if(${PROJECT_NAME}_SETUP_PY_SETUP_MODULE STREQUAL "setuptools") |
172 |
-- set(SETUPTOOLS_EGG_INFO "egg_info --egg-base ${CMAKE_INSTALL_PREFIX}/${PYTHON_INSTALL_DIR}") |
173 |
-+ set(SETUPTOOLS_EGG_INFO "egg_info --egg-base \${DESTDIR}${CMAKE_INSTALL_PREFIX}/${PYTHON_INSTALL_DIR}") |
174 |
- else() |
175 |
- set(SETUPTOOLS_EGG_INFO "") |
176 |
- endif() |