mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-24 20:48:31 -07:00
dev-python/python-efl: clean old 1.20
Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Joonas Niilola <juippis@gmail.com> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
committed by
Andreas Sturmlechner
parent
ad88c09ebc
commit
b803a0abfd
@@ -1,3 +1,2 @@
|
||||
DIST python-efl-1.20.0.tar.xz 8984492 BLAKE2B 526c530d7b8dad59d01cefcbb6cad2710cb46c3b62eb0b2746c3552c8c1ef42cc4691072fbbce16a8a3b6ea9d6b5651a3645ca739e569a0f4db3dd9988ddf2fa SHA512 93d8d6c990350074e203bf3632d92b5253f34f318b30357b05ab5ab73a9f6656d127ff0c1831af1bf7c736822b483c12754085e52103eb0e41362cc28db5651f
|
||||
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
|
||||
|
||||
@@ -1,71 +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,6} )
|
||||
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"
|
||||
|
||||
RDEPEND="
|
||||
=dev-libs/efl-1.20*
|
||||
>=dev-python/dbus-python-0.83[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-python/cython-0.21[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
>=dev-python/sphinx-1.1[${PYTHON_USEDEP}]
|
||||
media-gfx/graphviz
|
||||
)
|
||||
"
|
||||
|
||||
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 "${S}"/tests || die
|
||||
|
||||
# Tries to download a file under /tmp
|
||||
rm -f ecore/test_09_file_download.py || die
|
||||
|
||||
# Tries to use that file which failed to download
|
||||
rm -f ecore/test_10_file_monitor.py || die
|
||||
|
||||
# Seems to need connman up and running during the test, requires:
|
||||
# net-misc/connman
|
||||
# dev-libs/efl[connman]
|
||||
rm -f ecore/test_11_con.py || die
|
||||
|
||||
# Test fails because of deleted files above
|
||||
sed -i 's/>= 13/>= 10/g' ecore/test_08_exe.py || die
|
||||
|
||||
sed -i 's:verbosity=1:verbosity=3:' 00_run_all_tests.py || 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
|
||||
}
|
||||
Reference in New Issue
Block a user