commit: c2ddba9d66baeeadc92796451033aed26e1dd25a Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Sat Feb 1 09:53:09 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 19 11:10:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ddba9d
sci-astronomy/scamp: add 2.13.1 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/40405 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-astronomy/scamp/Manifest | 1 + sci-astronomy/scamp/scamp-2.13.1.ebuild | 50 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/sci-astronomy/scamp/Manifest b/sci-astronomy/scamp/Manifest index 23636d9de1a3..dd6f2e72f5e1 100644 --- a/sci-astronomy/scamp/Manifest +++ b/sci-astronomy/scamp/Manifest @@ -1 +1,2 @@ DIST scamp-2.10.0.tar.gz 56354286 BLAKE2B b31d292413160f85f8086d848d81f36adde3bc560c737adfe77245d23eb6eab19e5f73a343669b462453542a140d89fb3d12b5d6a481949205722c6e2f5234cd SHA512 7c7a4ab167a3c03b7fd862f39ccd9368d6ac31270a86b336f1ee2a52f8e4324e29e6324047416159c0b73bb54b05f12b7b70c2de3cb4197999cb848fc5ce4c0d +DIST scamp-2.13.1.tar.gz 56345223 BLAKE2B 0f9c5693c22175ec9706eae8117a00acc24684fa389084b13772c3dff46ad10a1a9a43c1bad0fd05619e323dfa461a7e23c14a597d68fa7f488c6eb33a3536b6 SHA512 d5d28a2ba1c0ce20f6011ae757804e82fb30b666f3c34a9a6307653f7477f848d507be4df437c219427894680815c142b8653e74a5a64497dc7919d16d126a49 diff --git a/sci-astronomy/scamp/scamp-2.13.1.ebuild b/sci-astronomy/scamp/scamp-2.13.1.ebuild new file mode 100644 index 000000000000..13b2f01fe1a0 --- /dev/null +++ b/sci-astronomy/scamp/scamp-2.13.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Astrometric and photometric solutions for astronomical images" +HOMEPAGE="http://www.astromatic.net/software/scamp https://github.com/astromatic/scamp" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/astromatic/${PN}.git" +else + SRC_URI="https://github.com/astromatic/scamp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="plplot threads" + +RDEPEND=" + sci-astronomy/cdsclient + sci-libs/atlas[lapack,threads=] + sci-libs/fftw:3.0 + plplot? ( sci-libs/plplot:= )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2.10.0-spread_bits64.patch" +) + +src_prepare() { + default + + sed -e "s/lapack_atlas/atlclapack/g" -i m4/acx_atlas.m4 || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --with-atlas-incdir="${EPREFIX}/usr/include/atlas" + $(use_enable plplot) + $(use_enable threads) + ) + + econf "${myeconfargs[@]}" +}
