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 AB410138334 for ; Sun, 1 Jul 2018 03:24:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E042EE084A; Sun, 1 Jul 2018 03:24:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8334EE0848 for ; Sun, 1 Jul 2018 03:24:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AAAC8335C96 for ; Sun, 1 Jul 2018 03:24:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1B11357 for ; Sun, 1 Jul 2018 03:24:41 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1530415226.19104c97c6a20b1fed082ecdafc53b486e7d1085.radhermit@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.12.ebuild X-VCS-Directories: dev-python/backports-lzma/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 19104c97c6a20b1fed082ecdafc53b486e7d1085 X-VCS-Branch: master Date: Sun, 1 Jul 2018 03:24:41 +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: ef3776cc-049f-4e21-ac7f-af83b4ae0a84 X-Archives-Hash: 9385672477d1a1d727e7ccf05c33b638 commit: 19104c97c6a20b1fed082ecdafc53b486e7d1085 Author: Tim Harder gentoo org> AuthorDate: Sun Jul 1 02:01:32 2018 +0000 Commit: Tim Harder gentoo org> CommitDate: Sun Jul 1 03:20:26 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19104c97 dev-python/backports-lzma: version bump to 0.0.12 dev-python/backports-lzma/Manifest | 1 + .../backports-lzma/backports-lzma-0.0.12.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/backports-lzma/Manifest b/dev-python/backports-lzma/Manifest index d3ae362991b..2e93a5b7784 100644 --- a/dev-python/backports-lzma/Manifest +++ b/dev-python/backports-lzma/Manifest @@ -1,3 +1,4 @@ DIST backports.lzma-0.0.10.tar.gz 37242 BLAKE2B 42ee440437379aae9a5d4708d8766300143651f932a63b54e3c4153d48e02843cfd45ce2d60baefcda1f10465f8b982b6883a6047a146d14858f32f5ab9c9485 SHA512 72814ea262ec3916e6a44a571ffa2fb3316e7238a84649232849e378f720132157f5747dbbce659e7144e53e62a84bb41e419ae6d9b8f5daf10ced372b1bf9d5 +DIST backports.lzma-0.0.12.tar.gz 37640 BLAKE2B d157e71fccd7367bfa9d0a856cc9bcde7c33685816c08e380ddf596a4a84cd9cbc4cf1c3d866057a507adae053678d150c054c6b078c4aabbd3385e5821c275a SHA512 c855a1b4b17df5714060e18bf0b3de4db24e1ca1f97550fa44749bf50eb2309dbad56feb092246db8ccb23d61d84fb3deb2553670ec035b5d11982c33bda47f9 DIST backports.lzma-0.0.6.tar.gz 34475 BLAKE2B 9249684972b2496cfc5652d4dea5d03e0cf14fbef4a6f617111210e0125d0f455db2b80cdad5640ad71d04fe23fa292ea50a2083125daae5023512e577553683 SHA512 6196e64e81c2427d07844dab984113021ae97ba9d0c136cfd20b7213cdb8cda8b9a2643c8df21c799d338031cd49d4cbfd7f9ba9c30efd6cd28e63e8772a032b DIST backports.lzma-0.0.8.tar.gz 36111 BLAKE2B 1acbe9628f740f067068cc07105abe2a161bd2ebc712f1967c54d814abfa432cf5394167cc7adfcde49cc54adecb792a84e91ae810ad150ef38a22b2e79f9440 SHA512 bc5e7672a0ac53b7cf97ea52a566e96d92a3dd334a8321699585225e32ad7c723b4ffd6e4b153bd2ae3ead2a2cd6a48678b915257de4952ddca8389032db48ad diff --git a/dev-python/backports-lzma/backports-lzma-0.0.12.ebuild b/dev-python/backports-lzma/backports-lzma-0.0.12.ebuild new file mode 100644 index 00000000000..aad523555f9 --- /dev/null +++ b/dev-python/backports-lzma/backports-lzma-0.0.12.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 pypy ) + +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.org/project/backports.lzma/" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" + +RDEPEND="app-arch/xz-utils:0= + dev-python/backports[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( app-arch/xz-utils:0[extra-filters(+)] )" + +S=${WORKDIR}/${MY_P} + +python_test() { + "${EPYTHON}" 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 +}