1
0
mirror of synced 2024-12-23 05:10:24 +01:00

Merge branch 'master' of github.com:TheChymera/overlay

This commit is contained in:
Horea Christian 2022-02-08 23:28:55 -05:00
commit 4de915fa70
3 changed files with 83 additions and 3 deletions

View File

@ -1,4 +1,6 @@
DIST SimpleITK-1.2.4.tar.gz 1894019 SHA256 1d67ed4324fee0d7341a027de865bf915a34dfa82e2863d89037e2f2865f7559 SHA512 49395b284fa03cc75dbd68f7f63008ea5d03a0771f0144f2d6d62ae034d66c93a14e262b48b12b6f0e6beb3d42d6f60022f502da02d2e87c6e47bd5d38637025 WHIRLPOOL 8d50fcc2b2bd5d300d439c7ee34ecf4ce47bf16e2418ad83fc21a1692b128b8933ac0660d10a348da2e02d8338351af5d6a6e0629f3e7c17d723a3655c05e24b DIST SimpleITK-1.2.4.tar.gz 1894019 SHA256 1d67ed4324fee0d7341a027de865bf915a34dfa82e2863d89037e2f2865f7559 SHA512 49395b284fa03cc75dbd68f7f63008ea5d03a0771f0144f2d6d62ae034d66c93a14e262b48b12b6f0e6beb3d42d6f60022f502da02d2e87c6e47bd5d38637025 WHIRLPOOL 8d50fcc2b2bd5d300d439c7ee34ecf4ce47bf16e2418ad83fc21a1692b128b8933ac0660d10a348da2e02d8338351af5d6a6e0629f3e7c17d723a3655c05e24b
DIST SimpleITK-2.0.0.tar.gz 1904162 SHA256 88e3873e9fc347ca7f2f8af4710d5402fbfef5989cf039abcce9b7a7e395bdb8 SHA512 353fc834ce2e2626370a176217d5be7b08060abaf16bac47060f806ee0ffdf136c1fa241f2ffd2c19b28d69a8ab692e0086a62a3785b40867eb5f95c94e90a41 WHIRLPOOL 474072b4d01a425d6e5ac9b20d3c7994792e512984b89b82dafe192be93759662bdbe27d52e2734cf8d1e6a88e2361d73eca1bfd378c9682d36df0181fb7dd69 DIST SimpleITK-2.0.0.tar.gz 1904162 SHA256 88e3873e9fc347ca7f2f8af4710d5402fbfef5989cf039abcce9b7a7e395bdb8 SHA512 353fc834ce2e2626370a176217d5be7b08060abaf16bac47060f806ee0ffdf136c1fa241f2ffd2c19b28d69a8ab692e0086a62a3785b40867eb5f95c94e90a41 WHIRLPOOL 474072b4d01a425d6e5ac9b20d3c7994792e512984b89b82dafe192be93759662bdbe27d52e2734cf8d1e6a88e2361d73eca1bfd378c9682d36df0181fb7dd69
DIST SimpleITK-2.1.1.tar.gz 1930735 SHA256 9edc56b81a9f295081da2f6cafce4f7f5f3b4cfc6b8cb33365e68b581daea1d2 SHA512 af8f82f10a8914063ecbd5b6bad4a0487d45a3bf50fcc146ce68ba59a2dddc2a1553b2fbad303583af49a2439dbcf62500f33d468409e30a8fa4d466ce1ce953 WHIRLPOOL 871bfb260a74365c4303b6b62135509e868beead2357f0dc986bd528192705bdffc7bad0df5d2fede9908e70fc9fb316172b663d34ccae9aca007e290f47c9ea
DIST SimpleITKData-1.2.4.tar.gz 112145576 SHA256 39901fd25bd676648a8cfd9ef7b1bd351583af92e8cfcc69ca83b4b627abb3b1 SHA512 1dd73d5bfeba0a7d72088dc2c966db764f5d7deb173bea17a9f6c5a9fae849ddc781b9fbf9b25ab898742268de4ca0dc5a64f72e985e3c72d4d95c7e5e79e92f WHIRLPOOL f7fae995477b88bb743560f25aec45bc83a155206fddde8abe4215d52eca098c7fa4ad9e529bdeb145c5f8b37a5c14777d211727bc5733fcc0bae8c135746ce0 DIST SimpleITKData-1.2.4.tar.gz 112145576 SHA256 39901fd25bd676648a8cfd9ef7b1bd351583af92e8cfcc69ca83b4b627abb3b1 SHA512 1dd73d5bfeba0a7d72088dc2c966db764f5d7deb173bea17a9f6c5a9fae849ddc781b9fbf9b25ab898742268de4ca0dc5a64f72e985e3c72d4d95c7e5e79e92f WHIRLPOOL f7fae995477b88bb743560f25aec45bc83a155206fddde8abe4215d52eca098c7fa4ad9e529bdeb145c5f8b37a5c14777d211727bc5733fcc0bae8c135746ce0
DIST SimpleITKData-2.0.0.tar.gz 84658864 SHA256 68ecd540ef08600d1dbc64647cebcbec1bd459819ade1b438eb704b0068b3787 SHA512 a5ef18e541463818bacf9f75d033cf1a4e2e67b40ae0a6e0f359a14739fa51be9b6c1e007a3a72c4c4ec878dfce98350ec576cb6312429f97055cd81a7f49236 WHIRLPOOL 7545db6c32b7a7b5c5e30c0e0c5ebb8803d0264f477ed27f1ae6ff5f2aafb5e9dbcf55602e1550096f309e79adc032b4d182061abb21bab95e2ed0cf219dbf36 DIST SimpleITKData-2.0.0.tar.gz 84658864 SHA256 68ecd540ef08600d1dbc64647cebcbec1bd459819ade1b438eb704b0068b3787 SHA512 a5ef18e541463818bacf9f75d033cf1a4e2e67b40ae0a6e0f359a14739fa51be9b6c1e007a3a72c4c4ec878dfce98350ec576cb6312429f97055cd81a7f49236 WHIRLPOOL 7545db6c32b7a7b5c5e30c0e0c5ebb8803d0264f477ed27f1ae6ff5f2aafb5e9dbcf55602e1550096f309e79adc032b4d182061abb21bab95e2ed0cf219dbf36
DIST SimpleITKData-2.1.1.tar.gz 86264737 SHA256 1af0f6022ad0496ac977774baa7113f14ba49e2413f1f7ff0099c81978efec66 SHA512 b24f619e92493f6b00828baffe14d1816ad61a5c73880d4f4810d9dcebd8a0d6cc80b761288d3b605293203f1cdc8c977c641a18629c9c8ec5b76329f4e3d1e4 WHIRLPOOL bc9876991d25bd8228bf8e53831a699c542a6c197d0363d107237bb608064d4d8546e44ae24a9aed7d735121bc2834f0d1351c8b1d5d0fe2d3e860ada25fec74

