diff options
Diffstat (limited to 'dev-lang/crystal')
-rw-r--r-- | dev-lang/crystal/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/crystal/crystal-1.7.3.ebuild | 108 |
2 files changed, 0 insertions, 110 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest index 413a299fa9c8..8c7a61fd27fc 100644 --- a/dev-lang/crystal/Manifest +++ b/dev-lang/crystal/Manifest @@ -1,5 +1,3 @@ -DIST crystal-1.7.3-1-linux-x86_64.tar.gz 41098689 BLAKE2B 38ff4e7bf0c6aeb8364fb18ed877ee000ae51ac274fb55a0f8ac60637ad20ecb53a95e3e9304b228bd20c00f30be14aed4d19e7146998b73d908bf0c7e60bf95 SHA512 c2fbdc455c8555cb03409a8a6ec0de9d0376d7bd5ebaba97d14f6642f0cf0d90f09479e1d1a1a3a3e80c0d81393e2915e12201e1682cc1b84cc8e3b27386d88e -DIST crystal-1.7.3.tar.gz 3122395 BLAKE2B 5ccb18fe9d24f655d7210e99d81593d177063f8f9fb278ebdad6bb3c418684462178b754a9ed9d84423e8c3682eddf56360def4f2c29dde22eebfe34c503f499 SHA512 97efff14523207d5939a6fb92c648c0d1160d968a359b505e916ce438b71797539498a6b90da5bb9474d509a13b313622f6e3520523378342e099ad1e6d9c5a5 DIST crystal-1.8.2-1-linux-x86_64.tar.gz 46319920 BLAKE2B 3e95516e97718304cc686b7d5d2ddeee1d37da9e9a2f7e4baa36afe33d13d2f1856e51cd25b0c0f3c50c74fe948647bff20d9107619f7deea2e6689d6e0e873b SHA512 6e6413aa506a80dc1adbf745651aa9d8b39dfeea2e550b8bef7f1444c5e39e89c6e21e52e80f67ae24e0ce3a9944a9494a1818f112a518511a0fe144ae7b8de1 DIST crystal-1.8.2.tar.gz 3171583 BLAKE2B 0ac88384e0d5a04ad397d1756eec5505614fa53fa7bf9f9f2c4bf32796374c2ec5d0c2731e7c0eb0128bb93dd7cfb20b9ca7d1fedeb76bd2f429b87208672f2c SHA512 99135dabd7e63dc2dd2b55375115cd668168a2e2618a2c74808800b678bd962294850364c523225d1db043aca4bd24d2b85dd5949dbf1498647f7f45d32f7433 DIST crystal-1.9.0-1-linux-x86_64.tar.gz 46172258 BLAKE2B 6291d0106dc6965ad3366169c6dd1c234309a891f2ce03020c8eea21e8d7ba66d018f4947717fcb191c5a9a13a476a36bcab113853cf1373b9d4844ceb50c495 SHA512 082c6aed3bb6035c030b39b2a0be305c5243c207f97caffa1e92bb763648fd732243a2f36d4f972b079c8c88d59562d2a7bc03d52e6be044ab340faa7246f1a9 diff --git a/dev-lang/crystal/crystal-1.7.3.ebuild b/dev-lang/crystal/crystal-1.7.3.ebuild deleted file mode 100644 index ad8d1fd21905..000000000000 --- a/dev-lang/crystal/crystal-1.7.3.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -BV=${PV}-1 -BV_AMD64=${BV}-linux-x86_64 -LLVM_MAX_SLOT=14 - -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs - -DESCRIPTION="The Crystal Programming Language" -HOMEPAGE="https://crystal-lang.org/ - https://github.com/crystal-lang/crystal/" -SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz - amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" -IUSE="doc debug llvm-libunwind" - -# Upstream test suite not reliable -RESTRICT="test" - -DEPEND=" - dev-libs/boehm-gc:=[threads] - dev-libs/gmp:= - dev-libs/libatomic_ops:= - dev-libs/libevent:= - dev-libs/libpcre:= - dev-libs/pcl:= - <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= ) -" -RDEPEND=" - ${DEPEND} - dev-libs/libxml2 - dev-libs/libyaml -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.7.2-extra-spec-flags.patch - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch -) - -src_configure() { - local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin - if [[ ! -d ${bootstrap_path} ]] ; then - eerror "Binary tarball does not contain expected directory:" - die "'${bootstrap_path}' path does not exist." - fi - - # crystal uses 'LLVM_TARGETS' to override default list of targets - unset LLVM_TARGETS - - MY_EMAKE_COMMON_ARGS=( - $(usex debug "" release=1) - progress=true - stats=1 - threads=$(makeopts_jobs) - verbose=1 - CC="$(tc-getCC)" - CXX="$(tc-getCXX)" - AR="$(tc-getAR)" - LLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" - PATH="${bootstrap_path}:${PATH}" - CRYSTAL_PATH="${S}"/src - CRYSTAL_CONFIG_VERSION=${PV} - CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal" - ) -} - -src_compile() { - emake "${MY_EMAKE_COMMON_ARGS[@]}" - - use doc && emake docs "${MY_EMAKE_COMMON_ARGS[@]}" -} - -src_test() { - # EXTRA_SPEC_FLAGS is useful to debug individual tests - # as part of full build: - # USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal - emake std_spec \ - "${MY_EMAKE_COMMON_ARGS[@]}" "EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}" -} - -src_install() { - insinto /usr/$(get_libdir)/crystal - doins -r src/. - - exeinto /usr/bin - doexe .build/crystal - - insinto /usr/share/zsh/site-functions - newins etc/completion.zsh _crystal - - dodoc -r samples - doman man/${PN}.1 - newbashcomp etc/completion.bash ${PN} - - if use doc ; then - docinto api - dodoc -r docs/. - fi -} |