From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pysfml: ChangeLog pysfml-1.6-r1.ebuild |
Date: | Sun, 03 Aug 2014 04:20:18 |
Message-Id: | 20140803042013.2B3092004E@flycatcher.gentoo.org |
1 | radhermit 14/08/03 04:20:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pysfml-1.6-r1.ebuild |
5 | Log: |
6 | Migrate to distutils-r1 and use specific libsfml version dep. |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 | |
10 | Revision Changes Path |
11 | 1.4 dev-python/pysfml/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysfml/ChangeLog?rev=1.4&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysfml/ChangeLog?rev=1.4&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysfml/ChangeLog?r1=1.3&r2=1.4 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pysfml/ChangeLog,v |
20 | retrieving revision 1.3 |
21 | retrieving revision 1.4 |
22 | diff -u -r1.3 -r1.4 |
23 | --- ChangeLog 1 Dec 2012 00:05:10 -0000 1.3 |
24 | +++ ChangeLog 3 Aug 2014 04:20:11 -0000 1.4 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/pysfml |
27 | -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pysfml/ChangeLog,v 1.3 2012/12/01 00:05:10 radhermit Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pysfml/ChangeLog,v 1.4 2014/08/03 04:20:11 radhermit Exp $ |
31 | + |
32 | +*pysfml-1.6-r1 (03 Aug 2014) |
33 | + |
34 | + 03 Aug 2014; Tim Harder <radhermit@g.o> +pysfml-1.6-r1.ebuild: |
35 | + Migrate to distutils-r1 and use specific libsfml version dep. |
36 | |
37 | 01 Dec 2012; Tim Harder <radhermit@g.o> pysfml-1.6.ebuild: |
38 | Fix LICENSE (bug #445426 by ulm). |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/pysfml/pysfml-1.6-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysfml/pysfml-1.6-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysfml/pysfml-1.6-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: pysfml-1.6-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pysfml/pysfml-1.6-r1.ebuild,v 1.1 2014/08/03 04:20:11 radhermit Exp $ |
52 | |
53 | EAPI="5" |
54 | PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
55 | |
56 | inherit distutils-r1 |
57 | |
58 | DESCRIPTION="Python library for the Simple and Fast Multimedia Library (SFML)" |
59 | HOMEPAGE="http://sfml.sourceforge.net/" |
60 | SRC_URI="mirror://sourceforge/sfml/SFML-${PV}-python-sdk.zip" |
61 | |
62 | LICENSE="ZLIB" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~x86" |
65 | IUSE="doc examples" |
66 | |
67 | DEPEND="~media-libs/libsfml-${PV}" |
68 | RDEPEND="${DEPEND}" |
69 | |
70 | S=${WORKDIR}/SFML-${PV}/python |
71 | |
72 | python_compile() { |
73 | if [[ ${EPYTHON} == python2* ]] ; then |
74 | local CFLAGS="${CFLAGS} -fno-strict-aliasing" |
75 | export CFLAGS |
76 | fi |
77 | |
78 | distutils-r1_python_compile |
79 | } |
80 | |
81 | python_install_all() { |
82 | distutils-r1_python_install_all |
83 | use doc && dohtml doc/* |
84 | |
85 | if use examples ; then |
86 | insinto /usr/share/doc/${PF}/examples |
87 | doins -r samples/* || die "doins failed" |
88 | fi |
89 | } |