Gentoo Archives: gentoo-commits

From: Denis Reva <denis7774@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/fbthrift/
Date: Tue, 28 Feb 2023 12:58:05
Message-Id: 1677589063.5dc6a108df0ec64ff1acd0c8983a00d801eea4e0.RarogCmex@gentoo
1 commit: 5dc6a108df0ec64ff1acd0c8983a00d801eea4e0
2 Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 28 12:22:24 2023 +0000
4 Commit: Denis Reva <denis7774 <AT> gmail <DOT> com>
5 CommitDate: Tue Feb 28 12:57:43 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5dc6a108
7
8 dev-cpp/fbthrift: Unorphaned and updated
9
10 Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
11
12 dev-cpp/fbthrift/Manifest | 1 +
13 dev-cpp/fbthrift/fbthrift-2023.02.06.00.ebuild | 47 ++++++++++++++++++++++++++
14 dev-cpp/fbthrift/metadata.xml | 20 +++++++++++
15 3 files changed, 68 insertions(+)
16
17 diff --git a/dev-cpp/fbthrift/Manifest b/dev-cpp/fbthrift/Manifest
18 new file mode 100644
19 index 000000000..44fcaa583
20 --- /dev/null
21 +++ b/dev-cpp/fbthrift/Manifest
22 @@ -0,0 +1 @@
23 +DIST fbthrift-2023.02.06.00.tar.gz 13447174 BLAKE2B d8a931dc4ded159ca1b1b1aa9db7d97c7f6fc3842fe59873c72125acf93c572bb4f31d5514b237166fb7108e746f7473bc50e62becab93411b01d8988cb53534 SHA512 a726cc3276c623471129ba7822926e311f455a1c90cc2be9a5506310563609c9843dcb0b6852c288e766a6268bb01e0db8d0a67b6c3f01fc9fd84ff58a479ba6
24
25 diff --git a/dev-cpp/fbthrift/fbthrift-2023.02.06.00.ebuild b/dev-cpp/fbthrift/fbthrift-2023.02.06.00.ebuild
26 new file mode 100644
27 index 000000000..ac597c130
28 --- /dev/null
29 +++ b/dev-cpp/fbthrift/fbthrift-2023.02.06.00.ebuild
30 @@ -0,0 +1,47 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{9..11} pypy3 )
37 +
38 +inherit cmake python-single-r1
39 +
40 +DESCRIPTION="Facebook's branch of Apache Thrift, including a new C++ server"
41 +HOMEPAGE="https://github.com/facebook/fbthrift"
42 +SRC_URI="https://github.com/facebook/fbthrift/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0/${PV}"
46 +KEYWORDS="~amd64"
47 +
48 +RDEPEND="
49 + app-arch/zstd
50 + >=dev-cpp/fizz-${PV}:=
51 + >=dev-cpp/folly-${PV}:=
52 + dev-cpp/gflags
53 + dev-cpp/glog
54 + >=dev-cpp/wangle-${PV}:=
55 + dev-libs/boost
56 + dev-libs/libfmt
57 + dev-libs/openssl:0=
58 + sys-libs/zlib
59 + ${PYTHON_DEPS}
60 +"
61 +DEPEND="
62 + ${RDEPEND}
63 + $(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]')
64 +"
65 +BDEPEND="
66 + sys-devel/bison
67 + sys-devel/flex
68 +"
69 +
70 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
71 +
72 +src_configure() {
73 + local mycmakeargs=(
74 + -DLIB_INSTALL_DIR=$(get_libdir)
75 + )
76 + cmake_src_configure
77 +}
78
79 diff --git a/dev-cpp/fbthrift/metadata.xml b/dev-cpp/fbthrift/metadata.xml
80 new file mode 100644
81 index 000000000..ed3a5f3fb
82 --- /dev/null
83 +++ b/dev-cpp/fbthrift/metadata.xml
84 @@ -0,0 +1,20 @@
85 +<?xml version="1.0" encoding="UTF-8"?>
86 +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
87 +<pkgmetadata>
88 + <maintainer type="person">
89 + <email>denis7774@×××××.com</email>
90 + <name>Denis Reva</name>
91 + <description>rarogcmex</description>
92 + </maintainer>
93 + <longdescription lang="en">
94 +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.
95 +
96 +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.
97 +
98 +You can also learn more about this project in the original Facebook Code blog post.
99 + </longdescription>
100 + <upstream>
101 + <bugs-to>https://github.com/facebook/fbthrift/issues</bugs-to>
102 + <remote-id type="github">facebook/fbthrift</remote-id>
103 + </upstream>
104 +</pkgmetadata>