idella4     14/07/02 03:02:40

  Modified:             ChangeLog
  Added:                pydvdread-1.0-r1.ebuild
  Removed:              pydvdread-1.0.ebuild
  Log:
  revbump, drop old, add missing dep, conversion -> distutils-r1, rm code re 
tests since test restricted (see comment), fixes Bug #514354
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.2                  dev-python/pydvdread/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydvdread/ChangeLog?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydvdread/ChangeLog?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydvdread/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pydvdread/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog   31 Dec 2012 08:30:05 -0000      1.1
+++ ChangeLog   2 Jul 2014 03:02:40 -0000       1.2
@@ -1,6 +1,13 @@
 # ChangeLog for dev-python/pydvdread
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pydvdread/ChangeLog,v 1.1 
2012/12/31 08:30:05 vapier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pydvdread/ChangeLog,v 1.2 
2014/07/02 03:02:40 idella4 Exp $
+
+*pydvdread-1.0-r1 (02 Jul 2014)
+
+  02 Jul 2014; Ian Delaney <[email protected]> +pydvdread-1.0-r1.ebuild,
+  -pydvdread-1.0.ebuild:
+  revbump, drop old, add missing dep, conversion -> distutils-r1, rm code re
+  tests since test restricted (see comment), fixes Bug #514354
 
 *pydvdread-1.0 (31 Dec 2012)
 



1.1                  dev-python/pydvdread/pydvdread-1.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydvdread/pydvdread-1.0-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydvdread/pydvdread-1.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: pydvdread-1.0-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-python/pydvdread/pydvdread-1.0-r1.ebuild,v 1.1 
2014/07/02 03:02:40 idella4 Exp $

EAPI=5
PYTHON_COMPAT=( python2_7 pypy )

inherit distutils-r1

DESCRIPTION="A set of Python bindings for the libdvdread library"
HOMEPAGE="http://pydvdread.sourceforge.net/";
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
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"
IUSE=""
RESTRICT="test" # Requires an actual DVD to test.

DEPEND="media-libs/libdvdread
                dev-lang/swig"
RDEPEND=""

PATCHES=( "${FILESDIR}"/${P}-py3k.patch \
                "${FILESDIR}"/${P}-api-update.patch )

src_compile() {
        # We had to patch some of the .i files, so regen the .py
        # so that the distutils copy doesn't import old stuff.
        # XXX: A python/swig expert might know a better way to do this.
        set -- swig -python -o src/dvdread/all_wrap.c src/dvdread/all.i
        echo "$@"
        "$@"  || die
        distutils-r1_src_compile
}

python_test() {
        "$(PYTHON)" tests/TestAll.py || die "Tests failed"
}




Reply via email to