public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/crystal/
Date: Sun,  4 Aug 2019 09:08:35 +0000 (UTC)	[thread overview]
Message-ID: <1564909703.0ed69fa1a26e3c21027145f0b3a793d5ea0b036c.slyfox@gentoo> (raw)

commit:     0ed69fa1a26e3c21027145f0b3a793d5ea0b036c
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  4 08:39:10 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Aug  4 09:08:23 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ed69fa1

dev-lang/crystal: bump up to 0.30.0

Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-lang/crystal/Manifest              |   3 +
 dev-lang/crystal/crystal-0.30.0.ebuild | 123 +++++++++++++++++++++++++++++++++
 2 files changed, 126 insertions(+)

diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest
index 3e1160b5334..561d10327b4 100644
--- a/dev-lang/crystal/Manifest
+++ b/dev-lang/crystal/Manifest
@@ -10,3 +10,6 @@ DIST crystal-0.28.0.tar.gz 2108702 BLAKE2B 75b743c65ae2063ecbcff7514a3fac53ecc0e
 DIST crystal-0.29.0-1-linux-i686.tar.gz 31865927 BLAKE2B 1150dd12f4102501bf72a000d6f01e57445966c88de9c9dd2d39e13001067ae97ac3b039db05cb3c02265c3f14fc02b02bc6bd46ad2d4e98da617f668f89176c SHA512 3e3a22b04a5ebd40dfc944c5ba210f230c636634480c836c788db58b4b402b4ce939655a4989ef0ad554fab67d8ecf330d5fd9bd384aad70f78e2dcb16cb2ba6
 DIST crystal-0.29.0-1-linux-x86_64.tar.gz 30069384 BLAKE2B cba30b6337654aba0bd081198f30987891a26fe010ecf82413b9be0d965e14a4d7fade0a9fc496985555fd9b24baa5c1bcc3ae6f4a8b6e9fc82fdc1f1b096614 SHA512 81f1652a1a7b9de20644bebc6d4a31c6d2d4681d29662d733d9a5238f5087fcfc1c3f437fb4b81b0a89d7f29492296c4e65706e2aedcae6e34b1902675d80b9b
 DIST crystal-0.29.0.tar.gz 2122890 BLAKE2B 17ef4c3c07d326b73bb015a1cd9207c716630877da323e79a59dccb026699e48ec5559039dcad391e775f64324ca9eddeb22f053acb12f5019976f94013d039f SHA512 690183878c1d4f8bea2be419238aae78b40fe06fbfef6b23a31162eab8edec726bd5f87b3e39dbb76d5c3b82dde5d0fcb79ed34474bf62d1ea17c0901ff63337
+DIST crystal-0.30.0-1-linux-i686.tar.gz 31962470 BLAKE2B e913122b8e6fa472b7766c865916a8d6d588fccf1ad85f2c5a7b31334cb5631773e7672eb8fdd1c9bfbefa720b7bef6ea8884e225a29be2a8d8203fa1e2e3455 SHA512 84fd9d66355d069e02805d2f8cc3544ecc90bf6bbbf27b0e5df133264507396cef378f4238e28aff8fc9c8c21cd938d687d11b1924d2530cf5c95b1078eb772b
+DIST crystal-0.30.0-1-linux-x86_64.tar.gz 30157495 BLAKE2B b7e684242f90b7dc0bc93bb2c90e255c65554bfc514616cff645578f1d0956cb9f61262294d3399618bf50c4828e6e83fabd09515d3b7268cbcd96952cba58a4 SHA512 34e5a70ce2305b492bad57cdbcf77603e46052d89cb3b92012cb546ec22af9dbc80c91963b1725e6e1095548e43da766d39fefc2bee827e194d889ccd20c044f
+DIST crystal-0.30.0.tar.gz 2151397 BLAKE2B 8b32d12e6f45d18c5ef23dce0520d7669076295324bcb100e0120779c986ecf9081a23207eaa3696b661dd566c37aada1644d2b5acf2e5ddf447be11b8dabe8a SHA512 9c3da09b8ed57d1fd6942350cefe3be7cf6f1ab32a86329c0eda24138e30f44b822161b8eb3bca057bd8e7b0a47fefbe566af1284f486643080a967c1cb79483

