aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/ptpython')
-rw-r--r--dev-python/ptpython/Manifest3
-rw-r--r--dev-python/ptpython/metadata.xml12
-rw-r--r--dev-python/ptpython/ptpython-3.0.6.ebuild27
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/ptpython/Manifest b/dev-python/ptpython/Manifest
new file mode 100644
index 0000000..d5555c1
--- /dev/null
+++ b/dev-python/ptpython/Manifest
@@ -0,0 +1,3 @@
+DIST ptpython-3.0.6.tar.gz 403646 BLAKE2B f9f9474e1ef49b6939509ea7c30f80e7c0d34cea38ddc925a325e87c051a14899246bc1863e9dc3cbe586b128beb5298e16c003d5724b154ead77524d7036621 SHA512 4495f2b7bca416c25c8ce0bb130b34c291885dc1f32b875c00c492e89017a34c0bf838940d6168a0435d32c93889afb6b2de3867fff029bfb777b4a453a3950d
+EBUILD ptpython-3.0.6.ebuild 750 BLAKE2B 7b72f6d289dd7f3560d9e80ff92c21440554c8016624ce9ec6755b12423765789d52f1691e55d57e443abc55b2aee3c3e085faf08adec22561e246c963884800 SHA512 0c38c9181079afe139d1f6f3c4e5d7b76accc15aee1fa4238da74b1d01d555d1f770129d0c307655cc0803b68f56ed0aab7e2430e928b4676f880c96a2a4c94d
+MISC metadata.xml 386 BLAKE2B 3c952950b95b3f4b38f23f0ac0c25242cb6b0ce9f115a475a956098c246a59858ade285cb2e4df63019e3e0a9f730ad7911e183d5a9b35697006b18607e62b64 SHA512 99b03e22dd04923f3d25f8e50230bf93055f51096ca5c2c6a2613ea3ce219e0192720e29b9fe43de79768b9ec4e2818a730790f4f62cf468e272b3604ea21a26
diff --git a/dev-python/ptpython/metadata.xml b/dev-python/ptpython/metadata.xml
new file mode 100644
index 0000000..ec02a39
--- /dev/null
+++ b/dev-python/ptpython/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</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">ptpython</remote-id>
+ <remote-id type="github">prompt-toolkit/ptpython</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/ptpython/ptpython-3.0.6.ebuild b/dev-python/ptpython/ptpython-3.0.6.ebuild
new file mode 100644
index 0000000..ebc4ae5
--- /dev/null
+++ b/dev-python/ptpython/ptpython-3.0.6.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Python REPL build on top of prompt_toolkit"
+HOMEPAGE="https://pypi.org/project/ptpython/ https://github.com/prompt-toolkit/ptpython"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-python/appdirs[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/importlib_metadata[${PYTHON_USEDEP}]
+ ' python3_{6,7})
+ dev-python/jedi[${PYTHON_USEDEP}]
+ >=dev-python/prompt_toolkit-3.0.0[${PYTHON_USEDEP}]
+ <dev-python/prompt_toolkit-3.1.0[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+"