Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pydvdread: pydvdread-1.0-r1.ebuild ChangeLog pydvdread-1.0.ebuild
Date: Wed, 02 Jul 2014 03:02:45
Message-Id: 20140702030240.7A5652004E@flycatcher.gentoo.org
1 idella4 14/07/02 03:02:40
2
3 Modified: ChangeLog
4 Added: pydvdread-1.0-r1.ebuild
5 Removed: pydvdread-1.0.ebuild
6 Log:
7 revbump, drop old, add missing dep, conversion -> distutils-r1, rm code re tests since test restricted (see comment), fixes Bug #514354
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
10
11 Revision Changes Path
12 1.2 dev-python/pydvdread/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydvdread/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydvdread/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydvdread/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/pydvdread/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 31 Dec 2012 08:30:05 -0000 1.1
25 +++ ChangeLog 2 Jul 2014 03:02:40 -0000 1.2
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-python/pydvdread
28 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pydvdread/ChangeLog,v 1.1 2012/12/31 08:30:05 vapier Exp $
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pydvdread/ChangeLog,v 1.2 2014/07/02 03:02:40 idella4 Exp $
32 +
33 +*pydvdread-1.0-r1 (02 Jul 2014)
34 +
35 + 02 Jul 2014; Ian Delaney <idella4@g.o> +pydvdread-1.0-r1.ebuild,
36 + -pydvdread-1.0.ebuild:
37 + revbump, drop old, add missing dep, conversion -> distutils-r1, rm code re
38 + tests since test restricted (see comment), fixes Bug #514354
39
40 *pydvdread-1.0 (31 Dec 2012)
41
42
43
44
45 1.1 dev-python/pydvdread/pydvdread-1.0-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydvdread/pydvdread-1.0-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydvdread/pydvdread-1.0-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: pydvdread-1.0-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-python/pydvdread/pydvdread-1.0-r1.ebuild,v 1.1 2014/07/02 03:02:40 idella4 Exp $
55
56 EAPI=5
57 PYTHON_COMPAT=( python2_7 pypy )
58
59 inherit distutils-r1
60
61 DESCRIPTION="A set of Python bindings for the libdvdread library"
62 HOMEPAGE="http://pydvdread.sourceforge.net/"
63 SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.bz2"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
68 IUSE=""
69 RESTRICT="test" # Requires an actual DVD to test.
70
71 DEPEND="media-libs/libdvdread
72 dev-lang/swig"
73 RDEPEND=""
74
75 PATCHES=( "${FILESDIR}"/${P}-py3k.patch \
76 "${FILESDIR}"/${P}-api-update.patch )
77
78 src_compile() {
79 # We had to patch some of the .i files, so regen the .py
80 # so that the distutils copy doesn't import old stuff.
81 # XXX: A python/swig expert might know a better way to do this.
82 set -- swig -python -o src/dvdread/all_wrap.c src/dvdread/all.i
83 echo "$@"
84 "$@" || die
85 distutils-r1_src_compile
86 }
87
88 python_test() {
89 "$(PYTHON)" tests/TestAll.py || die "Tests failed"
90 }