diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 44022 -> 44012 bytes | |||
-rw-r--r-- | sci-libs/cfitsio/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/cfitsio/cfitsio-4.4.0.ebuild | 77 | ||||
-rw-r--r-- | sci-libs/cfitsio/metadata.xml | 5 |
4 files changed, 85 insertions, 1 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex 6508ad88c14e..a4c4915fc3fb 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/cfitsio/Manifest b/sci-libs/cfitsio/Manifest index 8058fd9b6e70..895b6d0b0c30 100644 --- a/sci-libs/cfitsio/Manifest +++ b/sci-libs/cfitsio/Manifest @@ -11,9 +11,11 @@ DIST cfitsio-3.49.tar.gz 4934662 BLAKE2B ca8b701f0fec399d989efb61fdaa2bfbf49d0ee DIST cfitsio-4.0.0.tar.gz 4746177 BLAKE2B a43a21d29522cac84294e81ad5f0a45839c21c2fafcbde42504670e73757a41ebd91e42d086529df8139ce920446332f827b1abf027f8932ee73dd025103cd8e SHA512 a5b20bd6ad648450e99167f63813cc7523347aadfc9f85d2c0ed3ba7e4516b3bb6bc0851f209268f2cb045cdacc43a3da9e4506af4581f806ab9f4de248065fa DIST cfitsio-4.1.0.tar.gz 4305184 BLAKE2B 1edfce2b44ab990ed834b22dfc734af632f8f1401b6616f0c4322a3c40117123e52ba191610a3393c077f4a5fccd7462bcb4749e715cf2e9abae08edb1f1f8eb SHA512 bbbe10e890e74a30a9806dd2bbf711b3b1f15502b210b222d2d57cc083495c3b66b44927e4680f989045187fb7075f7187e2805ddcb4753ce53c68c3442cc813 DIST cfitsio-4.2.0.tar.gz 4356372 BLAKE2B 7f5e695a56105866b2457e0f1c2d74bfb2aa86bc53e4eeb39aa9b8e79b278e1184a610422bf43c341a9f3159a93b980bab1ec9084475189b08dfa080b59ec2af SHA512 41b51653370874f50a7a9fe7d5f61577a979ab9d146b8249afa407d3858cb4dce0581eba23093972b66f7d1042b9693b98ad9130ec67b3b44e94005e72d60853 +DIST cfitsio-4.4.0.tar.gz 4278372 BLAKE2B 883a88b08ecddb756a479c361fd0dc4741cffd9b82f311d3cde3f4bede2ac3cb68c8597a5d1cc1350f14b2b145a628fa0ec90754284c0cd4ec1472cb370af01e SHA512 9358b1ed94fdc456cf8c0ddcb346c08f6bc97ee862c31366f3fae2d1be8d5278ffc79da01e41ceebf67ebc831f58bce3551e087c883bbf6b396133110d74b076 EBUILD cfitsio-3.490.ebuild 1700 BLAKE2B 1993e129785b1191a2fb8c43ccc552b2518b60fbdc6c227fee00c73d938e4608115e077711716c23bd28027e25e04636dae0049d93a2d6773712627fceaa8036 SHA512 5634f5ff6641ccd92edcec1849bdc2fb975471cdab50debebaeccab52fda9814ef61588ad5083a2306a93db7d830045f288094cc245f87d40fb333fc67ec1255 EBUILD cfitsio-4.0.0.ebuild 1659 BLAKE2B e8c509d9090f2272c0a1545f5f2c301935df0d030ef85cce53c0606b7c0046a3c0fe50e725035cd7107318f645abb6ea6415985e58439bd1ed76f347f1fa3fa0 SHA512 cc578475a999b25decaedff27de330270b2eb1b50085de7e85738b517e8fe51a949e3985e7af9de3163b76b1bf817d997def846dd6be991ba04085b7f18b50ac EBUILD cfitsio-4.1.0-r1.ebuild 1879 BLAKE2B 7c48140997a05908921ce35c4c4a9233928a44de433a61d02eb93839e913832bd373eabe094539a3091c137498df4ffb1fa7b6a392560c5551f89475905f0982 SHA512 00f9c639087c62cd052f7ea4890f95c8cee324c821abc3d7c8b701a0c2662c071389f49542d4288d538101d535622dd5d84a773835c9389cc39f83fd16cfe3bd EBUILD cfitsio-4.1.0.ebuild 1814 BLAKE2B 76968a8950f95ed2bf537491572a0f8d5dd8a5bc5babf2e2006f99c8d6014009e599101534f936ca5a6a9819fcf2da7dd429a2bc21e5e63c9e5057dfccde352a SHA512 cfdfa3021f4ea8802bf538370b41246f0bba1fef26476dd66d189996dcf6a3337b9a0d250aa46edffb6b7e1f8ac104c88edd0f9591e00dff7e62f71345feada2 EBUILD cfitsio-4.2.0.ebuild 1877 BLAKE2B 3b541f0d4930b42d8ece6acdaa1be4e7c1443f84800b7642ff6dbb9f15125122f7ede4c07034e508d80fce187797faaac4ca370a19ecc99cc91cd37a15e6a485 SHA512 f5694ab2d6666d622427055987d635ec7063ddba754332cc0527a0aaacd6dda0359554ec13d08760f73508e9606fd517d93a571686748bf518cedcbfbb553ba5 -MISC metadata.xml 883 BLAKE2B dca8a38862dcc5f445f40fc77f6979d1d1edcb902af811ce84ba8d41b5e704cdcd5e516b888cd53f6458c09beea06b339cf0c4148471a4fa9f1664ba76c2d2c6 SHA512 ca554514c74c3e96434243e40697f70328715c80e856916b90a3f514337b921968428bb368799322872bf9d32eef3e77f150f79a422a9aaf95a228edff9fc38b +EBUILD cfitsio-4.4.0.ebuild 1836 BLAKE2B 0ec49e9cc08b6179ee846e227b210d3d776fa2f2c551c6ca6658ac43ed503c6afcf8234916da4a51cb92cf1d5221959ad2b132159408049f5e262757b58afe05 SHA512 6bc6c8f1248271cf5754b9354bb8d76a2776fd963aac033c477b8a7be6c900d072f00117091eb9f55a8d7c52ef28500602adb65165d4818d026f7615e8f991f1 +MISC metadata.xml 1032 BLAKE2B 4479a1c6a42796e7effcc1b53ecc30d11e7302140cee2a34f7deaa1270497d0b0add85ddf1ce38223b357a9cac5f11af9039246f41228aca7d73653fd58a0fcf SHA512 ad32ecfbeceae8d768e9fa63386bdf89887d36ca18a68a72965b4f9206d779a26ece545d618540538246be5307c066e823ce55117208533cd9e668a6010222df diff --git a/sci-libs/cfitsio/cfitsio-4.4.0.ebuild b/sci-libs/cfitsio/cfitsio-4.4.0.ebuild new file mode 100644 index 000000000000..a27f43704cab --- /dev/null +++ b/sci-libs/cfitsio/cfitsio-4.4.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib fortran-2 + +DESCRIPTION="C and Fortran library for manipulating FITS files" +HOMEPAGE="https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" +SRC_URI="https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/10" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="bzip2 curl test threads tools cpu_flags_x86_sse2 cpu_flags_x86_ssse3" +RESTRICT="!test? ( test )" + +BDEPEND=" + app-alternatives/yacc + app-alternatives/lex +" +RDEPEND=" + sys-libs/zlib[${MULTILIB_USEDEP}] + bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) + curl? ( net-misc/curl[${MULTILIB_USEDEP}] ) +" +# Bug #803350 +DEPEND=" + ${RDEPEND} + <dev-lang/cfortran-20110621 +" + +pkg_setup() { + fortran-2_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + if ! grep -q 'CFITSIO_SONAME,10' configure.in; then + die "Update subslot!" + fi + + # fix libdir & sync SONAME to configure.in + sed -e 's:lib/:${CMAKE_INSTALL_LIBDIR}/:' \ + -e "/SOVERSION/s:VERSION :VERSION ${SLOT#0/}.:" \ + -e "s:SOVERSION :SOVERSION ${SLOT#0/}.:" \ + -i CMakeLists.txt || die + + # Avoid internal cfortran + rm cfortran.h || die +} + +multilib_src_configure() { + local libdir=$(get_libdir) + local mycmakeargs=( + # used for .pc file + -DLIB_SUFFIX=${libdir#lib} + + -DUSE_BZIP2=$(usex bzip2) + -DUSE_CURL=$(usex curl) + -DUSE_PTHREADS=$(usex threads) + -DUSE_SSE2=$(usex cpu_flags_x86_sse2) + -DUSE_SSSE3=$(usex cpu_flags_x86_ssse3) + + -DTESTS=$(usex test) + -DUTILS=$(multilib_native_usex tools) + ) + cmake_src_configure +} + +multilib_src_install_all() { + dodoc README.md docs/changes.txt docs/*.pdf + + docinto examples + dodoc utilities/{cookbook.{c,f},testprog.c,testf77.f,speed.c,smem.c} +} diff --git a/sci-libs/cfitsio/metadata.xml b/sci-libs/cfitsio/metadata.xml index c351d03c77d4..2f1ccc9b9b99 100644 --- a/sci-libs/cfitsio/metadata.xml +++ b/sci-libs/cfitsio/metadata.xml @@ -5,6 +5,11 @@ <email>sci-astronomy@gentoo.org</email> <name>Gentoo Astronomy Project</name> </maintainer> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + <!-- for dev-python/fitsio --> + </maintainer> <use> <flag name="tools"> Build optional utilities (cookbook fitscopy imcopy smem speed testprog fpack funpack) |