dev-python/black: new package
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
parent
aa5baccaff
commit
3045ea7dbf
6
dev-python/black/ChangeLog
Normal file
6
dev-python/black/ChangeLog
Normal file
@ -0,0 +1,6 @@
|
||||
*pypubsub-4.0.3 (18 Mar 2019)
|
||||
|
||||
18 Mar 2019; Horea Christian <h.chr@mail.ru> +pypubsub-4.0.3.ebuild,
|
||||
-ChangeLog, -files/pypubsub-3.3.0-imports.patch, -pypubsub-9999.ebuild,
|
||||
pypubsub-3.4.0.ebuild:
|
||||
dev-python/pypubsub: new ebuild
|
1
dev-python/black/Manifest
Normal file
1
dev-python/black/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST black-19.10b0.tar.gz 1019740 SHA256 c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539 SHA512 abc6d2623ab50e59bed01fdb7a6ee7434c2d3e0f779a046d9141087aa6ef46b73b3aacc6bf84ac70b9384817bd2c707a3fa262811f11a2f61a99251d2b84dd02 WHIRLPOOL ada4dcc02b429235d73e41a7bfc2652d05da49276aac8108a823ef191034eb60bbee3f8d5cb1d6f8c8422246647a498ddec15120c4a7b6b30e03149c5fb52ef5
|
40
dev-python/black/black-19.10_beta_p0.ebuild
Normal file
40
dev-python/black/black-19.10_beta_p0.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
MY_PV="${MY_PV/_p/}"
|
||||
|
||||
DESCRIPTION="The uncompromising Python code formatter"
|
||||
HOMEPAGE="https://github.com/psf/black"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
dev-python/appdirs[${PYTHON_USEDEP}]
|
||||
dev-python/toml[${PYTHON_USEDEP}]
|
||||
dev-python/typed-ast[${PYTHON_USEDEP}]
|
||||
dev-python/regex[${PYTHON_USEDEP}]
|
||||
dev-python/pathspec[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' 'python3_6' )
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
dev-python/mypy_extensions[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
python_test() {
|
||||
pytest -vv || die
|
||||
}
|
22
dev-python/black/metadata.xml
Normal file
22
dev-python/black/metadata.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chr@chymera.eu</email>
|
||||
<name>Horea Christian</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>sci@gentoo.org</email>
|
||||
<name>Gentoo Science Project</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Black is the uncompromising Python code formatter. By using it, you agree
|
||||
to cede control over minutiae of hand-formatting. In return, Black gives
|
||||
you speed, determinism, and freedom from pycodestyle nagging about formatting.
|
||||
You will save time and mental energy for more important matters.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">psf/black</remote-id>
|
||||
<remote-id type="pypi">black</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user