View File

@ -20,7 +20,8 @@ RESTRICT="primaryuri"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" # still working on 1.2.4 draft
KEYWORDS=""
IUSE="python tcl" IUSE="python tcl"
REQUIRED_USE="${PYTHON_REQUIRED_USE}" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@ -37,8 +38,8 @@ RDEPEND="
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
PATCHES=( PATCHES=(
"${FILESDIR}/${P}-module.patch" #"${FILESDIR}/${PN}-1.2.4-module.patch"
"${FILESDIR}/${P}-int-cast.patch" #"${FILESDIR}/${PN}-1.2.4-int-cast.patch"
) )
S="${WORKDIR}/${MY_PN}-${PV}" S="${WORKDIR}/${MY_PN}-${PV}"

View File

@ -0,0 +1,77 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
LUA_COMPAT=( lua5-{1..3} )
inherit lua-single toolchain-funcs cmake python-single-r1
MY_PN="SimpleITK"
DESCRIPTION="Layer on top of ITK for rapid prototyping, education and interpreted languages."
HOMEPAGE="https://simpleitk.org/"
SRC_URI="
https://github.com/SimpleITK/SimpleITK/releases/download/v${PV}/SimpleITK-${PV}.tar.gz
https://github.com/SimpleITK/SimpleITK/releases/download/v${PV}/SimpleITKData-${PV}.tar.gz
"
RESTRICT="primaryuri"
LICENSE="Apache-2.0"
SLOT="0"
# still working on 1.2.4 draft
KEYWORDS=""
IUSE="python tcl"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPEND="dev-lang/swig"
RDEPEND="
${LUA_DEPS}
dev-cpp/gtest
tcl? ( dev-lang/tk )
sci-libs/itk
dev-python/virtualenv
python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-2.1.1-module.patch"
"${FILESDIR}/${PN}-2.1.1-int-cast.patch"
)
S="${WORKDIR}/${MY_PN}-${PV}"
src_prepare() {
cmake_src_prepare
cp -rf "../${MY_PN}-${PV}/.ExternalData" "${BUILD_DIR}/" || die
}
src_configure() {
local mycmakeargs=(
-DWRAP_DEFAULT:BOOL=OFF
-DWRAP_TCL:BOOL=$(usex tcl)
-DWRAP_PYTHON:BOOL=$(usex python)
-DBUILD_TESTING:BOOL=OFF
-DSimpleITK_FORBID_DOWNLOADS=ON
-DSimpleITK_PYTHON_USE_VIRTUALENV:BOOL=OFF
-DSimpleITK_EXPLICIT_INSTANTIATION=OFF
-DExternalData_OBJECT_STORES:STRING="${BUILD_DIR}/.ExternalData"
-DSimpleITK_INSTALL_LIBRARY_DIR=$(get_libdir)
-DSimpleITK_LUA_EXECUTABLE:PATH=/usr/bin/lua5.1
-DLUA_EXECUTABLE:PATH=/usr/bin/lua5.1
)
cmake_src_configure
}
# -DUSE_SYSTEM_VIRTUALENV=ON
# -DModule_SimpleITKFilters:BOOL=ON
# -DUSE_SYSTEM_GTEST=ON
# -DUSE_SYSTEM_ITK=ON
# -DUSE_SYSTEM_LUA=ON
# -DUSE_SYSTEM_SWIG=ON
#src_install() {
# die
#}