You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/lcdproc/lcdproc-0.03_p20150508.ebuild

31 lines
741 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_COMMIT="973628fc326177c9deaf3f2e1a435159eb565ae0"
MY_PV="$(ver_cut 1-2)"
PYTHON_COMPAT=( python3_{7..10} )
inherit distutils-r1
DESCRIPTION="Python OOP wrapper library for LCDproc Telnet API"
HOMEPAGE="https://github.com/jinglemansweep/lcdproc"
SRC_URI="https://github.com/jinglemansweep/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="app-misc/lcdproc"
DOCS=( "README.textile" "examples.py" )
src_prepare() {
default
# Fix setuptools version warning
sed -e "s/${MY_PV}/${MY_PV:0:(-3)}.${MY_PV:3}/" -i setup.py || die
}