From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/visual: ChangeLog visual-5.3.2.ebuild |
Date: | Sat, 10 Apr 2010 19:12:59 |
Message-Id: | 20100410191255.1A3562C04A@corvid.gentoo.org |
1 | arfrever 10/04/10 19:12:54 |
2 | |
3 | Modified: ChangeLog |
4 | Added: visual-5.3.2.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: HEAD/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.38 dev-python/visual/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/visual/ChangeLog?rev=1.38&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/visual/ChangeLog?rev=1.38&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/visual/ChangeLog?r1=1.37&r2=1.38 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v |
19 | retrieving revision 1.37 |
20 | retrieving revision 1.38 |
21 | diff -u -r1.37 -r1.38 |
22 | --- ChangeLog 8 Apr 2010 03:47:50 -0000 1.37 |
23 | +++ ChangeLog 10 Apr 2010 19:12:54 -0000 1.38 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-python/visual |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.37 2010/04/08 03:47:50 arfrever Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.38 2010/04/10 19:12:54 arfrever Exp $ |
29 | + |
30 | +*visual-5.3.2 (10 Apr 2010) |
31 | + |
32 | + 10 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 | + +visual-5.3.2.ebuild: |
34 | + Version bump. |
35 | |
36 | *visual-5.3.1 (08 Apr 2010) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/visual/visual-5.3.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/visual/visual-5.3.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/visual/visual-5.3.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: visual-5.3.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.3.2.ebuild,v 1.1 2010/04/10 19:12:54 arfrever Exp $ |
51 | |
52 | EAPI="3" |
53 | PYTHON_DEPEND="2" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
56 | |
57 | inherit eutils flag-o-matic python versionator |
58 | |
59 | MY_P="${PN}-$(delete_version_separator 2)_release" |
60 | |
61 | DESCRIPTION="Real-time 3D graphics library for Python" |
62 | HOMEPAGE="http://www.vpython.org/" |
63 | SRC_URI="http://www.vpython.org/contents/download/${MY_P}.tar.bz2" |
64 | |
65 | IUSE="doc examples" |
66 | SLOT="0" |
67 | KEYWORDS="~amd64 ~ppc ~x86" |
68 | LICENSE="visual" |
69 | |
70 | RDEPEND=">=dev-libs/boost-1.41.0[python] |
71 | dev-cpp/libglademm |
72 | >=dev-cpp/gtkglextmm-1.2 |
73 | dev-python/numpy" |
74 | # dev-python/polygon-2* |
75 | # >=dev-python/ttfquery-1.0.4 |
76 | DEPEND="${RDEPEND} |
77 | dev-util/pkgconfig" |
78 | RESTRICT_PYTHON_ABIS="3.*" |
79 | |
80 | S="${WORKDIR}/${MY_P}" |
81 | |
82 | src_configure() { |
83 | BOOST_PKG="$(best_version ">=dev-libs/boost-1.41.0")" |
84 | BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
85 | BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
86 | BOOST_INC="/usr/include/boost-${BOOST_VER}" |
87 | BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}" |
88 | |
89 | # We have to use a hack here because the build system doesn't provide a way to specify |
90 | # the include and lib directory for boost. |
91 | append-cxxflags -I${BOOST_INC} |
92 | append-ldflags -L${BOOST_LIB} |
93 | |
94 | python_execute_function -d -s -- \ |
95 | --with-html-dir=/usr/share/doc/${PF}/html \ |
96 | --with-example-dir=/usr/share/doc/${PF}/examples \ |
97 | $(use_enable doc docs) \ |
98 | $(use_enable examples) |
99 | } |
100 | |
101 | src_install() { |
102 | python_src_install |
103 | python_clean_sitedirs |
104 | |
105 | dodoc authors.txt HACKING.txt NEWS.txt || die "dodoc failed" |
106 | |
107 | # Don't install useless vpython script. |
108 | rm -fr "${ED}/usr/bin" |
109 | } |
110 | |
111 | pkg_postinst() { |
112 | python_mod_optimize visual |
113 | } |
114 | |
115 | pkg_postrm() { |
116 | python_mod_cleanup visual |
117 | } |