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 6F2C81382C5 for ; Sun, 11 Mar 2018 02:09:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 701ABE082F; Sun, 11 Mar 2018 02:09:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4BA82E082F for ; Sun, 11 Mar 2018 02:09:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 408ED335C30 for ; Sun, 11 Mar 2018 02:09:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 828BD263 for ; Sun, 11 Mar 2018 02:09:19 +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: <1520733955.f0c867ddc8ce438e8da68b200b69ffb372f0ade1.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/polib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/polib/Manifest dev-python/polib/polib-1.1.0.ebuild X-VCS-Directories: dev-python/polib/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: f0c867ddc8ce438e8da68b200b69ffb372f0ade1 X-VCS-Branch: master Date: Sun, 11 Mar 2018 02:09:19 +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: f44fa489-ae37-4e72-82a2-e636a5310edf X-Archives-Hash: ef03d544dcebf94aec12d97fdb7421e1 commit: f0c867ddc8ce438e8da68b200b69ffb372f0ade1 Author: Tim Harder gentoo org> AuthorDate: Fri Mar 9 19:59:36 2018 +0000 Commit: Tim Harder gentoo org> CommitDate: Sun Mar 11 02:05:55 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c867dd dev-python/polib: version bump to 1.1.0 dev-python/polib/Manifest | 1 + dev-python/polib/polib-1.1.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-python/polib/Manifest b/dev-python/polib/Manifest index bb909a56294..34f53c7909d 100644 --- a/dev-python/polib/Manifest +++ b/dev-python/polib/Manifest @@ -1,2 +1,3 @@ DIST polib-1.0.4.tar.gz 151634 BLAKE2B d0f28ae50e1c082f695867da2b65721d161b9df56b4978feda59388b20fee3c3a060438aac0f1f08420d5133d1b5425715a3c0cb00dffe0e7515d642e287d2cf SHA512 a38d57acdaded0371be83825a28f14f178aebdbc0435724f33eebda109adb2b8210e33659ebec88d2d9e98aa60c482d7f8a958ec18f6769fda7a2fb14edd2744 DIST polib-1.0.7.tar.gz 156282 BLAKE2B 4d4a9f9901fe7b7b7aa5fc54b9391e051b8d02d1749752e1c9a563d9285670db5d43d7c5015fe266f78c89d1ff7a334bd2afe2d7d8b68fb376df35f8902cb0ed SHA512 bfec3538f9ab499ff2149bb40e0685b4cb6d5f0bc7ce8dc33e1fc511a6169e01c1a317e652daed7b3bfd9bbfe6ee1d545b4d8913f54e91504c4debb5b1b94b6e +DIST polib-1.1.0.tar.gz 158484 BLAKE2B 41766f00e3928eacf3c98406b6acce224f0d0cb44d79326c834db900ed8b91181911ab7e26845a737057dd07c067a784d0b06278952708c17888db42d8c1e303 SHA512 74681585b4d7252e107acd7d73f49f7e91c90adcd180722d39d35c40ec158434798af0124a16788cf564c73b84f52a040aefeb58355a1a3cd85848c3f6a5e67f diff --git a/dev-python/polib/polib-1.1.0.ebuild b/dev-python/polib/polib-1.1.0.ebuild new file mode 100644 index 00000000000..ae58824f7b1 --- /dev/null +++ b/dev-python/polib/polib-1.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="A library to manipulate gettext files (.po and .mo files)" +HOMEPAGE="https://bitbucket.org/izi/polib/wiki/Home" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + "${PYTHON}" tests/tests.py || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst ) + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +}