diff options
author | Tim Harder <radhermit@gentoo.org> | 2018-12-27 02:06:43 -0600 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2018-12-27 02:27:06 -0600 |
commit | 89b05bfb1d116ed960a4c899d46369396f53280c (patch) | |
tree | 3ba498d717afa763a628e0dd2f1540bda9150d06 /dev-python | |
parent | dev-python/aniso8601: version bump to 4.0.1 (diff) | |
download | gentoo-89b05bfb1d116ed960a4c899d46369396f53280c.tar.gz gentoo-89b05bfb1d116ed960a4c899d46369396f53280c.tar.bz2 gentoo-89b05bfb1d116ed960a4c899d46369396f53280c.zip |
dev-python/backports-lzma: version bump to 0.0.13
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/backports-lzma/Manifest | 1 | ||||
-rw-r--r-- | dev-python/backports-lzma/backports-lzma-0.0.13.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/backports-lzma/Manifest b/dev-python/backports-lzma/Manifest index 3dfbb7c9c670..1cc2cf8e92de 100644 --- a/dev-python/backports-lzma/Manifest +++ b/dev-python/backports-lzma/Manifest @@ -1,2 +1,3 @@ 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.13.tar.gz 42552 BLAKE2B 85cff01ee9b5481a056fe6fa993a44ec3799eed3ef8e12f98f7b94d8af85c196c3244df4555b957fbdb566416c1bfaa4e8654e16115c9bea986a72bb9d834b3f SHA512 e022de691bc1eef917286da40e2c0ee477300a0af20fba9e972bffd3d0ca1155d5d2607e7601e28d70d1e721b93c785f81adb1c7c73172659ab7615708e55aa2 diff --git a/dev-python/backports-lzma/backports-lzma-0.0.13.ebuild b/dev-python/backports-lzma/backports-lzma-0.0.13.ebuild new file mode 100644 index 000000000000..4f216f27b210 --- /dev/null +++ b/dev-python/backports-lzma/backports-lzma-0.0.13.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} |