diff options
Diffstat (limited to 'dev-python/yapf')
-rw-r--r-- | dev-python/yapf/Manifest | 3 | ||||
-rw-r--r-- | dev-python/yapf/metadata.xml | 18 | ||||
-rw-r--r-- | dev-python/yapf/yapf-0.24.0.ebuild | 23 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/yapf/Manifest b/dev-python/yapf/Manifest new file mode 100644 index 000000000000..41d24d3c6373 --- /dev/null +++ b/dev-python/yapf/Manifest @@ -0,0 +1,3 @@ +DIST yapf-0.24.0.tar.gz 145607 BLAKE2B 2f85130a28d7daea5f656bc3d46ef34291dfa3ac739170b8f7e120acbaa62c5f255c6c69d3b1775ceb13a63c09c239d207f227c41234bc676e131d0b4b958356 SHA512 daa61faaa2877af8bc8579b1f6a8e9cf177d1caf27e0430cc508b86b42d907186a0fe14913530368097b888f12c19fc601fbcc1c4e605341ca328e8bf40ea399 +EBUILD yapf-0.24.0.ebuild 508 BLAKE2B 9da66e7bf3baa1635ebf5860d2c24584df3b89f6f91b0a13dc2252ce95b617850c4f102a8ec1adb52c2a3b1a36dcdf356be92fe8f4e679231c5563b6c9d48bbe SHA512 30ce60093517a66c2699ddfa4b32f9ca79ac1ac73dc2ab94d7486bec7f6ba8dc1db1e036013efca42244f12231bac8d5fe4b9b75db42d6efc4cce56b528492ef +MISC metadata.xml 667 BLAKE2B 28416fefc49753b487eaf7cfb35dfe2b5bab3ff16187ef6e16ca1fa25cadbda6fe1d5ca83a340a5657bbc0dc14d5a837e1749d114f88a08da1c4cd4b40c65d5a SHA512 f7f98b10dabbfddaf5cfea77d925d67f414d89a8f13ca7a80aa0993d24d696ee677a4cd85335a45c0547575fe42931fbe98c9256e60ab4122c266f83b9af64f9 diff --git a/dev-python/yapf/metadata.xml b/dev-python/yapf/metadata.xml new file mode 100644 index 000000000000..28299522aad8 --- /dev/null +++ b/dev-python/yapf/metadata.xml @@ -0,0 +1,18 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>horea.christ@gmail.com</email> + <name>Horea Christian</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + YAPF is based off of 'clang-format', developed by Daniel Jasper. + In essence, the algorithm takes the code and reformats it to the best + formatting that conforms to the style guide, even if the original code + didn't violate the style guide. + </longdescription> +</pkgmetadata> diff --git a/dev-python/yapf/yapf-0.24.0.ebuild b/dev-python/yapf/yapf-0.24.0.ebuild new file mode 100644 index 000000000000..599e8fcc6053 --- /dev/null +++ b/dev-python/yapf/yapf-0.24.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +inherit distutils-r1 + +DESCRIPTION="A formatter for Python files" +HOMEPAGE="https://github.com/google/yapf" +SRC_URI="https://github.com/google/yapf/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +python_test() { + esetup.py test +} |