From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E4B613897F for ; Sun, 23 Oct 2016 05:28:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6CE5E07F7; Sun, 23 Oct 2016 05:28:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E11CE07F7 for ; Sun, 23 Oct 2016 05:28:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B3A3341673 for ; Sun, 23 Oct 2016 09:02:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A85B2FF for ; Sun, 23 Oct 2016 05:28:30 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1477200487.7a07d22ff8bceeeaaca735bd28ced729368eb166.graaff@gentoo> Subject: [gentoo-commits] dev/graaff:master commit in: dev-lang/pony/ X-VCS-Repository: dev/graaff X-VCS-Files: dev-lang/pony/Manifest dev-lang/pony/pony-0.7.0.ebuild X-VCS-Directories: dev-lang/pony/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 7a07d22ff8bceeeaaca735bd28ced729368eb166 X-VCS-Branch: master Date: Sun, 23 Oct 2016 05:28:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 80ec2781-5bcb-4ffe-baa7-3a8bbf6b5726 X-Archives-Hash: 47067925d20dc8b4b37b1f8fdef9bf32 commit: 7a07d22ff8bceeeaaca735bd28ced729368eb166 Author: Hans de Graaff degraaff org> AuthorDate: Sun Oct 23 05:28:07 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 23 05:28:07 2016 +0000 URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=7a07d22f dev-lang/pony: add 0.7.0 Package-Manager: portage-2.3.0 dev-lang/pony/Manifest | 1 + dev-lang/pony/pony-0.7.0.ebuild | 63 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-lang/pony/Manifest b/dev-lang/pony/Manifest index 38943d6..d68657e 100644 --- a/dev-lang/pony/Manifest +++ b/dev-lang/pony/Manifest @@ -1,3 +1,4 @@ DIST pony-0.3.0.tar.gz 950828 SHA256 4b0fa26dd194663f648f8782af79e420bc962281f280233cadecbd9b6cad195f SHA512 59e584afb47d64a37282a459e2871c1a353acc12c9b81f7ec4f966229abca091f2d5c91d9b81e1781436c1185b64e4b430903f76c5a31346f4103003a1790e46 WHIRLPOOL f2d7f2941ccafc90cc2e18965c4d739c908ab23ae94d20210218544e41ae9cb26051bcc278f11b6fb6cb65434ca514590439275adc2102d840e40dd3d015cc7c DIST pony-0.5.1.tar.gz 967344 SHA256 3d78952ca0912ca1a3b3a6d8c51a87c9bcfcb03666eb9880b76d0f9755843786 SHA512 8bae478241f4a238d9243b756dd5b7c505b5bfd9d26730127eda425e946ae49efc3269dad26811855f48da8fa01114c82f779e17e4cda2f0a44850d544058187 WHIRLPOOL cf7b23cc36fd7962db743f8da96891ebe625572f71fa48c1daa4f576ee2e846a7b48f27d4269b3f4f0b3b7cc59799bee0523ce524b50eed7fe8314260834dc2d DIST pony-0.6.0.tar.gz 973747 SHA256 7e0269aa95caa49ffaa07ccfcf4ea1ea372d01ed5deda48a48271e62ea852322 SHA512 1f8b3108a64d8927106ae8142c69b919c6916c50bd591438330943c5f25b5c66a0f7e5ccdec7077bf9e77d45a89253c70ccfe85a468bd8f4034c35ba628ca039 WHIRLPOOL 9ec382db07a71f8b53951c24df79f4d206b3130d62d08a24f431518dea5bd4f71168c9cd7b4296488a20eacefa3e87c6a19ce1a9937bee60ee975a2899e8c2f3 +DIST pony-0.7.0.tar.gz 978408 SHA256 22f8564d4b937564840557b8bc5a6f19cf28d4fbe5259921eeb715a9c9d19f7b SHA512 053ed843ef81a32fbcbc50867c448a500fa42016831bb4561385ea862519432b85d3da72ccb4a97ad87a6c867e43cd2a27b9125987d18dde1a4901d77769df57 WHIRLPOOL 2c0991b736ea3234dde463d7a94e138a85308d5943b3943a12524065573db31f71556e6e693a6ae34618a78b269119be4313db628d13133c3b2ced8b3c400cd6 diff --git a/dev-lang/pony/pony-0.7.0.ebuild b/dev-lang/pony/pony-0.7.0.ebuild new file mode 100644 index 0000000..8e196d9 --- /dev/null +++ b/dev-lang/pony/pony-0.7.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Compiler for the Pony language" +HOMEPAGE="http://www.ponylang.org/" +SRC_URI="https://github.com/ponylang/ponyc/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="strip" + +RDEPEND="dev-libs/libpcre2 + dev-libs/openssl:= + sys-devel/llvm:0/3.6 + sys-libs/ncurses:= + sys-libs/zlib +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +S="${WORKDIR}/ponyc-${PV}" + +src_prepare() { + # bug #457530 means that '-ltinfo' might be needed besides '-lncurses' if a USE flag is enabled + # for sys-libs/ncurses, so we use pkg-config to get the ncurses libs + sed -i \ + -e 's/-Werror//' \ + -e 's/-O3//' \ + -e 's/LINKER_FLAGS =/LINKER_FLAGS = $(LDFLAGS)/' \ + -e 's/-march=$(arch)/$(CFLAGS)/' \ + -e 's#ln -sf $(destdir)#ln -sf ../lib/pony/$(tag)#' \ + -e "s#-lncurses#$(pkg-config ncurses --libs)#" \ + Makefile + + gcc_lib_dir="$(gcc-config -L | cut -d ':' -f 1)" + sed -i \ + -e "s#/lib/x86_64-linux-gnu#${gcc_lib_dir}#" \ + src/libponyc/codegen/genexe.c + + # Avoid net/Broadcast test since it requires a working network + # connection. + sed -i -e '/test(_TestBroadcast)/d' packages/net/_test.pony || die +} + +common_make_args="config=release prefix=\"${D}usr\" verbose=yes" + +src_compile() { + emake ${common_make_args} +} + +src_test() { + emake ${common_make_args} test +} + +src_install() { + emake ${common_make_args} install +}