diff --git a/dev-lang/crystal/crystal-0.30.0.ebuild b/dev-lang/crystal/crystal-0.30.0.ebuild
new file mode 100644
index 00000000000..ff834ed3806
--- /dev/null
+++ b/dev-lang/crystal/crystal-0.30.0.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
+
+BV=0.30.0-1
+BV_AMD64=${BV}-linux-x86_64
+BV_X86=${BV}-linux-i686
+
+DESCRIPTION="The Crystal Programming Language"
+HOMEPAGE="https://crystal-lang.org"
+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 )
+	x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
+
+RESTRICT=test # not stable for day-to-day runs
+
+LLVM_MAX_SLOT=8
+
+# dev-libs/boehm-gc[static-libs] dependency problem,  check the issue: https://github.com/manastech/crystal/issues/1382
+DEPEND="
+	sys-devel/llvm:${LLVM_MAX_SLOT}
+	dev-libs/boehm-gc[static-libs,threads]
+	dev-libs/libatomic_ops
+	dev-libs/libevent
+	dev-libs/libpcre
+	sys-libs/libunwind
+	dev-libs/pcl
+	dev-libs/gmp:0
+"
+RDEPEND="${DEPEND}
+	xml? ( dev-libs/libxml2 )
+	yaml? ( dev-libs/libyaml )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.27.1-verbose.patch
+	"${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch
+	"${FILESDIR}"/${PN}-0.26.1-gentoo-tests-network-sandbox-3.patch
+	"${FILESDIR}"/${PN}-0.27.0-extra-spec-flags.patch
+	#"${FILESDIR}"/${PN}-0.27.0-max-age-0-test.patch
+	"${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
+	"${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
+	"${FILESDIR}"/${PN}-0.27.0-tcp-server-test.patch
+	"${FILESDIR}"/${PN}-0.29.0-no-usr-lib.patch
+)
+
+src_prepare() {
+	default
+
+	use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
+}
+
+src_compile() {
+	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
+
+	emake \
+		$(usex debug "" release=1) \
+		progress=true \
+		stats=1 \
+		threads=$(makeopts_jobs) \
+		verbose=1 \
+		\
+		CC=$(tc-getCC) \
+		CXX=$(tc-getCXX) \
+		AR=$(tc-getAR) \
+		\
+		PATH="${bootstrap_path}:${PATH}" \
+		CRYSTAL_PATH=src \
+		CRYSTAL_CONFIG_VERSION=${PV} \
+		CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
+	use doc && emake docs
+}
+
+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 spec \
+		$(usex debug "" release=1) \
+		progress=true \
+		stats=1 \
+		threads=$(makeopts_jobs) \
+		verbose=1 \
+		\
+		CC=$(tc-getCC) \
+		CXX=$(tc-getCXX) \
+		AR=$(tc-getAR) \
+		\
+		CRYSTAL_PATH=src \
+		CRYSTAL_CONFIG_VERSION=${PV} \
+		\
+		"EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
+}
+
+src_install() {
+	insinto /usr/$(get_libdir)/crystal
+	doins -r src/.
+	dobin .build/crystal
+
+	insinto /usr/share/zsh/site-functions
+	newins etc/completion.zsh _crystal
+
+	use examples && dodoc -r samples
+
+	if use doc ; then
+		docinto api
+		dodoc -r docs/.
+	fi
+
+	newbashcomp etc/completion.bash ${PN}
+}


             reply	other threads:[~2019-08-04  9:08 UTC|newest]

