blob: e91297df67e81155d436ae7e828c6c9fa5f48a9b [file] [log] [blame]
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
CROS_RUST_REMOVE_DEV_DEPS=1
inherit cros-rust
DESCRIPTION='Textwrap is a library for word wrapping, indenting, and dedenting
strings.
You can use it to format strings (such as help and error messages) for
display in commandline applications. It is designed to be efficient
and handle Unicode characters correctly.'
HOMEPAGE='https://crates.io/crates/textwrap'
SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate"
LICENSE="MIT"
SLOT="${PV}/${PR}"
KEYWORDS="*"
DEPEND="
=dev-rust/hyphenation-0.8*:=
=dev-rust/terminal_size-0.1*:=
=dev-rust/unicode-width-0.1*:=
"
RDEPEND="${DEPEND}"
# This file was automatically generated by cargo2ebuild.py
# Tests require adding `=version-sync-0.9*` and `=lipsum-0.6*` which in turn
# require even more new or uprevved crates.
RESTRICT="test"