dev-python/python-efl: clean old

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola
2019-08-24 08:39:19 +03:00
parent af34daf9d5
commit 6d05d9bbf4
2 changed files with 0 additions and 77 deletions

View File

@@ -1,2 +1 @@
DIST python-efl-1.21.0.tar.xz 9544352 BLAKE2B b49fc0e0d795a0334f647f414673fdaf3b086eda35f9e2d0e9e6a03d2cde572e6076eeb62c4f977b770a72e8f14d4ae536f46d0510b8753088d80e2dfc98e43f SHA512 23a8487b660e9885a1d43a4835c560edd8d27eeb9aa44f9e1878ac1d1acf9833fc62c14036fe0fe5e0bd1144cb993b0b67bcf42c78db8505ca1b8aad0715350f
DIST python-efl-1.22.0.tar.xz 9523624 BLAKE2B b1b7573da8546f580dcd06be03e4746f2e991245c7bbc3477090c5a9365225bca663454a202f8e05ec6c73cbfb7496ee5f92bc2a9997900e6709b01017740db6 SHA512 27e29af764166e803ce6a833c8249a91226a4315dd658631cec57513befccdc9407b04b452054ceab3f77b429d899095b49dbada2e0fd1a63ff6059ef200e497

View File

@@ -1,76 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5..7} )
inherit distutils-r1
DESCRIPTION="Python bindings for Enlightenment Foundation Libraries"
HOMEPAGE="https://phab.enlightenment.org/w/projects/python_bindings_for_efl/"
SRC_URI="https://download.enlightenment.org/rel/bindings/python/${P}.tar.xz"
LICENSE="|| ( GPL-3 LGPL-3 )"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
=dev-libs/efl-1.21*
dev-python/dbus-python[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
>=dev-python/cython-0.28.4[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
virtual/pkgconfig
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
media-gfx/graphviz
)
"
src_prepare() {
default
# Tries to download a file under /tmp
rm tests/ecore/test_09_file_download.py || die
# Tries to use that file which failed to download
rm tests/ecore/test_10_file_monitor.py || die
# Needs an active internet connetion
rm tests/ecore/test_11_con.py || die
# Test fails because of deleted files above
sed -i 's/>= 13/>= 10/g' tests/ecore/test_08_exe.py || die
# Make tests verbose
sed -i 's:verbosity=1:verbosity=3:' tests/00_run_all_tests.py || die
}
python_compile_all() {
if use doc ; then
# Point sphinx to right location with built sources
sed -i 's|"../build/"+d|"'"${BUILD_DIR}"'/lib"|g' doc/conf.py || die
esetup.py build_doc --build-dir "${S}"/build/doc/
fi
distutils-r1_python_compile
}
python_test() {
cd tests/ || die
${EPYTHON} 00_run_all_tests.py --verbose || die "Tests failed with ${EPYTHON}"
}
python_install_all() {
if use doc ; then
local HTML_DOCS=( build/doc/html/. )
fi
distutils-r1_python_install_all
}