Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-efl/
Date: Sun, 21 Feb 2016 19:04:01
Message-Id: 1456081423.c19180e0ae136723e1aa82edafe5be2060bc1756.vapier@gentoo
1 commit: c19180e0ae136723e1aa82edafe5be2060bc1756
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 21 19:01:11 2016 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 21 19:03:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c19180e0
7
8 dev-python/python-efl: version bump to 1.17.0
9
10 dev-python/python-efl/Manifest | 1 +
11 dev-python/python-efl/python-efl-1.17.0.ebuild | 62 ++++++++++++++++++++++++++
12 2 files changed, 63 insertions(+)
13
14 diff --git a/dev-python/python-efl/Manifest b/dev-python/python-efl/Manifest
15 index beada91..dde111b 100644
16 --- a/dev-python/python-efl/Manifest
17 +++ b/dev-python/python-efl/Manifest
18 @@ -1 +1,2 @@
19 DIST python-efl-1.16.0.tar.xz 8737592 SHA256 3418ca7dc38f07bf610b9dcc7ce356bc8c45247a2100679bf840f640e2744e90 SHA512 6ee6f373b376af67af4124360482f7f0c2fb8b6e4c354ebba21c141a06be3f68ff17dcea45422c38d9e19595df035603df268aff74489007be6b9db13b861812 WHIRLPOOL 14cf92c31efae6a75de3d693075db8c3657519a60662db3373c8abef655d982f24e8ceddf10be605ec515b15d545ca4e2417767e3e48d68639e312f089bf2eff
20 +DIST python-efl-1.17.0.tar.xz 8835228 SHA256 9ea0fe0938bd4a970206b2b18f46f4d2a4fd1994e9b5f84af2d5f9fa98739179 SHA512 ff610dbacf72853b6c8fb1dcd41451f97156845efeb67a2d5d6c35d9b20c0f024c145a26a579f675bc2ad5844c23e58d8b21a09374aa195174f1a0c6316c0de4 WHIRLPOOL 0ee05c0cb175128c4719883a4c362ce4b3f98a93a7d960e47be2fa60a375748fc89599a111277d77a44caa9c96ad509d5b1c14c1ebafeb739461914560f2b4ed
21
22 diff --git a/dev-python/python-efl/python-efl-1.17.0.ebuild b/dev-python/python-efl/python-efl-1.17.0.ebuild
23 new file mode 100644
24 index 0000000..a1ba58e
25 --- /dev/null
26 +++ b/dev-python/python-efl/python-efl-1.17.0.ebuild
27 @@ -0,0 +1,62 @@
28 +# Copyright 1999-2016 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +# $Id$
31 +
32 +EAPI="5"
33 +
34 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
35 +
36 +MY_P=${P/_/-}
37 +
38 +if [[ "${PV}" == "9999" ]] ; then
39 + EGIT_SUB_PROJECT="bindings/python"
40 + EGIT_URI_APPEND="${PN}"
41 + EGIT_REPO_URI="git://git.enlightenment.org/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}.git"
42 + inherit git-2
43 +else
44 + SRC_URI="https://download.enlightenment.org/rel/bindings/python/${MY_P}.tar.xz"
45 +fi
46 +
47 +inherit distutils-r1
48 +
49 +DESCRIPTION="Python bindings for Enlightenment Fundation Libraries"
50 +HOMEPAGE="http://www.enlightenment.org"
51 +
52 +LICENSE="|| ( GPL-3 LGPL-3 )"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +IUSE="doc examples"
56 +
57 +RDEPEND=">=dev-libs/efl-${PV}
58 + >=media-libs/elementary-${PV}
59 + >dev-python/dbus-python-0.83[${PYTHON_USEDEP}]"
60 +DEPEND="${RDEPEND}
61 + virtual/pkgconfig
62 + dev-python/setuptools[${PYTHON_USEDEP}]
63 + >=dev-python/cython-0.17[${PYTHON_USEDEP}]
64 + doc? (
65 + media-gfx/graphviz[python]
66 + dev-python/sphinx[${PYTHON_USEDEP}]
67 + )
68 + doc? ( >dev-python/sphinx-1.0[${PYTHON_USEDEP}] )"
69 +
70 +python_compile_all() {
71 + if use doc ; then
72 + # Point sphinx to right location with builded sources
73 + sed -i 's|"../build/"+d|"'"${BUILD_DIR}"'/lib"|g' doc/conf.py
74 + esetup.py build_doc --build-dir "${S}"/build/doc/
75 + fi
76 +}
77 +
78 +python_test() {
79 + cd "${S}"/tests
80 + rm -f ecore/test_09_file_download.py # violates sandbox
81 + sed -i 's:verbosity=1:verbosity=3:' 00_run_all_tests.py || die
82 + ${PYTHON} 00_run_all_tests.py --verbose || die "Tests failed with ${EPYTHON}"
83 +}
84 +
85 +python_install_all() {
86 + use doc && DOCS=( "${S}"/build/doc/html )
87 + use examples && EXAMPLES=( examples/. )
88 + distutils-r1_python_install_all
89 +}