diff options
Diffstat (limited to 'dev-cpp/fbthrift')
| -rw-r--r-- | dev-cpp/fbthrift/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/fbthrift/fbthrift-2022.03.21.00.ebuild | 46 | ||||
| -rw-r--r-- | dev-cpp/fbthrift/metadata.xml | 19 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-cpp/fbthrift/Manifest b/dev-cpp/fbthrift/Manifest new file mode 100644 index 000000000000..ebe4d535f531 --- /dev/null +++ b/dev-cpp/fbthrift/Manifest @@ -0,0 +1 @@ +DIST fbthrift-2022.03.21.00.tar.gz 7178541 BLAKE2B 6e875f19ae19b5ccd1740d5eadb0b4f106d96b95ca1ced9e05a5bfd7f8e7de84aec722f0dfb0721c81e320185359d3f9c595ebfebef8638b6ca6788df98d37d4 SHA512 8d2d9430dc3a4ecc23042cd9bcf4eee888824449d05d98baec408aef806b934d643e578d3876169f69966c846aeddbe0aa84416c4e020cba028a49d2fccfe7ab diff --git a/dev-cpp/fbthrift/fbthrift-2022.03.21.00.ebuild b/dev-cpp/fbthrift/fbthrift-2022.03.21.00.ebuild new file mode 100644 index 000000000000..78227864ddf9 --- /dev/null +++ b/dev-cpp/fbthrift/fbthrift-2022.03.21.00.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit cmake python-single-r1 + +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 + ${PYTHON_DEPS} +" +DEPEND=" + ${RDEPEND} + $(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]') +" +BDEPEND=" + sys-devel/bison + sys-devel/flex +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +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 000000000000..e234dbf77efc --- /dev/null +++ b/dev-cpp/fbthrift/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="person"> + <email>lssndrbarbieri@gmail.com</email> + <name>Alessandro Barbieri</name> + </maintainer> + <longdescription lang="en"> +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. + </longdescription> + <upstream> + <bugs-to>https://github.com/facebook/fbthrift/issues</bugs-to> + <remote-id type="github">facebook/fbthrift</remote-id> + </upstream> +</pkgmetadata> |
