dev-python/climage - 0.2.2 (schplaf)

Search

Package Information

Description:
Tool that converts images to beautiful ANSI escape codes for display in CLI
Homepage:
https://github.com/pnappa/CLImage https://pypi.org/project/climage/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.2.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )

inherit distutils-r1 pypi

MY_PN=CLImage
MY_P=${MY_PN}-${PV}
S=${WORKDIR}/${MY_P}

DESCRIPTION="Tool that converts images to beautiful ANSI escape codes for display in CLI"
HOMEPAGE="
	https://github.com/pnappa/CLImage
	https://pypi.org/project/climage/
"
SRC_URI="https://github.com/pnappa/CLImage/archive/refs/tags/v${PV}.tar.gz -> ${MY_P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	dev-python/pillow[${PYTHON_USEDEP}]
	dev-python/pykdtree[${PYTHON_USEDEP}]
"
BDEPEND=""

DOCS=( README.md LICENSE )

distutils_enable_tests pytest

src_prepare() {
	eapply "${FILESDIR}"/${PN}-climage.py-pykdtree_import.patch
	
	eapply_user
}

src_install() {
	distutils-r1_src_install
}

Dependencies

RDEPEND

	dev-python/pillow[${PYTHON_USEDEP}]
	dev-python/pykdtree[${PYTHON_USEDEP}]

Manifest for 0.2.2

Type File Size Source URLs
DIST CLImage-0.2.2.tar.gz 119313 bytes https://github.com/pnappa/CLImage/archive/refs/tags/v0.2.2.tar.gz