Initial import
This commit is contained in:
2
dev-python/urwid/Manifest
Normal file
2
dev-python/urwid/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST urwid-2.1.0.tar.gz 630226 SHA256 0896f36060beb6bf3801cb554303fef336a79661401797551ba106d23ab4cd86 SHA512 c121c0e49ab9531f67bff8740d29fc716fb8c9203e1b2ddb7257f01095e0bf976f3f2131a3b1f95a3b5368ddeea6a09b9c867ab459b91e3e9be6cba4f18ec654 WHIRLPOOL 168319d548b033b20183f44726b6afc7e1d46d8a0782f5c24d26d9cbad0c994c651e1943c3f29f640234239874458b7152238ab847f0ffcf8b259a30b6504cdd
|
||||
EBUILD urwid-2.1.0.ebuild 1034 SHA256 c2d1af4a3a78dab0655d9e9409f167ef4619e7eb424274a3d7c8dfa226053288 SHA512 bd83356d92ecd7db9f7ec2ead643b1cff81d2c2c1e87c09de3b8133922ff8cd48ad88d7ca28d29241f2fdc730958641099bbf0b49a1d984c588d166bd2d131e1 WHIRLPOOL bb9e717c3d6c179486afdb824bd83cd4a50f0f763abe618d838ec360d33acfe5878ebdf7190fdbb36f8ef06e039b1e79d3b97a690c0e985e7c9f359e3171447b
|
||||
49
dev-python/urwid/urwid-2.1.0.ebuild
Normal file
49
dev-python/urwid/urwid-2.1.0.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7,8} )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Curses-based user interface library for Python"
|
||||
HOMEPAGE="http://urwid.org/ https://pypi.org/project/urwid/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build docs _build/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
export CFLAGS
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && dodoc -r examples
|
||||
use doc && local HTML_DOCS=( _build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user