1
0
Fork 0

sci-libs/simpleitk: trying out python-r1 and more suited phase

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2021-05-06 10:27:12 -04:00
parent c4bd5412c8
commit de9ddf48dc
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
2 changed files with 31 additions and 10 deletions

View File

@ -1,3 +1,6 @@
06 May 2021; <chymera@gentoo.org> simpleitk-1.2.4.ebuild:
sci-libs/simpleitk: trying out python-r1 and more suited phase
*simpleitk-1.2.4 (06 May 2021)
06 May 2021; <chymera@gentoo.org> +files/simpleitk-1.2.4-int-cast.patch,

View File

@ -74,7 +74,9 @@ src_configure() {
# -DUSE_SYSTEM_LUA=ON
# -DUSE_SYSTEM_SWIG=ON
src_install() {
src_compile() {
#default
cmake_src_compile
pwd
ls -lah
echo "${BUILD_DIR}"
@ -83,14 +85,30 @@ src_install() {
pwd
echo "Doing "python Packaging/setup.py install" here"
#1
#python Packaging/setup.py install || die
cd Packaging || die
esetup.py install || die
python Packaging/setup.py install || die
#2
#cd Packaging || die
#esetup.py install || die
popd > /dev/null || die
#pushd ../${P}_build/Wrapping/Python > /dev/null || die
# python Packaging/setup.py install
#popd > /dev/null || die
}
#src_install() {
# pwd
# ls -lah
#die
}
# echo "${BUILD_DIR}"
# cd "../${P}_build" || die
# pushd Wrapping/Python > /dev/null || die
# pwd
# echo "Doing "python Packaging/setup.py install" here"
# #1
# #python Packaging/setup.py install || die
# cd Packaging || die
# esetup.py install || die
# popd > /dev/null || die
# #pushd ../${P}_build/Wrapping/Python > /dev/null || die
# # python Packaging/setup.py install
# #popd > /dev/null || die
# #pwd
# #ls -lah
# #die
#}