summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-21 18:54:43 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-21 18:57:39 +0100
commit1b5d86302785e6ef68712de4890303808c97d972 (patch)
tree3114305e5b21d7453ab7fd52b39b2fe015f42183 /dev-python/prompt-toolkit
parentdev-python/prompt_toolkit: Use pypi.eclass (diff)
downloadgentoo-1b5d86302785e6ef68712de4890303808c97d972.tar.gz
gentoo-1b5d86302785e6ef68712de4890303808c97d972.tar.bz2
gentoo-1b5d86302785e6ef68712de4890303808c97d972.zip
Rename dev-python/{prompt_toolkit → prompt-toolkit}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/prompt-toolkit')
-rw-r--r--dev-python/prompt-toolkit/Manifest1
-rw-r--r--dev-python/prompt-toolkit/metadata.xml13
-rw-r--r--dev-python/prompt-toolkit/prompt-toolkit-3.0.36.ebuild25
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/prompt-toolkit/Manifest b/dev-python/prompt-toolkit/Manifest
new file mode 100644
index 000000000000..365d7852cd94
--- /dev/null
+++ b/dev-python/prompt-toolkit/Manifest
@@ -0,0 +1 @@
+DIST prompt_toolkit-3.0.36.tar.gz 423863 BLAKE2B 1917ba618e4111f3d2d85f1063e3e34bc47cc1f60e1703be54cf92b98f72eb3cb3062381e16fd324953435ed67ce0711274f6d8faf735bf966283cc2201f1b65 SHA512 db77a3acb8a985b1df3d82eca7ac30fbd5e85bf3bc77f0f6da13af8064a7d4dc9d7fd57be3eabe5eecce610c8220ad493d296f2e425a8f69d62fddd1e419af1e
diff --git a/dev-python/prompt-toolkit/metadata.xml b/dev-python/prompt-toolkit/metadata.xml
new file mode 100644
index 000000000000..e67522584f55
--- /dev/null
+++ b/dev-python/prompt-toolkit/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">prompt-toolkit</remote-id>
+ <remote-id type="github">prompt-toolkit/python-prompt-toolkit</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/prompt-toolkit/prompt-toolkit-3.0.36.ebuild b/dev-python/prompt-toolkit/prompt-toolkit-3.0.36.ebuild
new file mode 100644
index 000000000000..40c5d051dccb
--- /dev/null
+++ b/dev-python/prompt-toolkit/prompt-toolkit-3.0.36.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Building powerful interactive command lines in Python"
+HOMEPAGE="
+ https://pypi.org/project/prompt-toolkit/
+ https://github.com/prompt-toolkit/python-prompt-toolkit/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+
+RDEPEND="
+ dev-python/wcwidth[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest