1
0
mirror of synced 2024-12-22 21:00:20 +01:00
Horea Christian 2019-04-05 03:09:41 +02:00
parent aac3519c37
commit 9c6f3e8a1c
6 changed files with 1 additions and 206 deletions

View File

@ -1,2 +1,2 @@
DIST pypubsub-3.4.0.tar.gz 169245 SHA256 641f03213491de9acd23ce69573fac7a03141c7eedd22d8cd62a70a564629000 SHA512 539e10ddd767a592487a318ec202051a9546a489ccb13cfe9f8016ce129b6428eee5e4fd191cdd513feb9d01886a60823ca1fd05cf96748d90fd2d0fb69b3e3a WHIRLPOOL 758edee90229f8a2ed2b8f397950f99dcf943276e37572736805ffb693454cd4f4f7f0978b8cfa4a21cba79e0f8185c9537fcf2699ca318d785207b44bd25a8d
DIST pypubsub-3.4.2.tar.gz 169226 SHA256 105b5779e836058d5deb788413f5a3a60958445d1795cf176b899a4dfbe9a0a7 SHA512 02b3b3e3bfd864606264dca8cb1730f6b2ef94552d888f777f1fc289ba5c39f87af584a7f44b50c34f15f9c89fd09c57c8ed78f2043981cf9e0f8af40d2b96b3 WHIRLPOOL 18c0689f31a063f5fe04f6efbbd718577d2cb0c54f55322fc12adcfdacda31ff394fe4455a1e1cc2584c662809d1199aa1a63a7fb84bb604a8639b13bc4a7a04
DIST pypubsub-4.0.3.tar.gz 174033 SHA256 0df83daa1cb0021bab858ff6812d836c9712dea59a5172be1888bb554c3a89a2 SHA512 cf9aca44e91a5d0e5ecf6739deabf2980f9464395c89e3c5335c5248e47c570701e0534bb660c5005325a994d9f8e7f261f36bc8bea74cfc7eb760b73c572652 WHIRLPOOL 706ddf8e86c432f6b7ebbae5a74547b2d54bbae1a04dcf238c96cc90800c2e44c2d35bc14e0e5efa0eb2594a6a2b4167428d28fc9cc72c598eb3e5254e0f3fd3

View File

@ -1,28 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="A Python publish-subcribe library"
HOMEPAGE="https://github.com/schollii/pypubsub/"
SRC_URI="https://github.com/schollii/pypubsub/archive/v${PV}rc1.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="3"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
RDEPEND="virtual/python-pathlib[${PYTHON_USEDEP}]"
python_test() {
distutils_install_for_testing
cd "tests/suite" || die
pytest -vv || die
}
S="${WORKDIR}/${PN}-${PV}rc1"

View File

@ -1,8 +0,0 @@
29 Mar 2019; <chymera@gentoo.org>
-files/0001-BUG-Wrap-TransformFileReader-TransformFileWriter.patch,
-files/0002-COMP-Fixed-itkQuasiNewtonOptimizerv4-wrapping-warnin.patch,
-files/0003-COMP-Fixed-itkGradientDescentOptimizerv4-wrapping-wa.patch,
-files/0004-COMP-Warp-OptimizerParameterScalesEstimatorTemplate.patch,
-files/0005-make-gdcm-helper-library-static.patch,
-files/nrrdio-linking.patch, itk-5.0_rc1.ebuild, metadata.xml:
sci-libs/itk: version bump 5.0 ahead of Gentoo Sci

View File

@ -1 +0,0 @@
DIST v5.0rc01.tar.gz 20944543 SHA256 fa6cd61bc39ccdc53808b9b0df5dd95d63a3c08be130e63ab0f4b77ca9594e46 SHA512 30e327708c7717bb2131911c86802c4104730d146b4263c68ae89384d3f01a6675b3abf5962af14cc7f40984cb1e8eedd911fe0f084a8deb4c79b4239b309728 WHIRLPOOL 6447eccbb17573233f750e3462dadd4c44c177613ca88520787579cc6e10ac523488e44dbf0f3e690a0cc009443b5adccdf62b588bdf6180dbda4a98b7d03cef

View File

