vapier      15/07/28 08:19:30

  Modified:             ChangeLog
  Added:                logilab-common-1.0.2.ebuild
  Log:
  Version bump.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.160                dev-python/logilab-common/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -r1.159 -r1.160
--- ChangeLog   20 Jul 2015 03:48:20 -0000      1.159
+++ ChangeLog   28 Jul 2015 08:19:30 -0000      1.160
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/logilab-common
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.159 
2015/07/20 03:48:20 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.160 
2015/07/28 08:19:30 vapier Exp $
+
+*logilab-common-1.0.2 (28 Jul 2015)
+
+  28 Jul 2015; Mike Frysinger <vap...@gentoo.org> +logilab-common-1.0.2.ebuild:
+  Version bump.
 
   20 Jul 2015; Patrick Lauer <patr...@gentoo.org> logilab-common-0.62.1.ebuild,
   logilab-common-0.63.2.ebuild:



1.1                  dev-python/logilab-common/logilab-common-1.0.2.ebuild

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

Index: logilab-common-1.0.2.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-1.0.2.ebuild,v 
1.1 2015/07/28 08:19:30 vapier Exp $

EAPI=5

PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )

inherit distutils-r1 eutils

DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
HOMEPAGE="http://www.logilab.org/project/logilab-common 
http://pypi.python.org/pypi/logilab-common";
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz 
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux 
~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test doc"

RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

# egenix-mx-base tests are optional and supports python2 only.
DEPEND="${RDEPEND}
        >=dev-python/six-1.4.0[${PYTHON_USEDEP}]
        test? ( $(python_gen_cond_dep 
'dev-python/egenix-mx-base[${PYTHON_USEDEP}]' python2_7)
                dev-python/pytz[${PYTHON_USEDEP}] )
        doc? ( $(python_gen_cond_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' 
python2_7) )"

# Req'd for impl specific failures in the testsuite
DISTUTILS_IN_SOURCE_BUILD=1

python_prepare_all() {
        sed -e 's:(CURDIR):{S}/${P}:' -i doc/makefile || die
        distutils-r1_python_prepare_all
}

python_compile_all() {
        if use doc; then
                # Based on the doc build in Arfrever's ebuild. It works
                pushd doc > /dev/null
                mkdir -p apidoc || die
                epydoc --parse-only -o apidoc --html -v --no-private 
--exclude=__pkginfo__ --exclude=setup --exclude=test \
                        -n "Logilab's common library" "$(ls -d 
../build/lib/logilab/common/)" build \
                        || die "Generation of documentation failed"
        fi
}

python_test() {
        distutils_install_for_testing

        # https://www.logilab.org/ticket/149345
        # Prevent timezone related failure.
        export TZ=UTC

        # Make sure that the tests use correct modules.
        pushd "${TEST_DIR}"/lib > /dev/null || die
        "${TEST_DIR}"/scripts/pytest || die "Tests fail with ${EPYTHON}"
        popd > /dev/null || die
}

python_install_all() {
        distutils-r1_python_install_all

        doman doc/pytest.1
        use doc &&  dohtml -r doc/apidoc/.
}




Reply via email to