From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A72FA13888F for ; Sun, 11 Oct 2015 11:25:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43FEBE0801; Sun, 11 Oct 2015 11:25:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46034E07F7 for ; Sun, 11 Oct 2015 11:25:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8612C340676 for ; Sun, 11 Oct 2015 11:25:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39820DF4 for ; Sun, 11 Oct 2015 11:25:11 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1444562669.4fc9e607180bb43dcad7cdfa00feb6a3135f8fe0.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyasn1/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyasn1/metadata.xml dev-python/pyasn1/pyasn1-0.1.9-r1.ebuild X-VCS-Directories: dev-python/pyasn1/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 4fc9e607180bb43dcad7cdfa00feb6a3135f8fe0 X-VCS-Branch: master Date: Sun, 11 Oct 2015 11:25:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c3148b77-c177-4c34-8ce9-648f77feacfd X-Archives-Hash: 6b9b04484ab060afdf983c9c8ff402be commit: 4fc9e607180bb43dcad7cdfa00feb6a3135f8fe0 Author: Justin Lecher gentoo org> AuthorDate: Sun Oct 11 10:34:30 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Oct 11 11:24:29 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc9e607 dev-python/pyasn1: Add python3.5 support Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> dev-python/pyasn1/metadata.xml | 2 +- dev-python/pyasn1/pyasn1-0.1.9-r1.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/dev-python/pyasn1/metadata.xml b/dev-python/pyasn1/metadata.xml index fb9d923..96fdefb 100644 --- a/dev-python/pyasn1/metadata.xml +++ b/dev-python/pyasn1/metadata.xml @@ -1,4 +1,4 @@ - + python diff --git a/dev-python/pyasn1/pyasn1-0.1.9-r1.ebuild b/dev-python/pyasn1/pyasn1-0.1.9-r1.ebuild new file mode 100644 index 0000000..671c341 --- /dev/null +++ b/dev-python/pyasn1/pyasn1-0.1.9-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="ASN.1 library for Python" +HOMEPAGE="http://pyasn1.sourceforge.net/ https://pypi.python.org/pypi/pyasn1" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="doc" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + "${PYTHON}" test/suite.py || die "Tests fail with ${EPYTHON}" +} + +src_install() { + local HTML_DOCS=( doc/pyasn1-tutorial.html ) + use doc && HTML_DOCS=( doc/. ) + + distutils-r1_src_install +}