mgorny      14/04/16 08:52:24

  Modified:             ChangeLog
  Added:                python-fastimport-0.9.2-r1.ebuild
  Log:
  Convert to distutils-r1. Enable tests.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.7                  dev-python/python-fastimport/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-fastimport/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ChangeLog   11 Aug 2012 09:29:36 -0000      1.6
+++ ChangeLog   16 Apr 2014 08:52:23 -0000      1.7
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/python-fastimport
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-fastimport/ChangeLog,v 
1.6 2012/08/11 09:29:36 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-fastimport/ChangeLog,v 
1.7 2014/04/16 08:52:23 mgorny Exp $
+
+*python-fastimport-0.9.2-r1 (16 Apr 2014)
+
+  16 Apr 2014; Michał Górny <[email protected]>
+  +python-fastimport-0.9.2-r1.ebuild:
+  Convert to distutils-r1. Enable tests.
 
   11 Aug 2012; Agostino Sarubbo <[email protected]>
   python-fastimport-0.9.2.ebuild:
@@ -30,4 +36,3 @@
   13 Feb 2012; Alexandre Rostovtsev <[email protected]>
   +python-fastimport-0.9.0.ebuild, +metadata.xml:
   New ebuild for a fastimport format parser library, needed for bzr-fastimport.
-



1.1                  
dev-python/python-fastimport/python-fastimport-0.9.2-r1.ebuild

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

Index: python-fastimport-0.9.2-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/python-fastimport/python-fastimport-0.9.2-r1.ebuild,v
 1.1 2014/04/16 08:52:23 mgorny Exp $

EAPI=5

PYTHON_COMPAT=( python{2_6,2_7} pypy )

inherit distutils-r1

DESCRIPTION="Library for parsing the fastimport VCS serialization format"
HOMEPAGE="https://launchpad.net/python-fastimport";
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

RDEPEND=""
DEPEND="
        test? (
                dev-python/testtools[${PYTHON_USEDEP}]
                virtual/python-unittest2[${PYTHON_USEDEP}]
        )"

python_test() {
        local test_runner=( "${PYTHON}" -m unittest )

        if [[ ${EPYTHON} == python2.6 ]]; then
                test_runner=( unit2 )
        fi

        "${test_runner[@]}" fastimport.tests.test_suite \
                || die "Tests fail with ${EPYTHON}"
}




Reply via email to