diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2018-06-26 10:57:15 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-06-26 10:57:29 +0200 |
commit | 0e80dd82fbd89c63f33ef589f18df4d7c0be2df0 (patch) | |
tree | bfc9926e84c5f45a4836f1d5efd8b3db5dfefd57 /dev-python/prettyprinter | |
parent | net-irc/eggdrop: use https for the HOMEPAGE (diff) | |
download | gentoo-0e80dd82fbd89c63f33ef589f18df4d7c0be2df0.tar.gz gentoo-0e80dd82fbd89c63f33ef589f18df4d7c0be2df0.tar.bz2 gentoo-0e80dd82fbd89c63f33ef589f18df4d7c0be2df0.zip |
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
Diffstat (limited to 'dev-python/prettyprinter')
-rw-r--r-- | dev-python/prettyprinter/Manifest | 1 | ||||
-rw-r--r-- | dev-python/prettyprinter/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/prettyprinter/prettyprinter-0.13.2.ebuild | 23 |
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/prettyprinter/Manifest b/dev-python/prettyprinter/Manifest new file mode 100644 index 000000000000..04db5a0062c0 --- /dev/null +++ b/dev-python/prettyprinter/Manifest @@ -0,0 +1 @@ +DIST prettyprinter-0.13.2.tar.gz 644753 BLAKE2B cdefadd64b3de6a65135fd474c2f19567d26985acdf8c520f6334980bbf85b393fd6450d1abfed9d005adabae2b6a2adbe08d6448e43caf4c66bb3cc126dd0f4 SHA512 07c4d1d7abc56cc6677aa71ef2a156499ee3618693414d0ada4e451325d633835b11561e50ad6824341cff85a95f6703a663856bd3e3b20f2716f835bfc65041 diff --git a/dev-python/prettyprinter/metadata.xml b/dev-python/prettyprinter/metadata.xml new file mode 100644 index 000000000000..bcee0b1ca85b --- /dev/null +++ b/dev-python/prettyprinter/metadata.xml @@ -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> diff --git a/dev-python/prettyprinter/prettyprinter-0.13.2.ebuild b/dev-python/prettyprinter/prettyprinter-0.13.2.ebuild new file mode 100644 index 000000000000..4019b436c774 --- /dev/null +++ b/dev-python/prettyprinter/prettyprinter-0.13.2.ebuild @@ -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 +} |