Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/fbthrift/
Date: Thu, 29 Apr 2021 08:23:36
Message-Id: 1619644037.fedfd617e9e1c582186ce962e55de521d65c4fb2.mgorny@gentoo
1 commit: fedfd617e9e1c582186ce962e55de521d65c4fb2
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 28 20:49:35 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 28 21:07:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fedfd617
7
8 dev-cpp/fbthrift: new package
9
10 thanks @telans
11
12 Package-Manager: Portage-3.0.18, Repoman-3.0.3
13 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
14
15 dev-cpp/fbthrift/Manifest | 1 +
16 dev-cpp/fbthrift/fbthrift-2021.04.19.00.ebuild | 40 ++++++++++++++++++++++++++
17 dev-cpp/fbthrift/metadata.xml | 15 ++++++++++
18 3 files changed, 56 insertions(+)
19
20 diff --git a/dev-cpp/fbthrift/Manifest b/dev-cpp/fbthrift/Manifest
21 new file mode 100644
22 index 000000000..4608a3f94
23 --- /dev/null
24 +++ b/dev-cpp/fbthrift/Manifest
25 @@ -0,0 +1 @@
26 +DIST fbthrift-2021.04.19.00.tar.gz 5453537 BLAKE2B 72a6b395f24786e211d7bf18f53abe3833bd12abca536cd85e6db4c284e0851121a4cdb2663b3a10bce628787eda556e71db4d4549f9d49d9c82e6dd8c31ac96 SHA512 eb0dd6c05c4ec8714d8dc5b5dcd8f3574b625c1992fff876b4ac5fb5a48f1d174b4405fbef0305ce008ccc7cae3d30499852989f30fdeb56eabf89269ed7ec23
27
28 diff --git a/dev-cpp/fbthrift/fbthrift-2021.04.19.00.ebuild b/dev-cpp/fbthrift/fbthrift-2021.04.19.00.ebuild
29 new file mode 100644
30 index 000000000..fe7319ed7
31 --- /dev/null
32 +++ b/dev-cpp/fbthrift/fbthrift-2021.04.19.00.ebuild
33 @@ -0,0 +1,40 @@
34 +# Copyright 2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit cmake
40 +
41 +DESCRIPTION="Facebook's branch of Apache Thrift, including a new C++ server"
42 +HOMEPAGE="https://github.com/facebook/fbthrift"
43 +
44 +SRC_URI="https://github.com/facebook/fbthrift/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64"
49 +
50 +RDEPEND="
51 + app-arch/zstd
52 + ~dev-cpp/fizz-${PV}:=
53 + ~dev-cpp/folly-${PV}:=
54 + dev-cpp/gflags
55 + dev-cpp/glog
56 + ~dev-cpp/wangle-${PV}:=
57 + dev-libs/libfmt
58 + dev-libs/openssl:0=
59 + sys-libs/zlib
60 +"
61 +DEPEND="${RDEPEND}"
62 +BDEPEND="
63 + sys-devel/bison
64 + sys-devel/flex
65 +"
66 +
67 +src_configure() {
68 + local mycmakeargs=(
69 + -DLIB_INSTALL_DIR=$(get_libdir)
70 + )
71 +
72 + cmake_src_configure
73 +}
74
75 diff --git a/dev-cpp/fbthrift/metadata.xml b/dev-cpp/fbthrift/metadata.xml
76 new file mode 100644
77 index 000000000..2d21b7081
78 --- /dev/null
79 +++ b/dev-cpp/fbthrift/metadata.xml
80 @@ -0,0 +1,15 @@
81 +<?xml version="1.0" encoding="UTF-8"?>
82 +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
83 +<pkgmetadata>
84 + <longdescription lang="en">
85 +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.
86 +
87 +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.
88 +
89 +You can also learn more about this project in the original Facebook Code blog post.
90 + </longdescription>
91 + <upstream>
92 + <bugs-to>https://github.com/facebook/fbthrift/issues</bugs-to>
93 + <remote-id type="github">facebook/fbthrift</remote-id>
94 + </upstream>
95 +</pkgmetadata>