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 2134C13835A for ; Thu, 29 Apr 2021 08:23:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15DA4E0875; Thu, 29 Apr 2021 08:23:35 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E5E5DE0875 for ; Thu, 29 Apr 2021 08:23:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9CB433410BC for ; Thu, 29 Apr 2021 08:23:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C82C74A for ; Thu, 29 Apr 2021 08:23:30 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1619644037.fedfd617e9e1c582186ce962e55de521d65c4fb2.mgorny@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/fbthrift/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/fbthrift/Manifest dev-cpp/fbthrift/fbthrift-2021.04.19.00.ebuild dev-cpp/fbthrift/metadata.xml X-VCS-Directories: dev-cpp/fbthrift/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: fedfd617e9e1c582186ce962e55de521d65c4fb2 X-VCS-Branch: master Date: Thu, 29 Apr 2021 08:23: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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c17cb24b-a842-49d2-9cdc-f015e2fc1904 X-Archives-Hash: 83c2aab22fb2b70ec562b363fb939f69 commit: fedfd617e9e1c582186ce962e55de521d65c4fb2 Author: Alessandro Barbieri gmail com> AuthorDate: Wed Apr 28 20:49:35 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Apr 28 21:07:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fedfd617 dev-cpp/fbthrift: new package thanks @telans Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> dev-cpp/fbthrift/Manifest | 1 + dev-cpp/fbthrift/fbthrift-2021.04.19.00.ebuild | 40 ++++++++++++++++++++++++++ dev-cpp/fbthrift/metadata.xml | 15 ++++++++++ 3 files changed, 56 insertions(+) diff --git a/dev-cpp/fbthrift/Manifest b/dev-cpp/fbthrift/Manifest new file mode 100644 index 000000000..4608a3f94 --- /dev/null +++ b/dev-cpp/fbthrift/Manifest @@ -0,0 +1 @@ +DIST fbthrift-2021.04.19.00.tar.gz 5453537 BLAKE2B 72a6b395f24786e211d7bf18f53abe3833bd12abca536cd85e6db4c284e0851121a4cdb2663b3a10bce628787eda556e71db4d4549f9d49d9c82e6dd8c31ac96 SHA512 eb0dd6c05c4ec8714d8dc5b5dcd8f3574b625c1992fff876b4ac5fb5a48f1d174b4405fbef0305ce008ccc7cae3d30499852989f30fdeb56eabf89269ed7ec23 diff --git a/dev-cpp/fbthrift/fbthrift-2021.04.19.00.ebuild b/dev-cpp/fbthrift/fbthrift-2021.04.19.00.ebuild new file mode 100644 index 000000000..fe7319ed7 --- /dev/null +++ b/dev-cpp/fbthrift/fbthrift-2021.04.19.00.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Facebook's branch of Apache Thrift, including a new C++ server" +HOMEPAGE="https://github.com/facebook/fbthrift" + +SRC_URI="https://github.com/facebook/fbthrift/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-arch/zstd + ~dev-cpp/fizz-${PV}:= + ~dev-cpp/folly-${PV}:= + dev-cpp/gflags + dev-cpp/glog + ~dev-cpp/wangle-${PV}:= + dev-libs/libfmt + dev-libs/openssl:0= + sys-libs/zlib +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/bison + sys-devel/flex +" + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR=$(get_libdir) + ) + + cmake_src_configure +} diff --git a/dev-cpp/fbthrift/metadata.xml b/dev-cpp/fbthrift/metadata.xml new file mode 100644 index 000000000..2d21b7081 --- /dev/null +++ b/dev-cpp/fbthrift/metadata.xml @@ -0,0 +1,15 @@ + + + + +Thrift is a serialization and RPC framework for service communication. Thrift enables these features in all major languages, and there is strong support for C++, Python, Hack, and Java. Most services at Facebook are written using Thrift for RPC, and some storage systems use Thrift for serializing records on disk. + +Facebook Thrift is not a distribution of Apache Thrift. This is an evolved internal branch of Thrift that Facebook re-released to open source community in February 2014. Facebook Thrift was originally released closely tracking Apache Thrift but is now evolving in new directions. In particular, the compiler was rewritten from scratch and the new implementation features a fully asynchronous Thrift server. Read more about these improvements in the ThriftServer documentation. + +You can also learn more about this project in the original Facebook Code blog post. + + + https://github.com/facebook/fbthrift/issues + facebook/fbthrift + +