idella4 14/10/16 05:08:47 Modified: sphinx-1.2.2.ebuild ChangeLog Added: sphinx-1.2.3.ebuild Log: bump; tidy to deps (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.9 dev-python/sphinx/sphinx-1.2.2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sphinx/sphinx-1.2.2.ebuild?rev=1.9&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sphinx/sphinx-1.2.2.ebuild?rev=1.9&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sphinx/sphinx-1.2.2.ebuild?r1=1.8&r2=1.9 Index: sphinx-1.2.2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-1.2.2.ebuild,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- sphinx-1.2.2.ebuild 9 Oct 2014 08:17:10 -0000 1.8 +++ sphinx-1.2.2.ebuild 16 Oct 2014 05:08:47 -0000 1.9 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-1.2.2.ebuild,v 1.8 2014/10/09 08:17:10 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-1.2.2.ebuild,v 1.9 2014/10/16 05:08:47 idella4 Exp $ EAPI=5 @@ -24,8 +24,7 @@ # Split the jinja dep to allow different slots to satisfy it RDEPEND=" >=dev-python/docutils-0.7[${PYTHON_USEDEP}] - >=dev-python/jinja-2.3[$(python_gen_usedep python3_2)] - >=dev-python/jinja-2.3[$(python_gen_usedep python{2_6,2_7,3_3,3_4} 'pypy*')] + >=dev-python/jinja-2.3[$(python_gen_usedep python{2_7,3_3,3_4} pypy)] >=dev-python/pygments-1.2[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] latex? ( 1.169 dev-python/sphinx/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sphinx/ChangeLog?rev=1.169&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sphinx/ChangeLog?rev=1.169&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sphinx/ChangeLog?r1=1.168&r2=1.169 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v retrieving revision 1.168 retrieving revision 1.169 diff -u -r1.168 -r1.169 --- ChangeLog 9 Oct 2014 08:17:10 -0000 1.168 +++ ChangeLog 16 Oct 2014 05:08:47 -0000 1.169 @@ -1,6 +1,12 @@ # ChangeLog for dev-python/sphinx # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.168 2014/10/09 08:17:10 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.169 2014/10/16 05:08:47 idella4 Exp $ + +*sphinx-1.2.3 (16 Oct 2014) + + 16 Oct 2014; Ian Delaney <[email protected]> +sphinx-1.2.3.ebuild, + sphinx-1.2.2.ebuild: + bump; tidy to deps 09 Oct 2014; Agostino Sarubbo <[email protected]> sphinx-1.2.2.ebuild: Stable for amd64, wrt bug #524416 1.1 dev-python/sphinx/sphinx-1.2.3.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sphinx/sphinx-1.2.3.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sphinx/sphinx-1.2.3.ebuild?rev=1.1&content-type=text/plain Index: sphinx-1.2.3.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-1.2.3.ebuild,v 1.1 2014/10/16 05:08:47 idella4 Exp $ EAPI=5 PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy ) inherit distutils-r1 eutils versionator MY_PN="Sphinx" MY_P="${MY_PN}-${PV}" DESCRIPTION="Python documentation generator" HOMEPAGE="http://sphinx.pocoo.org/ http://pypi.python.org/pypi/Sphinx" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc latex test" # Portage has only >= minimum required versions of all rdeps making # setting of version borders unnecessary RDEPEND=" dev-python/docutils[${PYTHON_USEDEP}] dev-python/jinja[${PYTHON_USEDEP}] dev-python/pygments[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] latex? ( dev-texlive/texlive-latexextra app-text/dvipng )" DEPEND="${DEPEND} test? ( dev-python/nose[${PYTHON_USEDEP}] )" S="${WORKDIR}/${MY_P}" python_compile() { distutils-r1_python_compile # Generate the grammar. It will be caught by install somehow. # Note that the tests usually do it for us. However, I don't want # to trust USE=test really running all the tests, especially # with FEATURES=test-fail-continue. cd "${BUILD_DIR}"/lib || die "${PYTHON}" -m sphinx.pycode.__init__ \ || die "Grammar generation failed." } python_compile_all() { use doc && emake -C doc SPHINXBUILD='"${PYTHON}" "${S}/sphinx-build.py"' html } python_test() { cp -r -l tests "${BUILD_DIR}"/ || die # Would you believe? if $(python_is_python3); then 2to3 -w --no-diffs "${BUILD_DIR}"/tests || die fi nosetests -w "${BUILD_DIR}"/tests -v \ || die "Tests fail with ${EPYTHON}" } python_install_all() { use doc && local HTML_DOCS=( doc/_build/html/. ) distutils-r1_python_install_all } replacing_python_eclass() { local pv for pv in ${REPLACING_VERSIONS}; do if ! version_is_at_least 1.1.3-r4 ${pv}; then return 0 fi done return 1 } pkg_preinst() { if replacing_python_eclass; then # the old python.eclass ebuild will want to remove our pickles... backup_pickle() { # array to enable filename expansion local pickle_name=( "${D}$(python_get_sitedir)"/sphinx/pycode/Grammar*.pickle ) local dest=${ROOT}${pickle_name[0]#${D}}.backup eumask_push 022 mkdir -p "${dest%/*}" || die eumask_pop cp -p -v "${pickle_name[0]}" "${dest}" \ || die "Unable to backup grammar pickle from overwriting" } python_foreach_impl backup_pickle fi } pkg_postinst() { if replacing_python_eclass; then local warned restore_pickle() { local backup_name=( "${ROOT}$(python_get_sitedir)"/sphinx/pycode/Grammar*.pickle.backup ) local dest=${backup_name[0]%.backup} mv -v "${backup_name[0]}" "${dest}" \ || die "Unable to restore grammar pickle backup" } python_foreach_impl restore_pickle [[ ${warned} ]] && ewarn "Please try rebuilding the package." fi }
