From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3440E1399E0 for ; Wed, 2 Sep 2015 16:30:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7060614218; Wed, 2 Sep 2015 16:30:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65A8C14212 for ; Wed, 2 Sep 2015 16:30:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7DA34340875 for ; Wed, 2 Sep 2015 16:30:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 723EC18A for ; Wed, 2 Sep 2015 16:30:40 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1441211438.642f12fdd32b96899bb8246f83cc686c91334789.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/greenlet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/greenlet/Manifest dev-python/greenlet/greenlet-0.4.9.ebuild X-VCS-Directories: dev-python/greenlet/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 642f12fdd32b96899bb8246f83cc686c91334789 X-VCS-Branch: master Date: Wed, 2 Sep 2015 16:30:40 +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: e10760c2-5801-4b9a-984b-87156d7e420f X-Archives-Hash: 4ddf5430b5c04027e8fc1af4d1d2aea3 commit: 642f12fdd32b96899bb8246f83cc686c91334789 Author: Justin Lecher gentoo org> AuthorDate: Wed Sep 2 16:30:27 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Sep 2 16:30:38 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=642f12fd dev-python/greenlet: Version Bump Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher gentoo.org> dev-python/greenlet/Manifest | 1 + dev-python/greenlet/greenlet-0.4.9.ebuild | 48 +++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index 31bfb9f..a68f66b 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -4,3 +4,4 @@ DIST greenlet-0.4.4.zip 76659 SHA256 935a76b7ad3c41846af26e136e2fd8ec763794cbc5b DIST greenlet-0.4.5.zip 77396 SHA256 b990f00f120c4cfb6672eec2acd32210990a2c7b70b815c034d1d8cbf08e2dbe SHA512 bdef004299e6d9ac457c0884aea69a882f7ee66135ea5da9a231c7f05024413db8ee5bc1e15c4bbc17379130eda5b38948662178fc34c00f96449a6ada6d3e78 WHIRLPOOL 01e06febe2537dd71478f5404d8f545df19af761b13fcd88c8edc1ab6e4a28da48183084800523d603ca9d58f74b7d675ec4f412b635af961be637f6a22a3f82 DIST greenlet-0.4.6.zip 77759 SHA256 3000b5c4301a0285f914fd7bb2eb613279f7098000c8e2150b169abcad4c3393 SHA512 498721395bdc4612dd646ee7f384d7edba992dd10a31fccbdb67294e4f22b4890e79f7c509863943b8538c7a34bb4a64fbe6870fc84651f7fdf17654d47281ed WHIRLPOOL 02e84f9738fc899ac4dad40cb197648e1b36f3e10d451fb7963951f2a974af4071450b2c31eadaed6028c9d905557560e03688659efb6de0eaedf22336cb507e DIST greenlet-0.4.7.zip 77540 SHA256 f32c4fa4e06443e1bdb0d32b69e7617c25ff772c3ffc6d0aa63d192e9fd795fe SHA512 f2a080b9782bc3f91cf7971b97cb00b9d48d6021e01d413c96128ff32165fbd310ec8e9a1a00d03946e3c637162acd7eb6ebf44425580bd2e7511c3cd15fb192 WHIRLPOOL ac66424e329b8bc83e0c6d5c1aea3ddb237433505e8547916efaf13280a43f040a3f39e67e4b15164acb86f061180928acd29a8725dfb91427c52524fc13c91e +DIST greenlet-0.4.9.zip 78125 SHA256 58b2f3a2e7075c655616bf95e82868db4980f3bb6661db70ad02a51e4ddd2252 SHA512 2dce966827caf32b21cf005498ef6e595524ffb0aabbe424c705850986edfda4f4b2ba791180a7de900b1778594851de83a5b2cc69baf31c968ee8fb9131ba58 WHIRLPOOL e2464ead5f1e47ee62b80f1ce048c263e4516d333e1b5f532698192d0df4906754376a7dfb9b0a26236c56326853830f5110c56673193a8471c07fc0ac0313a6 diff --git a/dev-python/greenlet/greenlet-0.4.9.ebuild b/dev-python/greenlet/greenlet-0.4.9.ebuild new file mode 100644 index 0000000..9017b17 --- /dev/null +++ b/dev-python/greenlet/greenlet-0.4.9.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# Note: greenlet is built-in in pypy +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Lightweight in-process concurrent programming" +HOMEPAGE="https://pypi.python.org/pypi/greenlet/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm -hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +DEPEND=" + app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +DISTUTILS_IN_SOURCE_BUILD=1 + +python_compile() { + if [[ ${EPYTHON} == python2.7 ]]; then + local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} + append-flags -fno-strict-aliasing + fi + + distutils-r1_python_compile +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + "${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + distutils-r1_python_install_all +}