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: Fri, 12 Apr 2019 05:01:55
Message-Id: 1555044927.91ce44da616ce1bb9dc832cc8ec2be152bf59c92.radhermit@gentoo
1 commit: 91ce44da616ce1bb9dc832cc8ec2be152bf59c92
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 12 04:55:27 2019 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 12 04:55:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91ce44da
7
8 dev-python/pyasn1: version bump to 0.4.3
9
10 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
11
12 dev-python/pyasn1/Manifest | 1 +
13 dev-python/pyasn1/pyasn1-0.4.3.ebuild | 40 +++++++++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/pyasn1/Manifest b/dev-python/pyasn1/Manifest
17 index 43c452eb5fc..96305698981 100644
18 --- a/dev-python/pyasn1/Manifest
19 +++ b/dev-python/pyasn1/Manifest
20 @@ -1,3 +1,4 @@
21 DIST pyasn1-0.2.3.tar.gz 100099 BLAKE2B 32e6fa765fc5c217f66ca5618acc132c96fd8adc3649e5323696ac8dcd2cc11fcbd0a362e53575465da79feb422452b9f964e4972ab7f581571e5cbfc14a8945 SHA512 c55b95c1995f2fc36ec28f35837ca456a2fac06e90edc6491a3335ae949e4eacbbeb14f6289a17e994b49d4dc60870bba3e79344c44496d5547c38ab1ef183ab
22 DIST pyasn1-0.3.7.tar.gz 117643 BLAKE2B 66e4987a63139c7af06d6bcdb125ef6f0f46ea5885bbbefae6c76252bd96296abf71a59f6ddc6f196ef78077a62649963c4d9419546f631d93e723dca30bf9b2 SHA512 85735ecb5b83979e51c9f663e2e0dcfbc317ba7e22474d78998f97c40a3487fd06ade9a259d1a4a8de5f4e70e5521a060af127799b92931ceb26abd384ec5807
23 DIST pyasn1-0.4.2.tar.gz 118404 BLAKE2B b96135b10eb9b79ac02b21d35df19ee1078a51586eb37832004a1891db0cce305fe3fb65c34f4b05fd1c854f1d708aa59b3e85908df39d54ebb051a2f021ca60 SHA512 30e7cdfd2f7b182081f951bd94169a300a577f95fbfcb4ddb6dc288617b2776265018d246ae0adb649650ee94aab9122a428313d7a61559f97ed7f02b9670709
24 +DIST pyasn1-0.4.3.tar.gz 118494 BLAKE2B 39c223e09d3996674e7e89306fadec9e47eb39284abafb7ca2b0f988ec420a3986247f6daf69a14bde0a671726c1e615976042228de6869606a3da2c7c65d7fd SHA512 a699b1ef58129860f8448e8c08a7017adfd7ead7844a45197b1026e12760424d20f89a421b3fe8caeab3922448d00a77f717c0a03841c36c6b1d1740b0d9707b
25
26 diff --git a/dev-python/pyasn1/pyasn1-0.4.3.ebuild b/dev-python/pyasn1/pyasn1-0.4.3.ebuild
27 new file mode 100644
28 index 00000000000..4ae0ed3d711
29 --- /dev/null
30 +++ b/dev-python/pyasn1/pyasn1-0.4.3.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 1999-2019 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="7"
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="ASN.1 library for Python"
42 +HOMEPAGE="http://snmplabs.com/pyasn1/"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="BSD-2"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
48 +IUSE="doc"
49 +
50 +RDEPEND=""
51 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
52 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
53 +
54 +python_test() {
55 + esetup.py test
56 +}
57 +
58 +src_compile() {
59 + if use doc; then
60 + python_setup
61 + esetup.py build_sphinx
62 + fi
63 + distutils-r1_src_compile
64 +}
65 +
66 +src_install() {
67 + local HTML_DOCS
68 + use doc && HTML_DOCS=( build/sphinx/html/. )
69 +
70 + distutils-r1_src_install
71 +}