Thread overview: 138+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-04  9:08 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-24 11:46 [gentoo-commits] repo/gentoo:master commit in: dev-lang/crystal/ Sam James
2025-03-07 19:34 Maciej Barć
2025-03-07 19:34 Maciej Barć
2025-03-04 22:43 Sam James
2025-02-09 20:50 Maciej Barć
2025-01-30 17:44 Maciej Barć
2025-01-30 17:44 Maciej Barć
2025-01-30 17:44 Maciej Barć
2025-01-12 21:54 Maciej Barć
2025-01-09 21:22 Maciej Barć
2024-11-27 22:10 Maciej Barć
2024-11-24 15:47 Jakov Smolić
2024-11-04  0:19 Maciej Barć
2024-10-30 11:07 Sam James
2024-10-10  0:05 Maciej Barć
2024-10-10  0:05 Maciej Barć
2024-09-27  5:30 Arthur Zamarin
2024-09-25 21:16 Maciej Barć
2024-08-24 15:44 Maciej Barć
2024-08-24 15:44 Maciej Barć
2024-08-24 15:44 Maciej Barć
2024-08-17 16:06 Arthur Zamarin
2024-07-15 22:15 Maciej Barć
2024-07-12 12:35 Maciej Barć
2024-07-12 12:35 Maciej Barć
2024-07-09  2:56 Sam James
2024-06-04 15:17 Maciej Barć
2024-06-04 15:17 Maciej Barć
2024-05-18  3:19 Sam James
2024-04-13 22:56 Maciej Barć
2024-04-13 22:56 Maciej Barć
2024-04-11  1:38 Maciej Barć
2024-03-13 16:40 Maciej Barć
2024-03-08 14:50 Sam James
2024-02-06 13:07 Maciej Barć
2024-01-12 23:22 Maciej Barć
2023-12-18  0:11 Sam James
2023-12-16 21:45 Maciej Barć
2023-10-19 21:34 Maciej Barć
2023-10-17 13:39 Maciej Barć
2023-10-11  0:19 Maciej Barć
2023-10-11  0:19 Maciej Barć
2023-09-21  5:09 Sam James
2023-08-20 20:32 Maciej Barć
2023-08-20 20:32 Maciej Barć
2023-08-20 20:32 Maciej Barć
2023-08-16  2:20 Sam James
2023-07-22 13:09 Maciej Barć
2023-07-13 11:52 Maciej Barć
2023-07-13 11:52 Maciej Barć
2023-07-13 11:52 Maciej Barć
2023-07-13 11:52 Maciej Barć
2023-06-17 15:13 Sam James
2023-05-31 16:01 Sam James
2023-05-15 19:33 Maciej Barć
2023-04-27 23:00 Maciej Barć
2023-04-23 23:38 Maciej Barć
2023-04-23 23:38 Maciej Barć
2023-04-17  4:41 Sam James
2023-04-16 10:02 Maciej Barć
2023-03-26  2:34 Sam James
2023-03-12 22:52 Maciej Barć
2023-03-04  6:36 Arthur Zamarin
2023-02-12  0:48 Maciej Barć
2023-02-11 18:54 Jonas Stein
2022-07-19 18:04 Sam James
2022-07-19 18:04 Sam James
2022-03-26  0:01 Sam James
2021-12-24 23:55 Sam James
2021-10-27 14:14 Sam James
2021-08-26 10:51 Joonas Niilola
2021-07-23  7:33 Sergei Trofimovich
2021-07-17 11:22 Sergei Trofimovich
2021-04-02  9:54 Sergei Trofimovich
2021-03-27  8:18 Sergei Trofimovich
2021-03-09  8:13 Sergei Trofimovich
2021-02-12  8:22 Sergei Trofimovich
2021-02-05 10:13 Sergei Trofimovich
2021-02-05 10:13 Sergei Trofimovich
2021-01-27  7:31 Sergei Trofimovich
2020-06-20 19:49 Sergei Trofimovich
2020-06-19 20:52 Sergei Trofimovich
2020-06-09 20:36 Sergei Trofimovich
2020-05-02 17:51 Sergei Trofimovich
2020-04-07 22:07 Sergei Trofimovich
2020-04-01 21:14 Sergei Trofimovich
2020-02-26 13:13 Sergei Trofimovich
2020-02-12 22:32 Sergei Trofimovich
2019-12-19  0:15 Sergei Trofimovich
2019-12-19  0:15 Sergei Trofimovich
2019-12-11 20:59 Sergei Trofimovich
2019-09-30 21:13 Sergei Trofimovich
2019-09-30 21:13 Sergei Trofimovich
2019-09-24 19:17 Sergei Trofimovich
2019-08-13 22:45 Sergei Trofimovich
2019-08-04  9:08 Sergei Trofimovich
2019-06-08 11:58 Sergei Trofimovich
2019-06-02 16:39 Sergei Trofimovich
2019-04-26 16:20 Sergei Trofimovich
2019-02-16 21:15 Sergei Trofimovich
2019-02-08 20:35 Sergei Trofimovich
2018-11-07 20:06 Sergei Trofimovich
2018-09-04  8:19 Sergei Trofimovich
2018-08-09 22:34 Sergei Trofimovich
2018-05-19 16:10 Jonas Stein
2018-03-08 22:11 Sergei Trofimovich
2018-01-16 22:50 Sergei Trofimovich
2018-01-09 23:09 Sergei Trofimovich
2017-11-25 19:58 Sergei Trofimovich
2017-07-25  9:27 Sergei Trofimovich
2017-07-04 21:56 Sergei Trofimovich
2017-07-04 20:40 Sergei Trofimovich
2017-04-22 10:21 Sergei Trofimovich
2017-03-07 22:29 Sergei Trofimovich
2017-02-20 22:21 Sergei Trofimovich
2017-01-20 22:16 Sergei Trofimovich
2017-01-20 22:16 Sergei Trofimovich
2017-01-16 13:25 Sergei Trofimovich
2017-01-11  8:08 Sergei Trofimovich
2016-12-23 18:43 Sergei Trofimovich
2016-12-05 22:32 Sergei Trofimovich
2016-11-22 23:09 Sergei Trofimovich
2016-10-07 20:18 Sergei Trofimovich
2016-09-30 19:55 Sergei Trofimovich
2016-09-16 18:38 Sergei Trofimovich
2016-09-10 22:39 Sergei Trofimovich
2016-09-10 11:01 Sergei Trofimovich
2016-09-02 16:38 Sergei Trofimovich
2016-07-30  9:50 Sergei Trofimovich
2016-07-30  9:50 Sergei Trofimovich
2016-07-30  9:18 Sergei Trofimovich
2016-04-15  9:09 Ian Delaney
2016-03-26  9:48 Patrice Clement
2016-03-26  9:48 Patrice Clement
2016-03-20 22:59 Patrice Clement
2016-02-17 10:22 Patrice Clement
2016-02-02  8:48 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1564909703.0ed69fa1a26e3c21027145f0b3a793d5ea0b036c.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox