diff options
Diffstat (limited to 'dev-lang/crystal')
-rw-r--r-- | dev-lang/crystal/Manifest | 6 | ||||
-rw-r--r-- | dev-lang/crystal/crystal-1.8.1.ebuild (renamed from dev-lang/crystal/crystal-1.5.0.ebuild) | 51 |
2 files changed, 31 insertions, 26 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest index afab16b9821e..4945ef18bb1b 100644 --- a/dev-lang/crystal/Manifest +++ b/dev-lang/crystal/Manifest @@ -3,16 +3,16 @@ AUX crystal-0.27.0-extra-spec-flags.patch 493 BLAKE2B 84270f431db778bfe4b3b9b291 AUX crystal-0.27.0-gentoo-tests-long-unix-2.patch 469 BLAKE2B 66bcc1d0dd9582cac4ba89a2ccc2c7a2ac3ff4994cd687191470f2d481f9a6e3a91aaaf705f92f7600118a9cda015a9554056520502df7ae6462e111665c7330 SHA512 d840ac343ef566e404dc84e908bead5a020dfd88b8c0432f17bceea8d710d435626dc72b4be6622dbcd683a149bca16e781320cf74fc3f2598f84d169c6f7faa AUX crystal-0.27.0-gentoo-tests-long-unix.patch 3317 BLAKE2B df1040abdb587ac3fffb8129d4f1bafc492e38ad5dcfdea5cfbf4426849b099c4d94dac61c93ae7fcae46b60dea1809f52ad373efcd89796a3c1f119614063c1 SHA512 a9ed819a864465e062b4d6a568f14fbb8adc1db01071c79164dede8b2b8d83e07b785cd8196826097de5119e0bdc7d6e194cf4e10cc677bd2bdf158d124c2ad2 AUX crystal-1.7.2-extra-spec-flags.patch 1080 BLAKE2B 3054e38d4e7d114f1b0a08b367f9a5b366bbe269c75b9195abf9dc39231b32428a108c4254abd0bdb29b2ac6a94d6d256eccc68ca69f80a273cd17e0c0115fc7 SHA512 3c3fd6a42b291a42f76ec76101d669011eb02d4d17f35c8ad31c5a49aa3655a2315999e2401af7f3bc26445f74f432430a44b021846238d345d9c14b1009fdc5 -DIST crystal-1.5.0-1-linux-x86_64.tar.gz 29749716 BLAKE2B f1a84e89bb1c92349dc6e66088cd60298a7de25a5b42876b06ab8460e277db8fe53fa5477e8189f5382ad98b571df25978437c5619260f58ac721d1235882025 SHA512 49ff065bd084c4d8ad4835e79bd7679d76f4ee641ad8955c110f585429297a3343a6e7406fbacfbea18d91fd7ebbef40f61e1db66c249ca653d43b46dce68636 -DIST crystal-1.5.0.tar.gz 2909586 BLAKE2B beb6bf0b8950317fa1883fa5c281ecf205f3a2c545b99e489ab07420534fa14ff1feb2a506a961304280cfcae1142faffd42acedd6845b96f439a6407e09106b SHA512 9f1915834c0218b05c6197325df1fc52d5d6a94ba1b83629ac07df4073271d777c1f6acfa7286eafb645e9118702ff856dfe590c8b2a3d91eb6929e88275f7f0 DIST crystal-1.7.2-1-linux-x86_64.tar.gz 41103664 BLAKE2B 399f5703fe907bed55b002d3d85873871c55e5d091c6342c3dc8356b219d5190ee3bf94456c0d4f169f4e2dee1f62cb42acbe707db9ee46c12a6ac4d60c4b5a4 SHA512 374e1a26f4540a0b368edd280dbab77d39237104432d4998f067e042de05bc58340d6a80ce569d5089b73e0d9b79fa5c65c04ea51f88ac5b0294af81d54d81ca DIST crystal-1.7.2.tar.gz 3121696 BLAKE2B 425d03a5ab34d885c6115582ae4aea3684fb088aeb3e8480087a14ff1963032e6ff4baa3022313d418dae5dce4a533786ee3993d19c81ed281b5a75411e5a4e8 SHA512 d278bc9a54c822e6c72269505158085bc7854b0f33c91a2adc24c656b310d20f5b49c633ec6216fbdee4dd17e9fb262d3315bf522c1c88e1ddbcb0dc386ce6c8 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.0-1-linux-x86_64.tar.gz 46313229 BLAKE2B e4f2696ed2a688e4aa85d6e97c47ca93109edd05c47495bab228ddacc9152a4fba865b10a9a7fbe37ffd3df92ef333ddfdd62598d72509434aa89da39a4a424b SHA512 a1f558890025eed72da5ab45e73c3fafa0da733ba8c4a375cf0e8a7fed165cfd938dca508ccea9d803535ea826818ae9e73e0b37dfa2003124e0fd8f0aafda03 DIST crystal-1.8.0.tar.gz 3169681 BLAKE2B 8a042f9b9922ed40788f2c5e3af801dfaea5fe2b33854af37d21eacd2852b64c32311e3d8b3bb09d2858446c262c0f6c4e3b3c661680f296b3a47c3b9bfc7a8f SHA512 bb78faed43849eaac0b73a1f1e5d46a0acd5bc7d5cc23544e44d5f983f640f40039c8813519c711443df246fcb88cae2dd8ebb09309aa48668feff066aef9c92 -EBUILD crystal-1.5.0.ebuild 2543 BLAKE2B 2f1d810395e2ae098919adb79fc34364ead4ff54a9ec2f66bddb4fafdfa6c971b24108845734f6225935ed54f385b29d5021033bf7d9d60683caefe88ea1ab91 SHA512 9e56f72596f09c69444724906f59a74e29482ee1492e9402b2b208985a119bf2ae74f22c5895af4fa9dad8e27b2fdccb7a9cf30ef0a43b049b627cff201a7e99 +DIST crystal-1.8.1-1-linux-x86_64.tar.gz 46313888 BLAKE2B f9513bd442f2cfcddc55b45fac3d047d3d8b2bc810d1368e454498e2c520c3731f717224f5f2470e3f3bdcd4f648797037b1cc52c76e9c2aa094a0692806e0aa SHA512 bf48b71d722ac47b726f68809b9ee8d967a48c6e509446f212479e8135e1dfaa7e997d3cdfd2c1f2812f63b8f4dd2b7fbe62f936ee73ae14aee60e3493f11b52 +DIST crystal-1.8.1.tar.gz 3170273 BLAKE2B 24ef580174e585c7368b3d671d19ed726eeba93655a4a6d76acd41eb3853ac328c036cb3508c960e54490c79a2b5f515130df502ba43765a41d576f5eacd6c29 SHA512 b7f00963beef0e13e67329582b7ece89d21a95ae0c1fc8e9304bf5cfa6f06bf358a9bc16b9eea6669d0f50d218a952f0fec5a2379104ecd769c215b33e8ad6d2 EBUILD crystal-1.7.2.ebuild 2602 BLAKE2B 5d2be8a4acdcf40a5485c25a767088741ca5b01e2e59400dcde74bc23f27899d4550f9bf0330d06bde24168d97a1066e69cf925bbebf279b138ea928b9a70d11 SHA512 72b3b2098ed1355230bbb04a026cbe18992da0fa20ed0a93fd01c37725c5fab60a24a2fd78e794bb60692d69e56894e26160d3e355f9fb9594a070a41aa1447a EBUILD crystal-1.7.3.ebuild 2609 BLAKE2B bce6be752cfff6e36a80fbe8406de447f9458f5759e8a7bb6d55fab1e76e39b7822263ca09dbd358c509245b36efdcd340ad92b369cb5ead9d8b861633eafa1a SHA512 5282fc72614dd33d258c3789e35ca70ecf842fbb3ebc5b921c10a3f40817ae689a35d965997da7c22eb5150f70fc4019c8aa0077aa789dbd225da753dcd9d6c5 EBUILD crystal-1.8.0.ebuild 2610 BLAKE2B 5dc238a2801399f6fe56fd16b1f01357f31589013953fbd82e7accf2968e2bd3ddb0956d9770561e2c0b2b318ad89c2ec487298a115535894e5a77f887428855 SHA512 6f7921a6077640153a5b0c9d4e59d5ed73e7b91177001b317676b3124cce3b003fa3634d6b5a7815f82c4f0dfa41299cefe9b3fc0f3d2469220058c1234c8f7e +EBUILD crystal-1.8.1.ebuild 2610 BLAKE2B 5dc238a2801399f6fe56fd16b1f01357f31589013953fbd82e7accf2968e2bd3ddb0956d9770561e2c0b2b318ad89c2ec487298a115535894e5a77f887428855 SHA512 6f7921a6077640153a5b0c9d4e59d5ed73e7b91177001b317676b3124cce3b003fa3634d6b5a7815f82c4f0dfa41299cefe9b3fc0f3d2469220058c1234c8f7e MISC metadata.xml 762 BLAKE2B 591f38c882318a6564501cc61abe6222264b65adeaffaf3b23d959ee86b83bae33eaf99029229705f92070fa539fd6d63d8242afc38475904483a9a0b997effd SHA512 ea223d568a3c336a43b183efc61bd1f1a9d1e5e0e8d963275e0b23ee879551bc7d8aae797b1e2edba49d119ad306692599eb535c5d164ebee0c6721dfeab78dc diff --git a/dev-lang/crystal/crystal-1.5.0.ebuild b/dev-lang/crystal/crystal-1.8.1.ebuild index b7f5bd44b8ac..9c03c216028f 100644 --- a/dev-lang/crystal/crystal-1.5.0.ebuild +++ b/dev-lang/crystal/crystal-1.8.1.ebuild @@ -3,55 +3,59 @@ EAPI=8 -LLVM_MAX_SLOT=14 -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs - 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" +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" +KEYWORDS="~amd64" IUSE="doc debug llvm-libunwind" # Upstream test suite not reliable -RESTRICT=test +RESTRICT="test" DEPEND=" - dev-libs/boehm-gc[static-libs,threads] + dev-libs/boehm-gc:=[threads] dev-libs/gmp:= - dev-libs/libatomic_ops - dev-libs/libevent - dev-libs/libpcre + 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} +RDEPEND=" + ${DEPEND} dev-libs/libxml2 dev-libs/libyaml " PATCHES=( - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch - "${FILESDIR}"/${PN}-0.27.0-extra-spec-flags.patch + "${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 + 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 @@ -63,41 +67,42 @@ src_configure() { AR="$(tc-getAR)" LLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" PATH="${bootstrap_path}:${PATH}" - CRYSTAL_PATH=src + CRYSTAL_PATH="${S}"/src CRYSTAL_CONFIG_VERSION=${PV} CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal" ) - - # crystal uses 'LLVM_TARGETS' to override default list of targets - unset LLVM_TARGETS } src_compile() { emake "${MY_EMAKE_COMMON_ARGS[@]}" - use doc && emake docs + + 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}" + emake std_spec \ + "${MY_EMAKE_COMMON_ARGS[@]}" "EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}" } src_install() { insinto /usr/$(get_libdir)/crystal doins -r src/. - dobin .build/crystal + + 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 - - newbashcomp etc/completion.bash ${PN} } |