alunduil    15/04/06 15:19:42

  Modified:             ChangeLog
  Added:                unittest2-1.0.1-r1.ebuild
  Log:
  add fixes proposed by Arfrever
  
  * RDEPEND and DEPEND on dev-python/setuptools
  * drop dependence on dev-python/linecache2
  * drop sed (suspect return value) and use patch
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
11A8217C!)

Revision  Changes    Path
1.59                 dev-python/unittest2/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/unittest2/ChangeLog,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- ChangeLog   3 Apr 2015 20:54:15 -0000       1.58
+++ ChangeLog   6 Apr 2015 15:19:42 -0000       1.59
@@ -1,6 +1,14 @@
 # ChangeLog for dev-python/unittest2
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/unittest2/ChangeLog,v 1.58 
2015/04/03 20:54:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/unittest2/ChangeLog,v 1.59 
2015/04/06 15:19:42 alunduil Exp $
+
+*unittest2-1.0.1-r1 (06 Apr 2015)
+
+  06 Apr 2015; Alex Brandt <[email protected]>
+  +files/remove-argparse-dependence.patch, +unittest2-1.0.1-r1.ebuild:
+  add fixes proposed by Arfrever  * RDEPEND and DEPEND on dev-python/setuptools
+  * drop dependence on dev-python/linecache2 * drop sed (suspect return value)
+  and use patch
 
   03 Apr 2015; Mike Frysinger <[email protected]> unittest2-0.5.1-r2.ebuild:
   Mark arm64/s390/sh stable.



1.1                  dev-python/unittest2/unittest2-1.0.1-r1.ebuild

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

Index: unittest2-1.0.1-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-python/unittest2/unittest2-1.0.1-r1.ebuild,v 1.1 
2015/04/06 15:19:42 alunduil Exp $

EAPI=5
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )

inherit distutils-r1

DESCRIPTION="The new features in unittest for Python 2.7 backported to Python 
2.4+"
HOMEPAGE="http://pypi.python.org/pypi/unittest2";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa"
IUSE=""

CDEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
        dev-python/six[${PYTHON_USEDEP}]
        dev-python/traceback2[${PYTHON_USEDEP}]
"
DEPEND="${CDEPEND}"
RDEPEND="${CDEPEND}"

python_prepare_all() {
        local PATCHES=(
                "${FILESDIR}"/remove-argparse-dependence.patch
        )

        distutils-r1_python_prepare_all
}

python_test() {
        "${PYTHON}" -m unittest2 discover || die "tests failed under ${EPYTHON}"
}




Reply via email to