Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyasn1-modules/
Date: Sun, 11 Oct 2015 11:25:32
Message-Id: 1444562669.675996b4703770742e27007fc1c7e247d6f6d048.jlec@gentoo
1 commit: 675996b4703770742e27007fc1c7e247d6f6d048
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 11 10:35:13 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 11 11:24:29 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=675996b4
7
8 dev-python/pyasn1-modules: Add python3.5 support
9
10 Package-Manager: portage-2.2.23
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/pyasn1-modules/metadata.xml | 2 +-
14 .../pyasn1-modules/pyasn1-modules-0.0.8-r1.ebuild | 38 ++++++++++++++++++++++
15 2 files changed, 39 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-python/pyasn1-modules/metadata.xml b/dev-python/pyasn1-modules/metadata.xml
18 index f95ded4..a9d9baa 100644
19 --- a/dev-python/pyasn1-modules/metadata.xml
20 +++ b/dev-python/pyasn1-modules/metadata.xml
21 @@ -1,4 +1,4 @@
22 -<?xml version='1.0' encoding='UTF-8'?>
23 +<?xml version="1.0" encoding="UTF-8"?>
24 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
25 <pkgmetadata>
26 <herd>python</herd>
27
28 diff --git a/dev-python/pyasn1-modules/pyasn1-modules-0.0.8-r1.ebuild b/dev-python/pyasn1-modules/pyasn1-modules-0.0.8-r1.ebuild
29 new file mode 100644
30 index 0000000..a34c654
31 --- /dev/null
32 +++ b/dev-python/pyasn1-modules/pyasn1-modules-0.0.8-r1.ebuild
33 @@ -0,0 +1,38 @@
34 +# Copyright 1999-2015 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +# $Id$
37 +
38 +EAPI=5
39 +
40 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="pyasn1 modules"
45 +HOMEPAGE="http://pyasn1.sourceforge.net/ https://pypi.python.org/pypi/pyasn1-modules"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="BSD"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE=""
52 +
53 +RDEPEND=">=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]"
54 +DEPEND="${RDEPEND}
55 + dev-python/setuptools[${PYTHON_USEDEP}]"
56 +
57 +python_test() {
58 + echoit() { echo "$@"; "$@"; }
59 + local exit_status=0 test
60 + for test in test/*.sh; do
61 + PATH="${S}/tools:${PATH}" \
62 + echoit sh "${test}" || exit_status=1
63 + done
64 + return ${exit_status}
65 +}
66 +
67 +python_install_all() {
68 + distutils-r1_python_install_all
69 + insinto /usr/share/${P}
70 + doins -r tools
71 +}