Added new package ahead of gentoo main
This commit is contained in:
parent
348c550738
commit
60e5f72e3b
1
dev-python/yapf/Manifest
Normal file
1
dev-python/yapf/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST yapf-0.24.0.tar.gz 145607 SHA256 b249ee4a79f0bde2473ab2238dfbb311ae0e789b270779090f77df3269d74821 SHA512 daa61faaa2877af8bc8579b1f6a8e9cf177d1caf27e0430cc508b86b42d907186a0fe14913530368097b888f12c19fc601fbcc1c4e605341ca328e8bf40ea399 WHIRLPOOL 8c0ac36df289bd6fc8feb1e46a55877c588f701820bfec5aab1325c849bc085853c7bbb282afddc6ed68ce258548c7907b7a55ac637bdd3520988cb413d74ba6
|
18
dev-python/yapf/metadata.xml
Normal file
18
dev-python/yapf/metadata.xml
Normal file
@ -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>
|
23
dev-python/yapf/yapf-0.24.0.ebuild
Normal file
23
dev-python/yapf/yapf-0.24.0.ebuild
Normal file
@ -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 || die
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user