diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-29 00:32:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-29 00:32:16 +0000 |
commit | ad108e7b751d67723534624b94eb0e04250dd1af (patch) | |
tree | b2c2e47b9c23ac5a70d7170b3ba364b32da31944 /sci-libs | |
parent | c44ae5c03130467400468d0e9a7f83e723c99f35 (diff) |
gentoo auto-resync : 29:03:2025 - 00:32:15
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 40366 -> 40368 bytes | |||
-rw-r--r-- | sci-libs/octomap/Manifest | 7 | ||||
-rw-r--r-- | sci-libs/octomap/files/octomap-1.10.0-cmake_bump.patch | 42 | ||||
-rw-r--r-- | sci-libs/octomap/files/octomap-1.10.0-destdir_edt3d.patch | 18 | ||||
-rw-r--r-- | sci-libs/octomap/files/octomap-1.10.0-filter_flags.patch | 16 | ||||
-rw-r--r-- | sci-libs/octomap/files/octomap-1.10.0-pkgconf_libqglviewer.patch | 32 | ||||
-rw-r--r-- | sci-libs/octomap/files/octomap-1.10.0-qt5_qt6.patch | 143 | ||||
-rw-r--r-- | sci-libs/octomap/octomap-1.10.0.ebuild | 91 | ||||
-rw-r--r-- | sci-libs/pyshp/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/pyshp/pyshp-2.3.1-r3.ebuild | 29 |
10 files changed, 379 insertions, 0 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex 137d31086cfe..b209d5da8997 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/octomap/Manifest b/sci-libs/octomap/Manifest index d1cf64fa4183..7ff5b47c1645 100644 --- a/sci-libs/octomap/Manifest +++ b/sci-libs/octomap/Manifest @@ -1,3 +1,10 @@ +AUX octomap-1.10.0-cmake_bump.patch 1259 BLAKE2B 7695fbdc349fdd45d06c60af4ffbcd8e100662df3a7e734579ea4c28772cc79586884732adcddd30fecd9270791593dc7a042ddbcc4cf86a8b5c9b278f75b91d SHA512 ea754e5263ddbafad00c667161b379282176777ab7294618ca79bc6b563349f9ebc0bcceec2dd97869bdec13b3745e75a07ccf264d62b16fe40521d97db10732 +AUX octomap-1.10.0-destdir_edt3d.patch 563 BLAKE2B a8f0080883d3c9389d3f6fc77d574299551abb547f5fda266901ecac8b63670dd413afe93b0c0901b6e79044fce01f7667089ed5b8e0a81bf1cb137b3ff299d9 SHA512 09fb6d7156a7fa6ef2eb3d37ae8434bf9dbdc678c7b1f74c5fd534f7e4be0feb3156a14b09b1d60969208dbdd8c2e64692cb889f32460995e5a5acd4f50abdbb +AUX octomap-1.10.0-filter_flags.patch 839 BLAKE2B aae569e51a9556b4424073fa2f5f854639cb92a5fee87d3bdd517b17ad9d616d570848346ebac0888d3545ad1fdb70dc1f110ed3148560915627c38806c17d64 SHA512 ebec99659ac6b9fdbd60e926737324ce1868fba0981e3307cb39bab5a9ca1c3dac53027cf04d187539c57b9655c6c3cef66d585d97c1c2c73b9a2868fdb1085c +AUX octomap-1.10.0-pkgconf_libqglviewer.patch 1017 BLAKE2B 0290247ac6503f890572070698c2d5672095a8f9aa141fba531503b09d37f75e0fb9d53917077574546dab5415fbd326755646a38fccf181562dfd9621137563 SHA512 f710b25718f23ce966451f4739aadbc1a26902014183eb67230812910306df96b773ee609e238eeafbb0c52827adf0bb3944e88b7703a8581d6b68b9ccc410a6 +AUX octomap-1.10.0-qt5_qt6.patch 4569 BLAKE2B 36cd7703ad7bdf9f5f5d706049f050657cd46b3fb08e521e4e2ea0698bb144cc8cd3c73eaf282e00bec0f97bd3a7ed436d6ce22cf61ac7ba28a0e0bf2458500e SHA512 78aab71d3abe0259d0f6eba4b6d7801b5df14cf67c0c2322ae0312b5a93775e0539650e6de3b843782f6b1f1ae0e092e564fe264f44c5a59aed7a1256b8c6075 +DIST octomap-1.10.0.tar.gz 1694103 BLAKE2B 0415ee5e961ea456b9d497b35aeadd0d21a742a3f252eac67c717536e1d9f39fa4117170e259a3762ab6101b776afe65dec6fcff5a6e8d66f1957ea0b0ea5552 SHA512 1cbee4f6b3569587986774447ad9ec4190f597310c4d6865ffa7cd8865ece2492e4a42fa369b633d9d7a9da782560d49deaa62a18601ea4f56396bdf1a6a5f52 DIST octomap-1.9.8.tar.gz 1693311 BLAKE2B 476e4a644287e5ebcaa36de3051b7a2079b733bee3cd80b192fecfab0a85c5de70e3ad087a6cb499141167c735692de72ba2a7b1fb8b318e461f8f21f20020ae SHA512 60afeecc36a190f136dcbe33cb9cd6c06c16233988b383b0b010f65f81e6a3630b55902c5b5ad756ac35dee4c4ec26ec5722d6bd9b8e079f70b7d286293c518e +EBUILD octomap-1.10.0.ebuild 1925 BLAKE2B 5fe459ef1e8ac24e5a7bac86ffb917c24f96a5f43d814497cb75f67f313faa84f96de0f3dde3945e3714a31b677cc205cac56ff03c257059670a44ba97c6ac99 SHA512 8934c6a8101c910191df92f736171741bf5b169fce3a681328a1ef419e2963b0c560e06ae5f1457bf9a26326e245704559f71b6ab8e8da3f9f8fdcc26097c5bc EBUILD octomap-1.9.8.ebuild 1602 BLAKE2B 42b718dcfb36b64ed72e7934d6b40f0fbf25524887b512ee42b336d0cad918d65e026c8876999ccb694b5c0304a85159e013eafaa534084f276f3b58523a4b75 SHA512 0152704521642796839bdd5f06571df76ee579e696c702a2ea235e1621739b9ce533f7eb83ef2b8ba37ca67eb4916ac94b6e13cda57b62cf03f315c42a0eb404 MISC metadata.xml 705 BLAKE2B ec5489e05e6c0f3d45bda9a3e09f08071cb33c3db16caf4897f767491315ab6fdb13fbd029edcaadcc3a60b92fe002dc36be6cc5a5fc3b6d3a0062fb8007f2fa SHA512 851709f97d0fbd02f850a382a2e0e672ce946c1dd21b6a069027a577cdb8f4f626e3ede43719cd56090cc3143743038d3ac3e86bdb1761e408e89f86023859f0 diff --git a/sci-libs/octomap/files/octomap-1.10.0-cmake_bump.patch b/sci-libs/octomap/files/octomap-1.10.0-cmake_bump.patch new file mode 100644 index 000000000000..7afef4bc95a7 --- /dev/null +++ b/sci-libs/octomap/files/octomap-1.10.0-cmake_bump.patch @@ -0,0 +1,42 @@ +https://github.com/OctoMap/octomap/pull/432.patch +bump cmake_minimum to prepare cmake-4 +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f1eb31f3..63498f5b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-CMAKE_MINIMUM_REQUIRED(VERSION 3.0.2) ++CMAKE_MINIMUM_REQUIRED(VERSION 3.10) + PROJECT( octomap-distribution ) + + ENABLE_TESTING() # enable CTest environment of subprojects +diff --git a/dynamicEDT3D/CMakeLists.txt b/dynamicEDT3D/CMakeLists.txt +index 7edfdde9..3dfd2399 100644 +--- a/dynamicEDT3D/CMakeLists.txt ++++ b/dynamicEDT3D/CMakeLists.txt +@@ -1,4 +1,4 @@ +-CMAKE_MINIMUM_REQUIRED(VERSION 3.5) ++CMAKE_MINIMUM_REQUIRED(VERSION 3.10) + PROJECT(dynamicEDT3D) + + include(CTest) +diff --git a/octomap/CMakeLists.txt b/octomap/CMakeLists.txt +index 87a78e9c..148a1332 100644 +--- a/octomap/CMakeLists.txt ++++ b/octomap/CMakeLists.txt +@@ -1,4 +1,4 @@ +-CMAKE_MINIMUM_REQUIRED(VERSION 3.5) ++CMAKE_MINIMUM_REQUIRED(VERSION 3.10) + PROJECT( octomap ) + + include(CTest) +diff --git a/octovis/CMakeLists.txt b/octovis/CMakeLists.txt +index 84fa3675..79e6978f 100644 +--- a/octovis/CMakeLists.txt ++++ b/octovis/CMakeLists.txt +@@ -1,4 +1,4 @@ +-CMAKE_MINIMUM_REQUIRED(VERSION 3.5) ++CMAKE_MINIMUM_REQUIRED(VERSION 3.10) + PROJECT( octovis ) + + include(CTest) diff --git a/sci-libs/octomap/files/octomap-1.10.0-destdir_edt3d.patch b/sci-libs/octomap/files/octomap-1.10.0-destdir_edt3d.patch new file mode 100644 index 000000000000..2d44dd5954e5 --- /dev/null +++ b/sci-libs/octomap/files/octomap-1.10.0-destdir_edt3d.patch @@ -0,0 +1,18 @@ +use cmake variables +diff --git a/dynamicEDT3D/CMakeLists.txt b/dynamicEDT3D/CMakeLists.txt +index 7edfdde..14bdf49 100644 +--- a/dynamicEDT3D/CMakeLists.txt ++++ b/dynamicEDT3D/CMakeLists.txt +@@ -46,9 +46,9 @@ LINK_DIRECTORIES(${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) + # Installation + + set(INSTALL_TARGETS_DEFAULT_ARGS +- RUNTIME DESTINATION bin +- LIBRARY DESTINATION lib +- ARCHIVE DESTINATION lib ++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + ) + + find_package(octomap REQUIRED diff --git a/sci-libs/octomap/files/octomap-1.10.0-filter_flags.patch b/sci-libs/octomap/files/octomap-1.10.0-filter_flags.patch new file mode 100644 index 000000000000..7358009c0766 --- /dev/null +++ b/sci-libs/octomap/files/octomap-1.10.0-filter_flags.patch @@ -0,0 +1,16 @@ +delete -Werror and -O3 +diff --git a/octomap/CMakeModules/CompilerSettings.cmake b/octomap/CMakeModules/CompilerSettings.cmake +index bae0cc4..a4920fd 100644 +--- a/octomap/CMakeModules/CompilerSettings.cmake ++++ b/octomap/CMakeModules/CompilerSettings.cmake +@@ -10,8 +10,8 @@ MESSAGE (STATUS "${PROJECT_NAME} building as ${CMAKE_BUILD_TYPE}") + # COMPILER FLAGS + IF (CMAKE_COMPILER_IS_GNUCC) + SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-error ") +- SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -Wpedantic") +- SET (CMAKE_CXX_FLAGS_RELEASE "-O3 -funroll-loops -DNDEBUG") ++ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic") ++ SET (CMAKE_CXX_FLAGS_RELEASE "-funroll-loops -DNDEBUG") + SET (CMAKE_CXX_FLAGS_DEBUG "-O0 -g") + # Shared object compilation under 64bit (vtable) + ADD_DEFINITIONS(-fPIC) diff --git a/sci-libs/octomap/files/octomap-1.10.0-pkgconf_libqglviewer.patch b/sci-libs/octomap/files/octomap-1.10.0-pkgconf_libqglviewer.patch new file mode 100644 index 000000000000..70817fb3d1ed --- /dev/null +++ b/sci-libs/octomap/files/octomap-1.10.0-pkgconf_libqglviewer.patch @@ -0,0 +1,32 @@ +Prefer pkgconfig for QGLViewer, easier than findcmake file and it avoids call of 3rd library +diff --git a/octovis/CMakeLists.txt b/octovis/CMakeLists.txt +index 84fa367..bc54f36 100644 +--- a/octovis/CMakeLists.txt ++++ b/octovis/CMakeLists.txt +@@ -77,7 +77,8 @@ endif(NOT OCTOVIS_QT5) + IF (OpenGL-NOTFOUND OR Qt4-NOTFOUND) + MESSAGE ( "OpenGL and QT4 are required for octovis but could not be found.") + ELSE() +- FIND_PACKAGE(QGLViewer) ++ FIND_PACKAGE(PkgConfig REQUIRED) ++ pkg_check_modules(QGLViewer libQGLViewer) + IF(QGLViewer_FOUND) + SET( BUILD_VIEWER 1) + ELSE() +diff --git a/octovis/CMakeLists_src.txt b/octovis/CMakeLists_src.txt +index 35bc1f2..85fd61a 100644 +--- a/octovis/CMakeLists_src.txt ++++ b/octovis/CMakeLists_src.txt +@@ -57,11 +57,8 @@ else(OCTOVIS_QT5) + QT4_ADD_RESOURCES(viewer_RES src/icons.qrc) + endif(OCTOVIS_QT5) + +-#found QGLViewer lib dir +-link_directories(${QGLViewer_LIBRARY_DIR}) +- + INCLUDE_DIRECTORIES( +- ${QGLViewer_INCLUDE_DIR} ++ ${QGLViewer_INCLUDE_DIRS} + ) + + SET(viewer_MOC_HDRS diff --git a/sci-libs/octomap/files/octomap-1.10.0-qt5_qt6.patch b/sci-libs/octomap/files/octomap-1.10.0-qt5_qt6.patch new file mode 100644 index 000000000000..7c6b871679aa --- /dev/null +++ b/sci-libs/octomap/files/octomap-1.10.0-qt5_qt6.patch @@ -0,0 +1,143 @@ +https://github.com/OctoMap/octomap/pull/433.patch +switch qt4/qt5 to qt5/qt6 +qt6 just works as is +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f1eb31f3..6a4db7eb 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -6,7 +6,7 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON) # enables -fPIC in applicable compilers + + option(BUILD_OCTOVIS_SUBPROJECT "Build targets from subproject octovis" ON) + option(BUILD_DYNAMICETD3D_SUBPROJECT "Build targets from subproject dynamicEDT3D" ON) +-option(OCTOVIS_QT5 "Link Octovis against Qt5?" ON) ++option(OCTOVIS_QT6 "Link Octovis against Qt6?" ON) + + set(CMAKE_CXX_STANDARD 11) + +diff --git a/octovis/CMakeLists.txt b/octovis/CMakeLists.txt +index 84fa3675..e6dd604c 100644 +--- a/octovis/CMakeLists.txt ++++ b/octovis/CMakeLists.txt +@@ -65,17 +65,14 @@ set(INSTALL_TARGETS_DEFAULT_ARGS + # libQGLViewer, if dependencies available + SET( BUILD_VIEWER 0) + +-option(OCTOVIS_QT5 "Link Octovis against Qt5?" ON) ++option(OCTOVIS_QT6 "Link Octovis against Qt6?" ON) + + # Look for required libraries: + set(OpenGL_GL_PREFERENCE LEGACY) + FIND_PACKAGE(OpenGL) +-if(NOT OCTOVIS_QT5) +- FIND_PACKAGE(Qt4) +-endif(NOT OCTOVIS_QT5) + +-IF (OpenGL-NOTFOUND OR Qt4-NOTFOUND) +- MESSAGE ( "OpenGL and QT4 are required for octovis but could not be found.") ++IF (OpenGL-NOTFOUND) ++ MESSAGE ( "OpenGL is required for octovis but could not be found.") + ELSE() + FIND_PACKAGE(QGLViewer) + IF(QGLViewer_FOUND) +diff --git a/octovis/CMakeLists_src.txt b/octovis/CMakeLists_src.txt +index 35bc1f20..6eaa31ad 100644 +--- a/octovis/CMakeLists_src.txt ++++ b/octovis/CMakeLists_src.txt +@@ -1,5 +1,8 @@ + +-if(OCTOVIS_QT5) ++if(OCTOVIS_QT6) ++ find_package(Qt6 REQUIRED COMPONENTS Core Gui OpenGLWidgets Widgets Xml) ++ set(QT_LIBRARIES Qt6::Core Qt6::Gui Qt6::OpenGLWidgets Qt6::Widgets Qt6::Xml "${OPENGL_gl_LIBRARY}" "${OPENGL_glu_LIBRARY}") ++else(OCTOVIS_QT6) + find_package(Qt5Core REQUIRED) + find_package(Qt5Gui REQUIRED) + find_package(Qt5OpenGL REQUIRED) +@@ -13,14 +16,7 @@ if(OCTOVIS_QT5) + "${Qt5Widgets_INCLUDE_DIRS}" + "${Qt5Xml_INCLUDE_DIRS}" + ) +-else(OCTOVIS_QT5) +- # Qt4-support (more info: http://qtnode.net/wiki?title=Qt_with_cmake) +- find_package(Qt4 REQUIRED) +- set(QT_USE_QTOPENGL TRUE) +- set(QT_USE_QTXML TRUE) +- # include the files enabled above +- include(${QT_USE_FILE}) +-endif(OCTOVIS_QT5) ++endif(OCTOVIS_QT6) + + # Mac OS X seems to require special linker flags: + IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") +@@ -51,11 +47,11 @@ set(viewer_SRCS + ) + + # Resource files (icons, ...) +-if(OCTOVIS_QT5) ++if(OCTOVIS_QT6) ++ QT6_ADD_RESOURCES(viewer_RES src/icons.qrc) ++else(OCTOVIS_QT6) + QT5_ADD_RESOURCES(viewer_RES src/icons.qrc) +-else(OCTOVIS_QT5) +- QT4_ADD_RESOURCES(viewer_RES src/icons.qrc) +-endif(OCTOVIS_QT5) ++endif(OCTOVIS_QT6) + + #found QGLViewer lib dir + link_directories(${QGLViewer_LIBRARY_DIR}) +@@ -74,11 +70,11 @@ SET(viewer_MOC_HDRS + ) + + # generate list of MOC srcs: +-if(OCTOVIS_QT5) ++if(OCTOVIS_QT6) ++ QT6_WRAP_CPP(viewer_MOC_SRCS ${viewer_MOC_HDRS}) ++else(OCTOVIS_QT6) + QT5_WRAP_CPP(viewer_MOC_SRCS ${viewer_MOC_HDRS}) +-else(OCTOVIS_QT5) +- QT4_WRAP_CPP(viewer_MOC_SRCS ${viewer_MOC_HDRS}) +-endif(OCTOVIS_QT5) ++endif(OCTOVIS_QT6) + + # let cmake generate ui*.h files from .ui files (Qt Designer): + SET(viewer_UIS +@@ -87,11 +83,11 @@ SET(viewer_UIS + ${PROJECT_SOURCE_DIR}/include/octovis/ViewerSettingsPanel.ui + ${PROJECT_SOURCE_DIR}/include/octovis/ViewerSettingsPanelCamera.ui + ) +-if(OCTOVIS_QT5) ++if(OCTOVIS_QT6) ++ QT6_WRAP_UI(viewer_UIS_H ${viewer_UIS}) ++else(OCTOVIS_QT6) + QT5_WRAP_UI(viewer_UIS_H ${viewer_UIS}) +-else(OCTOVIS_QT5) +- QT4_WRAP_UI(viewer_UIS_H ${viewer_UIS}) +-endif(OCTOVIS_QT5) ++endif(OCTOVIS_QT6) + + # Don't forget to include output directory, otherwise + # the UI file won't be wrapped! +@@ -101,6 +97,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR}) + # Library target + add_library(octovis-static STATIC ${viewerlib_SRCS}) + target_link_libraries(octovis-static ++ ${QT_LIBRARIES} + ${OPENGL_gl_LIBRARY} + ${OPENGL_glu_LIBRARY} + ${OCTOMAP_LIBRARIES} +@@ -110,6 +107,7 @@ set_target_properties(octovis-static PROPERTIES OUTPUT_NAME octovis) + + add_library(octovis-shared SHARED ${viewerlib_SRCS}) + target_link_libraries(octovis-shared ++ ${QT_LIBRARIES} + ${OPENGL_gl_LIBRARY} + ${OPENGL_glu_LIBRARY} + ${OCTOMAP_LIBRARIES} +@@ -135,7 +133,6 @@ add_executable(octovis ${viewer_SRCS} ${viewer_UIS_H} ${viewer_MOC_SRCS} ${viewe + + target_link_libraries(octovis + # ${QGLViewer_LIBRARIES} +- ${QT_LIBRARIES} + ${OCTOMAP_LIBRARIES} + octovis-shared + ) diff --git a/sci-libs/octomap/octomap-1.10.0.ebuild b/sci-libs/octomap/octomap-1.10.0.ebuild new file mode 100644 index 000000000000..6fb6dba3d556 --- /dev/null +++ b/sci-libs/octomap/octomap-1.10.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Efficient Probabilistic 3D Mapping Framework Based on Octrees" +HOMEPAGE="https://octomap.github.io/" +SRC_URI="https://github.com/OctoMap/octomap/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD qt6? ( GPL-2 )" +SLOT="0/1.10" +KEYWORDS="~amd64 ~arm" +IUSE="doc dynamicEDT3D qt6" + +RDEPEND=" + qt6? ( + dev-qt/qtbase:6[gui,widgets,xml] + >=x11-libs/libQGLViewer-2.9.1 + virtual/glu + virtual/opengl + ) +" +DEPEND="${RDEPEND}" +BDEPEND="doc? ( app-text/doxygen[dot] )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.10.0-cmake_bump.patch + "${FILESDIR}"/${PN}-1.10.0-destdir_edt3d.patch + "${FILESDIR}"/${PN}-1.10.0-filter_flags.patch + "${FILESDIR}"/${PN}-1.10.0-pkgconf_libqglviewer.patch + "${FILESDIR}"/${PN}-1.10.0-qt5_qt6.patch +) + +src_prepare() { + if use doc; then + doxygen -u octomap/octomap.dox.in 2>/dev/null || die + doxygen -u dynamicEDT3D/dynamicEDT3D.dox 2>/dev/null || die + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_DYNAMICETD3D_SUBPROJECT=$(usex dynamicEDT3D) + -DBUILD_OCTOVIS_SUBPROJECT=$(usex qt6) + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + if use doc; then + cmake_build docs + use dynamicEDT3D && cmake_build docs_dynamicEDT3D + # remove doxygen working files + find "${S}" \( \ + -iname '*.map' -o \ + -iname '*.md5' \ + \) -delete || die + fi +} + +src_test() { + local -x LD_LIBRARY_PATH="${S}/lib" + cmake_src_test +} + +src_install() { + if use doc; then + # use docinto to preserve one subdirectory by project in html dir + docinto html/octomap + dodoc -r octomap/doc/html/. + if use dynamicEDT3D; then + docinto html/dynamicEDT3D + dodoc -r dynamicEDT3D/doc/html/. + fi + fi + + cmake_src_install + + # dir with empty files + rm -r "${ED}"/usr/share/ament_index || die + + find "${ED}" -name '*.a' -delete || die +} diff --git a/sci-libs/pyshp/Manifest b/sci-libs/pyshp/Manifest index cd8a593a9c8d..e0770015b4a2 100644 --- a/sci-libs/pyshp/Manifest +++ b/sci-libs/pyshp/Manifest @@ -1,3 +1,4 @@ DIST pyshp-2.3.1..gh.tar.gz 2213685 BLAKE2B ca5b87dec442508bc4a0612982984ba0fb91aa8acffddb6a448c43ccf42285305600a5e28e1fb781a3d94e8ce0624d027642fddcc5f2176dca3df095e59df170 SHA512 08844492b8d1d824c639844f7f314909d946bd4d3703a4f8d4cb64d400729671b42ff5b0f80aa68d9469f3939a3c7619ba13c9efdcba3b244ec01d7be3a371c5 EBUILD pyshp-2.3.1-r2.ebuild 766 BLAKE2B c14fa6ee82cb0649abb28ffacc950263e10e16e42a0ee32096938eb3169fd1ebe55383fc6a3b8304d26a14d4d3602d6b1b494a7c6cd3648b2f1b1dea822f723f SHA512 1eae298a56f3c3c1f01e30e3dfc6860b1b461a73a33af8c2b5e2696576a4cbcbfed271e406cab0608777bb834af0814fd0af6ac1bbe63ab61536d53f09df1db5 +EBUILD pyshp-2.3.1-r3.ebuild 766 BLAKE2B 3d29103b2fe018413f5f63e4c99c31a2a0b8096a795f32bd82c9764be9793edfd55a9acdb7e75ac912630e6d4242e8af695bc09a65ef2433836208885ea4d08b SHA512 8a8ac38381bcba97d2aab61f2eca8d989c3e0bd418ec77e8fade0cf89713e0e764c170ee0a97eeaa66f899a62a026099d8e0af8574b2eb5cb310d0d6b2c5e708 MISC metadata.xml 392 BLAKE2B d0502636f7a083b4eca21dd9c9cb2604d96ec91616c88566f42687e53be965090683984d3289ae332c94309e89b25f39a12b601467abec718365d53f423fe21d SHA512 b3914985e7b8857a7f0841d4e987746f64a571a83ed3a237621c048e073c1f5a77512c40011ee1808c3ffadff08c03adc53ffe767e8a5f35c628882df779b771 diff --git a/sci-libs/pyshp/pyshp-2.3.1-r3.ebuild b/sci-libs/pyshp/pyshp-2.3.1-r3.ebuild new file mode 100644 index 000000000000..7ca1a4c4a3ea --- /dev/null +++ b/sci-libs/pyshp/pyshp-2.3.1-r3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PYTHON_COMPAT=( python3_{9..13} ) + +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Pure Python read/write support for ESRI Shapefile format" +HOMEPAGE="https://pypi.org/project/pyshp/" +# pypi tarballs are missing test data +#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/GeospatialPython/${PN}/archive/${PV}.tar.gz -> ${P}..gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + epytest test_shapefile.py -m "not network" || die +} |