@ -1,145 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit eutils toolchain-funcs cmake-utils python-single-r1
MY_PV="5.0rc01"
DESCRIPTION="NLM Insight Segmentation and Registration Toolkit"
HOMEPAGE="http://www.itk.org"
SRC_URI="https://github.com/InsightSoftwareConsortium/ITK/archive/v${MY_PV}.tar.gz"
RESTRICT="primaryuri"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="debug doc examples fftw python review test vtkglue"
RDEPEND="
dev-libs/double-conversion:0=
media-libs/openjpeg:2
media-libs/libpng:0=
media-libs/tiff:0=
sci-libs/dcmtk:0=
sci-libs/hdf5:0=[cxx]
sys-libs/zlib:0=
virtual/jpeg:0=
fftw? ( sci-libs/fftw:3.0= )
vtkglue? ( sci-libs/vtk:0=[python?] )
"
DEPEND="${RDEPEND}
python? (
${PYTHON_DEPS}
>=dev-lang/swig-2.0:0
>=dev-cpp/gccxml-0.9.0_pre20120309
)
doc? ( app-doc/doxygen )
"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
S="${WORKDIR}/ITK-${MY_PV}"
pkg_pretend() {
if [[ -z ${ITK_COMPUTER_MEMORY_SIZE} ]]; then
elog "To tune ITK to make the best use of working memory you can set"
elog " ITK_COMPUTER_MEMORY_SIZE=XX"
elog "in make.conf, default is 1 (unit is GB)"
fi
if use python && [[ -z ${ITK_WRAP_DIMS} ]]; then
elog "For Python language bindings, you can define the dimensions"
elog "you want to create bindings for by setting"
elog " ITK_WRAP_DIMS=X;Y;Z..."
elog "in make.conf, default is 2;3 for 2D and 3D data"
fi
}
src_prepare() {
sed -i -e "s/find_package(OpenJPEG 2.0.0/find_package(OpenJPEG/g"\
Modules/ThirdParty/GDCM/src/gdcm/CMakeLists.txt
default
}
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DITK_USE_SYSTEM_DCMTK=ON
-DGDCM_USE_SYSTEM_OPENJPEG=ON
-DITK_USE_SYSTEM_DOUBLECONVERSION=ON
-DITK_USE_SYSTEM_CASTXML=ON
-DITK_USE_SYSTEM_HDF5=ON
-DITK_USE_SYSTEM_JPEG=ON
-DITK_USE_SYSTEM_PNG=ON
-DITK_USE_SYSTEM_SWIG=ON
-DITK_USE_SYSTEM_TIFF=ON
-DITK_USE_SYSTEM_ZLIB=ON
-DITK_BUILD_DEFAULT_MODULES=ON
-DITK_COMPUTER_MEMORY_SIZE="${ITK_COMPUTER_MEMORY_SIZE:-1}"
-DWRAP_ITK_JAVA=OFF
-DWRAP_ITK_TCL=OFF
-Ddouble-conversion_INCLUDE_DIRS="${EPREFIX}/usr/include/double-conversion"
-DBUILD_TESTING="$(usex test)"
-DBUILD_EXAMPLES="$(usex examples)"
-DITK_USE_REVIEW="$(usex review)"
-DITK_INSTALL_LIBRARY_DIR=$(get_libdir)
)
if use fftw; then
mycmakeargs+=(
-DUSE_FFTWD=ON
-DUSE_FFTWF=ON
-DUSE_SYSTEM_FFTW=ON
-DITK_WRAP_double=ON
-DITK_WRAP_vector_double=ON
-DITK_WRAP_covariant_vector_double=ON
-DITK_WRAP_complex_double=ON
)
fi
if use vtkglue; then
mycmakeargs+=(
-DModule_ITKVtkGlue=ON
)
fi
if use python; then
mycmakeargs+=(
-DITK_WRAP_PYTHON=ON
-DITK_WRAP_DIMS="${ITK_WRAP_DIMS:-2;3}"
)
else
mycmakeargs+=(
-DITK_WRAP_PYTHON=OFF
)
fi
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
if use examples; then
insinto /usr/share/doc/${PF}/examples
docompress -x /usr/share/doc/${PF}/examples
doins -r "${S}"/Examples/*
fi
echo "ITK_DATA_ROOT=${EROOT%/}/usr/share/${PN}/data" > ${T}/40${PN}
local ldpath="${EROOT%/}/usr/$(get_libdir)/InsightToolkit"
if use python; then
echo "PYTHONPATH=${EROOT%/}/usr/$(get_libdir)/InsightToolkit/WrapITK/Python" >> "${T}"/40${PN}
ldpath="${ldpath}:${EROOT%/}/usr/$(get_libdir)/InsightToolkit/WrapITK/lib"
fi
echo "LDPATH=${ldpath}" >> "${T}"/40${PN}
doenvd "${T}"/40${PN}
if use doc; then
insinto /usr/share/doc/${PF}/api-docs
cd "${WORKDIR}"/html
rm *.md5 || die "Failed to remove superfluous hashes"
einfo "Installing API docs. This may take some time."
insinto /usr/share/doc/${PF}/api-docs
doins -r *
fi
}

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>maintainer-wanted@gentoo.org</email>
</maintainer>
<maintainer type="project">
<email>sci-biology@gentoo.org</email>
<name>Gentoo Biology Project</name>
</maintainer>
<longdescription lang="en">
Insight Segmentation and Registration Toolkit (ITK) is a library
that provides developers with an extensive suite of tools for image
analysis.
</longdescription>
<use>
<flag name="review">Enable compilation of methods under review</flag>
<flag name="vtkglue">PLEASE FIX MY DESCRIPTION</flag>
</use>
<upstream>
<remote-id type="sourceforge">itk</remote-id>
</upstream>
</pkgmetadata>