1 |
commit: 19104c97c6a20b1fed082ecdafc53b486e7d1085 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 1 02:01:32 2018 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 1 03:20:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19104c97 |
7 |
|
8 |
dev-python/backports-lzma: version bump to 0.0.12 |
9 |
|
10 |
dev-python/backports-lzma/Manifest | 1 + |
11 |
.../backports-lzma/backports-lzma-0.0.12.ebuild | 39 ++++++++++++++++++++++ |
12 |
2 files changed, 40 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/backports-lzma/Manifest b/dev-python/backports-lzma/Manifest |
15 |
index d3ae362991b..2e93a5b7784 100644 |
16 |
--- a/dev-python/backports-lzma/Manifest |
17 |
+++ b/dev-python/backports-lzma/Manifest |
18 |
@@ -1,3 +1,4 @@ |
19 |
DIST backports.lzma-0.0.10.tar.gz 37242 BLAKE2B 42ee440437379aae9a5d4708d8766300143651f932a63b54e3c4153d48e02843cfd45ce2d60baefcda1f10465f8b982b6883a6047a146d14858f32f5ab9c9485 SHA512 72814ea262ec3916e6a44a571ffa2fb3316e7238a84649232849e378f720132157f5747dbbce659e7144e53e62a84bb41e419ae6d9b8f5daf10ced372b1bf9d5 |
20 |
+DIST backports.lzma-0.0.12.tar.gz 37640 BLAKE2B d157e71fccd7367bfa9d0a856cc9bcde7c33685816c08e380ddf596a4a84cd9cbc4cf1c3d866057a507adae053678d150c054c6b078c4aabbd3385e5821c275a SHA512 c855a1b4b17df5714060e18bf0b3de4db24e1ca1f97550fa44749bf50eb2309dbad56feb092246db8ccb23d61d84fb3deb2553670ec035b5d11982c33bda47f9 |
21 |
DIST backports.lzma-0.0.6.tar.gz 34475 BLAKE2B 9249684972b2496cfc5652d4dea5d03e0cf14fbef4a6f617111210e0125d0f455db2b80cdad5640ad71d04fe23fa292ea50a2083125daae5023512e577553683 SHA512 6196e64e81c2427d07844dab984113021ae97ba9d0c136cfd20b7213cdb8cda8b9a2643c8df21c799d338031cd49d4cbfd7f9ba9c30efd6cd28e63e8772a032b |
22 |
DIST backports.lzma-0.0.8.tar.gz 36111 BLAKE2B 1acbe9628f740f067068cc07105abe2a161bd2ebc712f1967c54d814abfa432cf5394167cc7adfcde49cc54adecb792a84e91ae810ad150ef38a22b2e79f9440 SHA512 bc5e7672a0ac53b7cf97ea52a566e96d92a3dd334a8321699585225e32ad7c723b4ffd6e4b153bd2ae3ead2a2cd6a48678b915257de4952ddca8389032db48ad |
23 |
|
24 |
diff --git a/dev-python/backports-lzma/backports-lzma-0.0.12.ebuild b/dev-python/backports-lzma/backports-lzma-0.0.12.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..aad523555f9 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/backports-lzma/backports-lzma-0.0.12.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 pypy ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+MY_PN=${PN/-/.} |
40 |
+MY_P=${MY_PN}-${PV} |
41 |
+ |
42 |
+DESCRIPTION="Backport of Python 3.3's lzma module for XZ/LZMA compressed files" |
43 |
+HOMEPAGE="https://github.com/peterjc/backports.lzma/ https://pypi.org/project/backports.lzma/" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+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" |
49 |
+IUSE="test" |
50 |
+ |
51 |
+RDEPEND="app-arch/xz-utils:0= |
52 |
+ dev-python/backports[${PYTHON_USEDEP}]" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ test? ( app-arch/xz-utils:0[extra-filters(+)] )" |
55 |
+ |
56 |
+S=${WORKDIR}/${MY_P} |
57 |
+ |
58 |
+python_test() { |
59 |
+ "${EPYTHON}" test/test_lzma.py || die "tests failed with ${EPYTHON}" |
60 |
+} |
61 |
+ |
62 |
+python_install() { |
63 |
+ # main namespace provided by dev-python/backports |
64 |
+ rm "${BUILD_DIR}"/lib/backports/__init__.py || die |
65 |
+ rm -f backports/__init__.py || die |
66 |
+ |
67 |
+ distutils-r1_python_install |
68 |
+} |