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 1A20C139694 for ; Thu, 20 Apr 2017 10:42:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27FD5E0D05; Thu, 20 Apr 2017 10:42:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E72B9E0D05 for ; Thu, 20 Apr 2017 10:42:49 +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 7680134105A for ; Thu, 20 Apr 2017 10:42:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7C377435 for ; Thu, 20 Apr 2017 10:42:46 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1492684956.58d5d58f8ab07f249020e059cdda56da39305b62.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyicu/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyicu/Manifest dev-python/pyicu/pyicu-1.9.6.ebuild X-VCS-Directories: dev-python/pyicu/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 58d5d58f8ab07f249020e059cdda56da39305b62 X-VCS-Branch: master Date: Thu, 20 Apr 2017 10:42:46 +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: 9af72718-8994-44ff-bd8f-5fe4e80e173a X-Archives-Hash: fb7599540ffeca69e48dd24b6aa472a9 commit: 58d5d58f8ab07f249020e059cdda56da39305b62 Author: Marek Szuba gentoo org> AuthorDate: Thu Apr 20 10:42:36 2017 +0000 Commit: Marek Szuba gentoo org> CommitDate: Thu Apr 20 10:42:36 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d5d58f dev-python/pyicu: version bump to 1.9.6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-python/pyicu/Manifest | 1 + dev-python/pyicu/pyicu-1.9.6.ebuild | 59 +++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/pyicu/Manifest b/dev-python/pyicu/Manifest index 79560b4460b..1b479b57d1b 100644 --- a/dev-python/pyicu/Manifest +++ b/dev-python/pyicu/Manifest @@ -1,2 +1,3 @@ DIST PyICU-1.9.3.tar.gz 179514 SHA256 1a7a96212cb3e42e8df85b9062f1f1d6e207474d44f087218fad1d4ec210fa42 SHA512 93720f6fd4131b6cff7fe89996a3851b5993c74859e85de7813883a30152b63a0065b8c51c536cd40417b6e3ccf0ec4e26ed471cec84cd48761a306a35bfd15c WHIRLPOOL 97d5ff9d5a96aa98700c3048104bb79309f3b7a2e6610a03be1a1b06b23be44ffaa6ef9afb548144757421616bf2401fa4bffac6d8759a7718021abfa9fb03d0 DIST PyICU-1.9.5.tar.gz 181878 SHA256 73b052b800861fae3281dbaf9c92d12a81cabf3d31912d94c51862e093ef359b SHA512 19fb3222a68cc67e92ea4171257d00c9a322f993f1303a4432b5c3c4efda32ff4c2372027cf9f3fd31d3dc3cf3bcbcb957dfa420039591044812f0213684e885 WHIRLPOOL 05e931826f445cc989d8d5ad1db10121705e685d53e8696e0befe172ee8e32895482813bcbcac105e3c8ac92ef85d8b96f79c67de35ed6547a7ccc64acee3413 +DIST PyICU-1.9.6.tar.gz 183120 SHA256 c5c2134f7ad5aa939a899633816f52d8921e787efd4e8d7efb5f450fe10f2550 SHA512 51ae0876dbe79c696a7630ec184049df685eebc4660b439b8a3e6e86ef37dfa8cdd0fd6895fc230f954baad30528f4017a7b6a17edc8f7e8b9e4c1bd729d447a WHIRLPOOL 6a461bfc714f4d4415e1fc023d0dc0132244191f9aeae154d4ac2abe275c412143b9417d66fbfe99107e0670518d60fcd641f83c2e1409c22a12606b96398ea9 diff --git a/dev-python/pyicu/pyicu-1.9.6.ebuild b/dev-python/pyicu/pyicu-1.9.6.ebuild new file mode 100644 index 00000000000..ec85db2c9a4 --- /dev/null +++ b/dev-python/pyicu/pyicu-1.9.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +DISTUTILS_IN_SOURCE_BUILD=1 # setup.py applies 2to3 to tests + +inherit distutils-r1 + +MY_PN="PyICU" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python bindings for dev-libs/icu" +HOMEPAGE="https://github.com/ovalhub/pyicu" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="${PYTHON_DEPS} + dev-libs/icu +" +# epydoc supports only python2* +DEPEND="${RDEPEND} + doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + doc? ( || ( $(python_gen_useflags 'python2*') ) )" + +S="${WORKDIR}/${MY_P}" + +DOCS=(CHANGES CREDITS README.md) + +# we need an exact version match for epydoc to work on a binary module +pkg_setup() { + use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) +} + +python_compile_all() { + if use doc; then + mkdir -p doc/html || die + epydoc --html --verbose -o doc/html \ + --url="${HOMEPAGE}" --name="${MY_P}" \ + icu.py || die "Making the docs failed!" + fi +} + +python_test() { + esetup.py test +} + +python_install_all() { + if use doc; then + local HTML_DOCS=( doc/html/. ) + fi + distutils-r1_python_install_all +}