idella4     15/05/11 06:13:56

  Modified:             ChangeLog
  Added:                pkginfo-1.2.1.ebuild
  Log:
  bump; add py3 support, re-write test phase
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.11                 dev-python/pkginfo/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pkginfo/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog   8 Mar 2015 23:55:08 -0000       1.10
+++ ChangeLog   11 May 2015 06:13:56 -0000      1.11
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/pkginfo
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pkginfo/ChangeLog,v 1.10 
2015/03/08 23:55:08 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pkginfo/ChangeLog,v 1.11 
2015/05/11 06:13:56 idella4 Exp $
+
+*pkginfo-1.2.1 (11 May 2015)
+
+  11 May 2015; Ian Delaney <[email protected]> +pkginfo-1.2.1.ebuild:
+  bump; add py3 support, re-write test phase
 
   08 Mar 2015; Pacho Ramos <[email protected]> pkginfo-1.0.ebuild:
   x86 stable, bug 540290



1.1                  dev-python/pkginfo/pkginfo-1.2.1.ebuild

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

Index: pkginfo-1.2.1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pkginfo/pkginfo-1.2.1.ebuild,v 
1.1 2015/05/11 06:13:56 idella4 Exp $

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

inherit distutils-r1

DESCRIPTION="Provides an API for querying the distutils metadata written in a 
PKG-INFO file"
HOMEPAGE="http://pypi.python.org/pypi/pkginfo";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"

LICENSE="MIT"
SLOT="0"
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
        dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"

python_prepare_all() {
        sed -e 's:SPHINXBUILD   = sphinx-build:SPHINXBUILD   = 
/usr/bin/sphinx-build:' \
                -i docs/Makefile || die

        # Disable tests that seek to read the version of pkginfo from an 
installed state
        # These test will still become installed and testable once installed
        sed -e 's:test_w_directory_no_EGG_INFO:_&:' \
                -e 's:test_w_module_and_metadata_version:_&:' \
                -e 's:test_w_package_name_and_metadata_version:_&:' \
                -i pkginfo/tests/test_utils.py || die
        sed -e 's:test_ctor_w_path_nested_egg_info:_&:' \
                -i pkginfo/tests/test_develop.py || die

        distutils-r1_python_prepare_all
}

python_compile_all() {
        use doc && emake -C docs html
}

python_test() {
        "${PYTHON}" -m unittest discover || die "Test ${test} failed under 
${EPYTHON}"
        popd > /dev/null
}

python_install_all() {
        use doc && local HTML_DOCS=( docs/.build/html/. )
        use examples && local EXAMPLES=( docs/examples/. )
        distutils-r1_python_install_all
}




Reply via email to