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 91394139B2A for ; Sun, 13 Sep 2015 22:38:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAB7321C01B; Sun, 13 Sep 2015 22:38:34 +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 525D921C01B for ; Sun, 13 Sep 2015 22:38:34 +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 D692D340A97 for ; Sun, 13 Sep 2015 22:38:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1A97178 for ; Sun, 13 Sep 2015 22:38:29 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1442183892.3e17ef985ff751434282c24fa55a10c2bc44c7e1.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dulwich/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dulwich/Manifest dev-python/dulwich/dulwich-0.11.1.ebuild X-VCS-Directories: dev-python/dulwich/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 3e17ef985ff751434282c24fa55a10c2bc44c7e1 X-VCS-Branch: master Date: Sun, 13 Sep 2015 22:38:29 +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: 42b1a9c5-6e9c-4712-9b87-46f5edd8463d X-Archives-Hash: d5014427f10e01c008fd364c17f6415b commit: 3e17ef985ff751434282c24fa55a10c2bc44c7e1 Author: Manuel Rüger gentoo org> AuthorDate: Sun Sep 13 22:38:12 2015 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Sun Sep 13 22:38:12 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e17ef98 dev-python/dulwich: Version bump. Adds python3 support Package-Manager: portage-2.2.20.1 dev-python/dulwich/Manifest | 1 + dev-python/dulwich/dulwich-0.11.1.ebuild | 44 ++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index 6609e2b..ba80ed8 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -1,3 +1,4 @@ DIST dulwich-0.10.0.tar.gz 272600 SHA256 518bb4aa3e5ad81982bfe571594af81ab9f78feb4e33bfade6c1553afff69237 SHA512 a5aa321e1265ee6c96c763a357d204eda7b9d4d6e90e0b18898342f34b9babf4d43857b9974d6bf442f9ba4da54fed4342c5724772cc9028138e8ec75d2e4896 WHIRLPOOL a032b962f106f0b8c9b9dd3238b135a04b6c6787c0344b8c3235c14e0bd3392ee5298776ff318a8bbafacbb60451dd685febd4a01160d017be3ea49541349af9 DIST dulwich-0.10.1a.tar.gz 272688 SHA256 666600ab5eb0b6d531879ee0f65dfefd71bce2e21ab3910c28f7789e15b6330b SHA512 dfd2fc71d34c503380de385423fe2e0bc64307803616edafc598056888846f526492fa5d17026f1b4c9617b684a25860051999b2f5eb5b6f760a22fe9937ac3f WHIRLPOOL 5dd1439108e43fbcd616f4a05fff97ab5ae440ee6172dbd6f1472566d325957041a12204b2c647f203dccbf49afe0a3c0aff2012c04e71c097847eb22ab129d5 +DIST dulwich-0.11.1.tar.gz 289232 SHA256 84efed93011379cdbdc95ee81179d59abf83ef056bbae3d1c52d34ea5db97bc3 SHA512 69dea42a02e00b6ac0cf7bd5749b3761f984ad36bb0c626ecf537ac34f3e815fc5ccec98c33c64e0327307fb56d4f1e326aef4af2f9ff6da2d716e18a25bde44 WHIRLPOOL 904066b6651773e86716f7a54e777db81403e5ca825e15951435b153a94956ce4284af732ecf3db8e81de374e610f34b5b9ca4069a3c55d3b9d62e04622d9697 DIST dulwich-0.9.9.tar.gz 270127 SHA256 084e762c8d4d0c0002823249db57b8e735c99c409dacc2849565dd3c0c288496 SHA512 5039e8e80c51b8ee0df2ba0805fa63d9b476a05c86b6bd9eaf9348ac03a83f0f1208e259ae6bcf40fb2c94ffb57c9b45bff852e367b8bee95c10e672d3dc19d5 WHIRLPOOL 2a79d25f1233d9a6a242d064af179486810555eb3c9803c336ae152095318a32eb8588779cb07f84b073a05bf7f083ba3b3d4c8d2b4f8929b2aa3d01c29a0a01 diff --git a/dev-python/dulwich/dulwich-0.11.1.ebuild b/dev-python/dulwich/dulwich-0.11.1.ebuild new file mode 100644 index 0000000..77b59d2 --- /dev/null +++ b/dev-python/dulwich/dulwich-0.11.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python implementation of the Git file formats and protocols" +HOMEPAGE="https://github.com/jelmer/dulwich/ https://pypi.python.org/pypi/dulwich" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc examples test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/gevent[$(python_gen_usedep python2_7)] )" +RDEPEND="" + +DISTUTILS_IN_SOURCE_BUILD=1 + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + # https://github.com/jelmer/dulwich/issues/196 + if [[ "${EPYTHON}" == pypy ]]; then + "${PYTHON}" -m unittest dulwich.tests.test_suite || die "Tests failed under pypy" + else + emake check + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/build/html/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +}