Skip to content

Commit

Permalink
dev-python/python-efl: Version bump
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.8, Repoman-2.3.1
  • Loading branch information
bjacquin committed Oct 9, 2017
1 parent 4356a41 commit 57cf191
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/python-efl/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST python-efl-1.17.0.tar.xz 8835228 SHA256 9ea0fe0938bd4a970206b2b18f46f4d2a4fd1994e9b5f84af2d5f9fa98739179 SHA512 ff610dbacf72853b6c8fb1dcd41451f97156845efeb67a2d5d6c35d9b20c0f024c145a26a579f675bc2ad5844c23e58d8b21a09374aa195174f1a0c6316c0de4 WHIRLPOOL 0ee05c0cb175128c4719883a4c362ce4b3f98a93a7d960e47be2fa60a375748fc89599a111277d77a44caa9c96ad509d5b1c14c1ebafeb739461914560f2b4ed
DIST python-efl-1.18.0.tar.xz 8927932 SHA256 1751e119c3fc4ee842c00ae3d667d6bda88d92eff424b06a31e9407db8ee225d SHA512 c1fc8d4129c2ac61b367ad373ad676a60cf0aed4c9150104d7e81bf464c44a3a5ae555d2298bbf1bdf6a3d6ba3b7d934af390e36755a1516972db2675d920c2b WHIRLPOOL cb5e9df770b4dd5fae78b6e7ba0ff8e593f9fa5c1ee098a5976250e2b44e3c428b57ef58dd184abd50beef29af1c08574b8f84be4e3ce06218580f6e559e068a
DIST python-efl-1.20.0.tar.xz 8984492 SHA256 70de0ee3fabe1e91da5aa0ca09dd908b62dbbeb5fce86ec194b8793967c30ea3 SHA512 93d8d6c990350074e203bf3632d92b5253f34f318b30357b05ab5ab73a9f6656d127ff0c1831af1bf7c736822b483c12754085e52103eb0e41362cc28db5651f WHIRLPOOL 4ca0042d7ecb5b5f8103cef0abb80a884ef1aa7e0432e8590012dc82c435837205cd29b378589ac2ac66c77f85dbdf979d3e1ed5363b11d6b35df42dd71b6b8e
61 changes: 61 additions & 0 deletions dev-python/python-efl/python-efl-1.20.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Copyright 1999-2017 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="http://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
}

0 comments on commit 57cf191

Please sign in to comment.