dev-python/prettyprinter: new package.

prettyprinter is a syntax-highlighting, declarative and composable
pretty printer for Python 3.5+.

Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Patrice Clement
2018-06-26 10:57:15 +02:00
parent 98b5681bf0
commit 0e80dd82fb
3 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST prettyprinter-0.13.2.tar.gz 644753 BLAKE2B cdefadd64b3de6a65135fd474c2f19567d26985acdf8c520f6334980bbf85b393fd6450d1abfed9d005adabae2b6a2adbe08d6448e43caf4c66bb3cc126dd0f4 SHA512 07c4d1d7abc56cc6677aa71ef2a156499ee3618693414d0ada4e451325d633835b11561e50ad6824341cff85a95f6703a663856bd3e3b20f2716f835bfc65041

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python Project</name>
</maintainer>
<upstream>
<remote-id type="pypi">prettyprinter</remote-id>
<remote-id type="github">tommikaikkonen/prettyprinter</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,23 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
inherit distutils-r1
DESCRIPTION="Syntax-highlighting, declarative and composable pretty printer"
HOMEPAGE="https://github.com/tommikaikkonen/prettyprinter"
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_install() {
distutils-r1_python_install
find "${ED}" -name '*.pth' -delete || die
}