dev-python/python-efl: clean old

Package-Manager: Portage[mgorny]-2.3.36.1
Closes: https://github.com/gentoo/gentoo/pull/9158
This commit is contained in:
Joonas Niilola
2018-07-09 19:55:04 +03:00
committed by Andreas Sturmlechner
parent 238ec8b52d
commit 98e0dad2a0
3 changed files with 0 additions and 123 deletions

View File

@@ -1,3 +1,2 @@
DIST python-efl-1.17.0.tar.xz 8835228 BLAKE2B 0380bfa9ac8a9553bf3c1fa4ed7f4c65007e75ebe159427aff12cfd7359859b42e56b5ebcb02af97324696c3addbc9fe31b4dbe23d4dbe2574b056e4e6d23297 SHA512 ff610dbacf72853b6c8fb1dcd41451f97156845efeb67a2d5d6c35d9b20c0f024c145a26a579f675bc2ad5844c23e58d8b21a09374aa195174f1a0c6316c0de4
DIST python-efl-1.18.0.tar.xz 8927932 BLAKE2B c1b41e1316c78fc42cf21541aba386dce799f1ec26549dda8c547de4cf47870a100070bb442d21116ce956808bcf948eba96601343512ba61fb1fc472e2574be SHA512 c1fc8d4129c2ac61b367ad373ad676a60cf0aed4c9150104d7e81bf464c44a3a5ae555d2298bbf1bdf6a3d6ba3b7d934af390e36755a1516972db2675d920c2b
DIST python-efl-1.20.0.tar.xz 8984492 BLAKE2B 526c530d7b8dad59d01cefcbb6cad2710cb46c3b62eb0b2746c3552c8c1ef42cc4691072fbbce16a8a3b6ea9d6b5651a3645ca739e569a0f4db3dd9988ddf2fa SHA512 93d8d6c990350074e203bf3632d92b5253f34f318b30357b05ab5ab73a9f6656d127ff0c1831af1bf7c736822b483c12754085e52103eb0e41362cc28db5651f

View File

@@ -1,61 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
MY_P=${P/_/-}
if [[ "${PV}" == "9999" ]] ; then
EGIT_SUB_PROJECT="bindings/python"
EGIT_URI_APPEND="${PN}"
EGIT_REPO_URI="https://git.enlightenment.org/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}.git"
inherit git-2
else
SRC_URI="https://download.enlightenment.org/rel/bindings/python/${MY_P}.tar.xz"
fi
inherit distutils-r1
DESCRIPTION="Python bindings for Enlightenment Fundation Libraries"
HOMEPAGE="https://www.enlightenment.org"
LICENSE="|| ( GPL-3 LGPL-3 )"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples"
RDEPEND=">=dev-libs/efl-${PV}
>=media-libs/elementary-${PV}
>dev-python/dbus-python-0.83[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
virtual/pkgconfig
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/cython-0.17[${PYTHON_USEDEP}]
doc? (
media-gfx/graphviz[python]
dev-python/sphinx[${PYTHON_USEDEP}]
)
doc? ( >dev-python/sphinx-1.0[${PYTHON_USEDEP}] )"
python_compile_all() {
if use doc ; then
# Point sphinx to right location with builded sources
sed -i 's|"../build/"+d|"'"${BUILD_DIR}"'/lib"|g' doc/conf.py
esetup.py build_doc --build-dir "${S}"/build/doc/
fi
}
python_test() {
cd "${S}"/tests
rm -f ecore/test_09_file_download.py # violates sandbox
sed -i 's:verbosity=1:verbosity=3:' 00_run_all_tests.py || die
${PYTHON} 00_run_all_tests.py --verbose || die "Tests failed with ${EPYTHON}"
}
python_install_all() {
use doc && DOCS=( "${S}"/build/doc/html )
use examples && EXAMPLES=( examples/. )
distutils-r1_python_install_all
}

View File

@@ -1,61 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
MY_P=${P/_/-}
if [[ "${PV}" == "9999" ]]; then
EGIT_SUB_PROJECT="bindings/python"
EGIT_URI_APPEND="${PN}"
EGIT_REPO_URI="https://git.enlightenment.org/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}.git"
inherit git-2
else
SRC_URI="https://download.enlightenment.org/rel/bindings/python/${MY_P}.tar.xz"
fi
inherit distutils-r1
DESCRIPTION="Python bindings for Enlightenment Fundation Libraries"
HOMEPAGE="https://www.enlightenment.org"
LICENSE="|| ( GPL-3 LGPL-3 )"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="doc examples"
RDEPEND=">=dev-libs/efl-${PV}
>dev-python/dbus-python-0.83[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
virtual/pkgconfig
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/cython-0.21[${PYTHON_USEDEP}]
doc? (
media-gfx/graphviz[python]
dev-python/sphinx[${PYTHON_USEDEP}]
)
doc? ( >dev-python/sphinx-1.0[${PYTHON_USEDEP}] )"
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
}
python_test() {
cd "${S}"/tests || die
# violates sandbox
rm -f ecore/test_09_file_download.py || die
sed -i 's:verbosity=1:verbosity=3:' 00_run_all_tests.py || die
${PYTHON} 00_run_all_tests.py --verbose || die "Tests failed with ${EPYTHON}"
}
python_install_all() {
use doc && DOCS=( "${S}"/build/doc/html )
use examples && EXAMPLES=( examples/. )
distutils-r1_python_install_all
}