diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-07-12 13:45:39 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-07-12 13:46:28 -0400 |
commit | c759c14b398815f1bbec7f223553acf7c4d7bed1 (patch) | |
tree | 8d40bbd36fe390dcb99c52d12ce25d797b7905ed /dev-python/backports-lzma | |
parent | dev-php/PEAR-HTTP_Header: new EAPI=6 revision sans the PEAR eclass. (diff) | |
download | gentoo-c759c14b398815f1bbec7f223553acf7c4d7bed1.tar.gz gentoo-c759c14b398815f1bbec7f223553acf7c4d7bed1.tar.bz2 gentoo-c759c14b398815f1bbec7f223553acf7c4d7bed1.zip |
dev-python/backports-lzma: version bump to 0.0.6
Diffstat (limited to 'dev-python/backports-lzma')
-rw-r--r-- | dev-python/backports-lzma/Manifest | 1 | ||||
-rw-r--r-- | dev-python/backports-lzma/backports-lzma-0.0.6.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/backports-lzma/Manifest b/dev-python/backports-lzma/Manifest index e44ec1c3aaa4..c60ee3d9b370 100644 --- a/dev-python/backports-lzma/Manifest +++ b/dev-python/backports-lzma/Manifest @@ -1 +1,2 @@ DIST backports.lzma-0.0.3.tar.gz 33848 SHA256 bac58aec8d39ac3d22250840fb24830d0e4a0ef05ad8f3f09172dc0cc80cdbca SHA512 a653b61d1e45de73ac13845127fecd97e84872c453be9e090ba2d6d2ff6187817ab980e36c1961f0a66bb9a660bb716fc7679b5317a4ff41db42156024847f45 WHIRLPOOL 33eb3c8b1c9aa8d4beabdc52247cea4b0ad2913989a2b508f71073a7a6b8dd9b6260339233f78d8e8f28476c48242076b3a95b427155f0605336e17b79e0d9ee +DIST backports.lzma-0.0.6.tar.gz 34475 SHA256 c9c97b10fb1941abdd896b9447e3745da59b32750b27c015ddb8eaf3654daaea SHA512 6196e64e81c2427d07844dab984113021ae97ba9d0c136cfd20b7213cdb8cda8b9a2643c8df21c799d338031cd49d4cbfd7f9ba9c30efd6cd28e63e8772a032b WHIRLPOOL 3d0f8a5f34d18c2f1e0072a0b6fa4ab22bfd61031ca521d423b4007b8702ec7d901560dc5416389f1e9839590a2326ac7ad2850d1a39e7603cb66f598a2de66c diff --git a/dev-python/backports-lzma/backports-lzma-0.0.6.ebuild b/dev-python/backports-lzma/backports-lzma-0.0.6.ebuild new file mode 100644 index 000000000000..3b6012677f88 --- /dev/null +++ b/dev-python/backports-lzma/backports-lzma-0.0.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 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 +} |