Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyasn1/
Date: Thu, 19 Oct 2017 08:20:17
Message-Id: 1508401181.4b5c9499d80ce98456cdb8094401026ca9fc563b.radhermit@gentoo
1 commit: 4b5c9499d80ce98456cdb8094401026ca9fc563b
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 19 08:13:16 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 19 08:19:41 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b5c9499
7
8 dev-python/pyasn1: version bump to 0.3.7
9
10 dev-python/pyasn1/Manifest | 1 +
11 dev-python/pyasn1/pyasn1-0.3.7.ebuild | 43 +++++++++++++++++++++++++++++++++++
12 2 files changed, 44 insertions(+)
13
14 diff --git a/dev-python/pyasn1/Manifest b/dev-python/pyasn1/Manifest
15 index 1f262944f32..f88984bf984 100644
16 --- a/dev-python/pyasn1/Manifest
17 +++ b/dev-python/pyasn1/Manifest
18 @@ -1,3 +1,4 @@
19 DIST pyasn1-0.1.8.tar.gz 75676 SHA256 5d33be7ca0ec5997d76d29ea4c33b65c00c0231407fff975199d7f40530b8347 SHA512 0a0b9b8018ae80a0e0d84ea3a4f217951bf42dce909a354c97890d4b4fc4f49b19d9d0757103ac9002c17c6c622c8e8d66e1f8242b8545a7da455ef3583acdfa WHIRLPOOL db46e06ef9a6b5858c07f1c154657f998b509c457395b4f2e6286ea90e1b16346e24d92a8d666b5db4216e35129f2d6be13c2fc11aae2d9936163bff3b1400eb
20 DIST pyasn1-0.2.3.tar.gz 100099 SHA256 66c70011074ed6f5a74591591a9f0bed4bc2c2a45baef60f8dcc89ab5da11b9d SHA512 c55b95c1995f2fc36ec28f35837ca456a2fac06e90edc6491a3335ae949e4eacbbeb14f6289a17e994b49d4dc60870bba3e79344c44496d5547c38ab1ef183ab WHIRLPOOL d74142002096d49914e8b15a425764a08c02a43326b9ca1511f4e316fd025c0ce9333c748e010794fe788416b38aa7a1e3460c346524200ba4bd3836297d405c
21 DIST pyasn1-0.3.6.tar.gz 117506 SHA256 3a263cea3e15f459b1e97b1f7d3840b890eeb29eddaf480203a2929a651c5968 SHA512 0857b957bd29f999858869e02ee84ec86aae6362229da14b47f4c54f1358632d161e417325e0e2cec8a3fa293f52156d703481dac872e7f323e317cf14197dce WHIRLPOOL 84fe36d176482ea296e9434ae17faf6b1bc58667fb7102855e51c8427da81777e80ad3306e50d35ef95b03f15460ff1cf38c83e5adbe436f5588778a023f57f7
22 +DIST pyasn1-0.3.7.tar.gz 117643 SHA256 0d7d36536c593f5043949cc073bc721c6db3ec01915c6babc61851fb79c3e7aa SHA512 85735ecb5b83979e51c9f663e2e0dcfbc317ba7e22474d78998f97c40a3487fd06ade9a259d1a4a8de5f4e70e5521a060af127799b92931ceb26abd384ec5807 WHIRLPOOL fc0099a114e207edcc35f9858dce50cbc20246d8060143496a206c206abbc55180dd313ce0b48109918bece4205ccd1400ca4b81d3737b6d572b05f659e1b695
23
24 diff --git a/dev-python/pyasn1/pyasn1-0.3.7.ebuild b/dev-python/pyasn1/pyasn1-0.3.7.ebuild
25 new file mode 100644
26 index 00000000000..386b3f4ad63
27 --- /dev/null
28 +++ b/dev-python/pyasn1/pyasn1-0.3.7.ebuild
29 @@ -0,0 +1,43 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="ASN.1 library for Python"
40 +HOMEPAGE="http://pyasn1.sourceforge.net/ https://pypi.python.org/pypi/pyasn1"
41 +SRC_URI="https://github.com/etingof/pyasn1/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +# The required doc/source/conf.py file is missing from the pypi:
43 +# https://github.com/etingof/pyasn1/issues/35
44 +#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="BSD-2"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
49 +IUSE="doc"
50 +
51 +RDEPEND=""
52 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
53 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
54 +
55 +python_test() {
56 + esetup.py test || die "Tests fail with ${EPYTHON}"
57 +}
58 +
59 +src_compile() {
60 + if use doc; then
61 + python_setup
62 + esetup.py build_sphinx
63 + fi
64 + distutils-r1_src_compile
65 +}
66 +
67 +src_install() {
68 + local HTML_DOCS
69 + use doc && HTML_DOCS=( build/sphinx/html/. )
70 +
71 + distutils-r1_src_install
72 +}