From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 725A41396D2 for ; Sun, 27 Aug 2017 08:56:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7891D1FC009; Sun, 27 Aug 2017 08:56:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 496D0E0D1A for ; Sun, 27 Aug 2017 08:56:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2EB8734195E for ; Sun, 27 Aug 2017 08:56:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A523E843D for ; Sun, 27 Aug 2017 08:56:35 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1503824029.f0b3f663f8a43c780b7b779afe6744af9b751c7b.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/Babel/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/Babel/Babel-2.5.0.ebuild dev-python/Babel/Manifest X-VCS-Directories: dev-python/Babel/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: f0b3f663f8a43c780b7b779afe6744af9b751c7b X-VCS-Branch: master Date: Sun, 27 Aug 2017 08:56:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f072543b-a365-43ee-bebb-3856b0a5a06f X-Archives-Hash: 1c55aef185621778fe85c281d1cc9e91 commit: f0b3f663f8a43c780b7b779afe6744af9b751c7b Author: Tim Harder gentoo org> AuthorDate: Sun Aug 27 08:49:44 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Sun Aug 27 08:53:49 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b3f663 dev-python/Babel: version bump to 2.5.0 dev-python/Babel/Babel-2.5.0.ebuild | 48 +++++++++++++++++++++++++++++++++++++ dev-python/Babel/Manifest | 1 + 2 files changed, 49 insertions(+) diff --git a/dev-python/Babel/Babel-2.5.0.ebuild b/dev-python/Babel/Babel-2.5.0.ebuild new file mode 100644 index 00000000000..9ec087d4bd7 --- /dev/null +++ b/dev-python/Babel/Babel-2.5.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Collection of tools for internationalizing Python applications" +HOMEPAGE="http://babel.edgewall.org/ https://pypi.python.org/pypi/Babel" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc test" + +RDEPEND="dev-python/pytz[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${DEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_prepare_all() { + # Make the tests use implementation-specific datadir, + # because they try to write in it. + sed -e '/datadir =/s:os\.path\.dirname(__file__):os.environ["BUILD_DIR"]:' \ + -i tests/messages/test_frontend.py || die + sed -e '/^intersphinx_mapping/,+3d' -i docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_test() { + # Create implementation-specific datadir for tests. + cp -R -l tests/messages/data "${BUILD_DIR}"/ || die + py.test || die +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/Babel/Manifest b/dev-python/Babel/Manifest index b6f1fa575e2..3f62be85a9f 100644 --- a/dev-python/Babel/Manifest +++ b/dev-python/Babel/Manifest @@ -1,3 +1,4 @@ DIST Babel-2.1.1.tar.gz 3437647 SHA256 7fb6d50effe88a087feb2036cb972fd7a893bf338361516f1a55a820bf7b5248 SHA512 ec7ebb8648101588eecc72913adc45c0593ed6ee5f10874edcd4b932959f9552edcecc8e2ec966dae6ef5e8adb23341f1a4f87ea2d9e6cbba57a9b8b0a352a94 WHIRLPOOL 812badf14a74fa391851aaae048ec5d815d6d8f7abce8b918f036243cc45d91ca97281614c2ef139797719077ef4880cfafce88e9d718b3cd633ed7303e4cfd7 DIST Babel-2.3.4.tar.gz 6866920 SHA256 c535c4403802f6eb38173cd4863e419e2274921a01a8aad8a5b497c131c62875 SHA512 1fdba01946e7a8ebe3fef23843e23707cd060b0a179d775e29f938318d824e8779df2852fb8bbd18f61fc47de33af5d988c509dc67f54ea4cb3a4a66767869a5 WHIRLPOOL ea265abb1a9f6de890c6fa8e78ef49eab2adbd47916f30d19d3d807220c6598c14a93527ba85b92b8e6fbc40571c706cf233d17d7ee65448e3270ead38b7c71a DIST Babel-2.4.0.tar.gz 6607513 SHA256 8c98f5e5f8f5f088571f2c6bd88d530e331cbbcb95a7311a0db69d3dca7ec563 SHA512 4e1341144dfb319c172a446facc47204c9b9f49972c8646b62e082975d8ec41c35e503e610d7114ef5346a5c073e87ed8d40a65a60d9540fb7ca947681cc0beb WHIRLPOOL 58184100c060640316a1517ce70db2b5f9143fa10fb24b2b9d4069c8ecb638b914fbe405d0ab8a51628b98a00a7db4c462d6faff8b2b98a4cb5cd4ca3e7f5abf +DIST Babel-2.5.0.tar.gz 6612353 SHA256 754177ee7481b6fac1bf84edeeb6338ab51640984e97e4083657d384b1c8830d SHA512 b24b74121695e0068fb28a6294d4b5b2065e94dcd62ca0d70c8fde3a00cb5ff111480505594460989c6f67a75935f55e153b1b493f917317d2c5ee0f0d7921fc WHIRLPOOL a13f570ba56282699eb71825c4210b0f57b731e5d105109a2fbd4b92bb3929c5435fe7defdf9121f071cf4129d5bbdd93a8a9633f6dd7e8762df1b1a6b5fb788