mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-python/pyinquirer: treeclean
mask is not enough to fix the sourcing problems, cleanup now instead Closes: https://bugs.gentoo.org/848285 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST PyInquirer-1.0.3_p20200708.tar.gz 128841 BLAKE2B 45dcb13d0f500e808057d4bf8e671d24c67efe13fc5d61ec12d8ec1f8f829addd72d61e8fd6005b05f63ba6a02962ffb17603db73220755142eec2170ff7659f SHA512 37665164da9fd7ccfe2b43036afb8a771fd85871b89675c970cf20925e61277239e2a1bc6be3bba1daabdafe1fe7183e63d20dadaf6a0cc95d7bc491a54197b9
|
||||
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>coppens.matthias.abc@gmail.com</email>
|
||||
<name>Matthias Coppens</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
PyInquirer strives to be an easily embeddable and beautiful
|
||||
command line interface for Python. PyInquirer wants to make it
|
||||
easy for existing Inquirer.js users to write immersive
|
||||
command line applications in Python. We are convinced that its
|
||||
feature-set is the most complete for building immersive
|
||||
CLI applications. We also hope that PyInquirer proves itself
|
||||
useful to Python users.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">CITGuru/PyInquirer</remote-id>
|
||||
<remote-id type="pypi">PyInquirer</remote-id>
|
||||
<bugs-to>https://github.com/CITGuru/PyInquirer/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PN0="PyInquirer"
|
||||
P0="${PN0}-${PV}"
|
||||
COMMIT="7485a1fd5442332399d5f05c84e4fd74b63a5823"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/CITGuru/${PN0}"
|
||||
case "${PV}" in
|
||||
9999)
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
SRC_URI="${EGIT_REPO_URI}/archive/${COMMIT}.tar.gz -> ${P0}.tar.gz"
|
||||
S="${WORKDIR}/${PN0}-${COMMIT}"
|
||||
esac
|
||||
|
||||
PYTHON_COMPAT=( python3_8 )
|
||||
inherit distutils-r1
|
||||
# conf.py gone???
|
||||
#distutils_enable_sphinx docs
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DESCRIPTION="A Python module for common interactive command line UIs"
|
||||
HOMEPAGE="https://github.com/CITGuru/PyInquirer"
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
# Tests are outdated, they fail for >dev-python/ptyprocess-0.5.1
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/prompt_toolkit-3.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/prompt_toolkit-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.2.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/testfixtures[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-html-1.10.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ptyprocess-0.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/regex-2016.11.21[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e 's/packages=find_packages(exclude=\[/\0"examples", /' setup.py ||
|
||||
die "Failed to patch setup.py"
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PN0="PyInquirer"
|
||||
P0="${PN0}-${PV}"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/CITGuru/${PN0}"
|
||||
case "${PV}" in
|
||||
9999)
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
SRC_URI="${EGIT_REPO_URI}/archive/${PV}.tar.gz -> ${P0}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${P0}"
|
||||
esac
|
||||
|
||||
PYTHON_COMPAT=( python3_8 )
|
||||
inherit distutils-r1
|
||||
distutils_enable_sphinx docs
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DESCRIPTION="A Python module for common interactive command line UIs"
|
||||
HOMEPAGE="https://github.com/CITGuru/PyInquirer"
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
# Tests are outdated, they fail for >dev-python/ptyprocess-0.5.1
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/prompt_toolkit-3.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/prompt_toolkit-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.2.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/testfixtures[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-html-1.10.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ptyprocess-0.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/regex-2016.11.21[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e 's/packages=find_packages(exclude=\[/\0"examples", /' setup.py ||
|
||||
die "Failed to patch setup.py"
|
||||
}
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
# Andrew Ammerlaan <andrewammerlaan@gentoo.org> (2023-01-14)
|
||||
# Needs python_compat bump. Removal on 2023-01-29.
|
||||
dev-python/pyinquirer
|
||||
dev-python/recordclass
|
||||
dev-python/ryu
|
||||
games-fps/crispy-doom
|
||||
|
||||
Reference in New Issue
Block a user