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 7F80D139694 for ; Tue, 14 Feb 2017 19:05:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 266CFE0CBA; Tue, 14 Feb 2017 19:05:53 +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 E4B25E0CBA for ; Tue, 14 Feb 2017 19:05:52 +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 D620A34155D for ; Tue, 14 Feb 2017 19:05:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62EC347D7 for ; Tue, 14 Feb 2017 19:05:50 +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: <1487099124.4d7e7728bd77257d6d36cbacfa7195c6e4d9174f.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/backports-lzma/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/backports-lzma/Manifest dev-python/backports-lzma/backports-lzma-0.0.8.ebuild X-VCS-Directories: dev-python/backports-lzma/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 4d7e7728bd77257d6d36cbacfa7195c6e4d9174f X-VCS-Branch: master Date: Tue, 14 Feb 2017 19:05:50 +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: a7716c77-9177-408a-acf6-196b1f14cccc X-Archives-Hash: 9271bc9b56eec4f2dd23f706559cc38a commit: 4d7e7728bd77257d6d36cbacfa7195c6e4d9174f Author: Manuel Rüger gentoo org> AuthorDate: Tue Feb 14 19:05:24 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Feb 14 19:05:24 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d7e7728 dev-python/backports-lzma: Version bump to 0.0.8 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-python/backports-lzma/Manifest | 1 + .../backports-lzma/backports-lzma-0.0.8.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/backports-lzma/Manifest b/dev-python/backports-lzma/Manifest index e7f7884d06..e90f539ecf 100644 --- a/dev-python/backports-lzma/Manifest +++ b/dev-python/backports-lzma/Manifest @@ -1 +1,2 @@ DIST backports.lzma-0.0.6.tar.gz 34475 SHA256 c9c97b10fb1941abdd896b9447e3745da59b32750b27c015ddb8eaf3654daaea SHA512 6196e64e81c2427d07844dab984113021ae97ba9d0c136cfd20b7213cdb8cda8b9a2643c8df21c799d338031cd49d4cbfd7f9ba9c30efd6cd28e63e8772a032b WHIRLPOOL 3d0f8a5f34d18c2f1e0072a0b6fa4ab22bfd61031ca521d423b4007b8702ec7d901560dc5416389f1e9839590a2326ac7ad2850d1a39e7603cb66f598a2de66c +DIST backports.lzma-0.0.8.tar.gz 36111 SHA256 200584ad5079d8ca6b1bfe14890c7be58666ab0128d8ca26cfb2669b476085f3 SHA512 bc5e7672a0ac53b7cf97ea52a566e96d92a3dd334a8321699585225e32ad7c723b4ffd6e4b153bd2ae3ead2a2cd6a48678b915257de4952ddca8389032db48ad WHIRLPOOL 1aaa4ac5b0a2d25a932577ed52843a99a92ef152e1eaf5795bbdd9ec13cb048acd0f01a99eef1182392b33ae62aa2b4f61fb0e801e44eb729d665d707ca71ebf diff --git a/dev-python/backports-lzma/backports-lzma-0.0.8.ebuild b/dev-python/backports-lzma/backports-lzma-0.0.8.ebuild new file mode 100644 index 0000000000..1096d8237f --- /dev/null +++ b/dev-python/backports-lzma/backports-lzma-0.0.8.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Backport of Python 3.3's lzma module for XZ/LZMA compressed files" +HOMEPAGE="https://github.com/peterjc/backports.lzma/ https://pypi.python.org/pypi/backports.lzma/" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="app-arch/xz-utils + dev-python/backports[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +python_test() { + PYTHONPATH="${BUILD_DIR}/lib" "${PYTHON}" test/test_lzma.py || die "tests failed with ${EPYTHON}" +} + +python_install() { + # main namespace provided by dev-python/backports + rm "${BUILD_DIR}"/lib/backports/__init__.py || die + rm -f backports/__init__.py || die + + distutils-r1_python_install +}