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 8820513832E for ; Wed, 10 Aug 2016 15:08:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D56E21C1BE; Wed, 10 Aug 2016 15:08:13 +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 204D921C1BE for ; Wed, 10 Aug 2016 15:08:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97AC4340901 for ; Wed, 10 Aug 2016 15:08:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 824C27D3 for ; Wed, 10 Aug 2016 15:08:09 +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: <1470841683.87bd745747d60801cb9c684ac5ebfd3fd1c185d4.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/metadata.xml dev-python/pyicu/pyicu-1.9.3.ebuild X-VCS-Directories: dev-python/pyicu/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 87bd745747d60801cb9c684ac5ebfd3fd1c185d4 X-VCS-Branch: master Date: Wed, 10 Aug 2016 15:08:09 +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: 5387b8c8-6122-46c8-a185-4e93a1572e01 X-Archives-Hash: 54a1c7cc6368d7d0b44e5752bc651904 commit: 87bd745747d60801cb9c684ac5ebfd3fd1c185d4 Author: Marek Szuba gentoo org> AuthorDate: Wed Aug 10 15:08:03 2016 +0000 Commit: Marek Szuba gentoo org> CommitDate: Wed Aug 10 15:08:03 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87bd7457 dev-python/pyicu: new package Python bindings for dev-libs/icu. Ebuild based heavily on the one for version 1.9.2 from the jmbsvicetto overlay. Package-Manager: portage-2.3.0 dev-python/pyicu/Manifest | 1 + dev-python/pyicu/metadata.xml | 8 ++++++ dev-python/pyicu/pyicu-1.9.3.ebuild | 53 +++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/dev-python/pyicu/Manifest b/dev-python/pyicu/Manifest new file mode 100644 index 0000000..f430b7c --- /dev/null +++ b/dev-python/pyicu/Manifest @@ -0,0 +1 @@ +DIST PyICU-1.9.3.tar.gz 179514 SHA256 1a7a96212cb3e42e8df85b9062f1f1d6e207474d44f087218fad1d4ec210fa42 SHA512 93720f6fd4131b6cff7fe89996a3851b5993c74859e85de7813883a30152b63a0065b8c51c536cd40417b6e3ccf0ec4e26ed471cec84cd48761a306a35bfd15c WHIRLPOOL 97d5ff9d5a96aa98700c3048104bb79309f3b7a2e6610a03be1a1b06b23be44ffaa6ef9afb548144757421616bf2401fa4bffac6d8759a7718021abfa9fb03d0 diff --git a/dev-python/pyicu/metadata.xml b/dev-python/pyicu/metadata.xml new file mode 100644 index 0000000..1aa581a --- /dev/null +++ b/dev-python/pyicu/metadata.xml @@ -0,0 +1,8 @@ + + + + + marecki@gentoo.org + Marek Szuba + + diff --git a/dev-python/pyicu/pyicu-1.9.3.ebuild b/dev-python/pyicu/pyicu-1.9.3.ebuild new file mode 100644 index 0000000..3214426 --- /dev/null +++ b/dev-python/pyicu/pyicu-1.9.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_3,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" +IUSE="doc" + +RDEPEND="${PYTHON_DEPS} + dev-libs/icu +" +DEPEND="${RDEPEND} + doc? ( dev-python/epydoc )" + +S="${WORKDIR}/${MY_P}" + +DOCS=(CHANGES CREDITS README.md) + +python_compile_all() { + if use doc; then + einfo "Making documentation from ${EPYTHON} build" + cd "${BEST_BUILD_DIR}" || die + epydoc --html --verbose \ + --url="${HOMEPAGE}" --name="${MY_P}" \ + icu.py || die "Making the docs failed!" + fi +} + +python_test() { + esetup.py test +} + +python_install_all() { + distutils-r1_python_install_all + if use doc; then + dohtml -r ../*/html/* + fi +}