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 B11F11384B4 for ; Wed, 9 Dec 2015 12:01:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31CDE21C066; Wed, 9 Dec 2015 12:01:37 +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 AC63021C066 for ; Wed, 9 Dec 2015 12:01:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 94A9F340634 for ; Wed, 9 Dec 2015 12:01:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24047A3F for ; Wed, 9 Dec 2015 12:01:32 +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: <1449662489.cf017f99a4fb861db8c55b9fa2fc52f8b2a8c749.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wrapt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/wrapt/Manifest dev-python/wrapt/wrapt-1.10.6.ebuild X-VCS-Directories: dev-python/wrapt/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: cf017f99a4fb861db8c55b9fa2fc52f8b2a8c749 X-VCS-Branch: master Date: Wed, 9 Dec 2015 12:01:32 +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: 9dbd5b4a-5f7f-4098-ae40-32d514afcd9a X-Archives-Hash: f53e0a72e57090a2857c185ab6782947 commit: cf017f99a4fb861db8c55b9fa2fc52f8b2a8c749 Author: Justin Lecher gentoo org> AuthorDate: Wed Dec 9 09:10:24 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Dec 9 12:01:29 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf017f99 dev-python/wrapt: Version Bump Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> dev-python/wrapt/Manifest | 1 + dev-python/wrapt/wrapt-1.10.6.ebuild | 50 ++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest index c02f69f..27ace15 100644 --- a/dev-python/wrapt/Manifest +++ b/dev-python/wrapt/Manifest @@ -1 +1,2 @@ DIST wrapt-1.10.5.tar.gz 119157 SHA256 4fd82193b23f60e1a39f3e10c81143c1e29e26cd5fc9afe1a7dc0f5e4b4a67d7 SHA512 450b32eea67774081d23c0e020ed7eea3c8ac458925a16cd606a4f95ee5b7631bda5ff00ceb914e9ccc28a5e0a7302534b6711bb23d637c77327a8a9d228cb55 WHIRLPOOL 7cfa9477f525e60f16a7b1689ba43b327192837bea34e96977442b9cd143a63fafdfa7d0b3895c93052b0e6f426e76fa439b155ee4e481dd5e922c529676691c +DIST wrapt-1.10.6.tar.gz 25134 SHA256 9576869bb74a43cbb36ee39dc3584e6830b8e5c788e83edf0a397eba807734ab SHA512 d0c326fd401bc84656d69ec5da446b459f5596873a1ec01d616bebcc3d11237949eaafcfdf5de78e43f59927a0eaeee3da3f462975fa46fa22fd6c1593509e04 WHIRLPOOL 2d3c56d0a6e9e9af0a59708ce70190097da2459d80bdaa8d8f884a849905b44cdfb6bedb412ccd1e74be1e975492309a398e05d4b6c61a6852d3cd125230846a diff --git a/dev-python/wrapt/wrapt-1.10.6.ebuild b/dev-python/wrapt/wrapt-1.10.6.ebuild new file mode 100644 index 0000000..f1e92f5 --- /dev/null +++ b/dev-python/wrapt/wrapt-1.10.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Module for decorators, wrappers and monkey patching" +HOMEPAGE="https://github.com/GrahamDumpleton/wrapt" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" + +DEPEND=" + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) +" +RDEPEND="" + +# https://github.com/GrahamDumpleton/wrapt/issues/58 +RESTRICT=test + +python_compile_all() { + use doc && emake -C docs html +} + +python_compile() { + local WRAPT_EXTENSIONS=true + + distutils-r1_python_compile +} + +python_test() { + py.test -vv || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +}