diff options
author | Mike Gilbert <floppym@gentoo.org> | 2012-05-18 14:30:19 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2012-05-18 14:30:19 +0000 |
commit | 07e4293f39f5814780d1798dc43d28fd2ec12f2a (patch) | |
tree | 958b3fd15bd80c8d124d8032f19bca31a38aa30d /dev-python/pyasn1-modules | |
parent | Marked ~ppc/~ppc64. (diff) | |
download | gentoo-2-07e4293f39f5814780d1798dc43d28fd2ec12f2a.tar.gz gentoo-2-07e4293f39f5814780d1798dc43d28fd2ec12f2a.tar.bz2 gentoo-2-07e4293f39f5814780d1798dc43d28fd2ec12f2a.zip |
Version bump for bug 416177. Thanks to Ian Delaney for helping with the test function.
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyasn1-modules')
-rw-r--r-- | dev-python/pyasn1-modules/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pyasn1-modules/pyasn1-modules-0.0.3.ebuild | 45 |
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-python/pyasn1-modules/ChangeLog b/dev-python/pyasn1-modules/ChangeLog index 74df58243c87..f9e753451e1a 100644 --- a/dev-python/pyasn1-modules/ChangeLog +++ b/dev-python/pyasn1-modules/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pyasn1-modules # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1-modules/ChangeLog,v 1.9 2012/03/02 10:06:37 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1-modules/ChangeLog,v 1.10 2012/05/18 14:30:19 floppym Exp $ + +*pyasn1-modules-0.0.3 (18 May 2012) + + 18 May 2012; Mike Gilbert <floppym@gentoo.org> +pyasn1-modules-0.0.3.ebuild: + Version bump for bug 416177. Thanks to Ian Delaney for helping with the test + function. *pyasn1-modules-0.0.2 (02 Mar 2012) diff --git a/dev-python/pyasn1-modules/pyasn1-modules-0.0.3.ebuild b/dev-python/pyasn1-modules/pyasn1-modules-0.0.3.ebuild new file mode 100644 index 000000000000..a60c18c37210 --- /dev/null +++ b/dev-python/pyasn1-modules/pyasn1-modules-0.0.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1-modules/pyasn1-modules-0.0.3.ebuild,v 1.1 2012/05/18 14:30:19 floppym Exp $ + +EAPI="4" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-jython" + +inherit distutils + +DESCRIPTION="pyasn1 modules" +HOMEPAGE="http://pyasn1.sourceforge.net/ http://pypi.python.org/pypi/pyasn1-modules" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +RDEPEND="dev-python/pyasn1" +DEPEND="${RDEPEND} + dev-python/setuptools" + +DOCS="CHANGES README" +PYTHON_MODNAME="pyasn1_modules" + +src_test() { + echoit() { echo "$@"; "$@"; } + testing() { + local exit_status=0 + for test in test/*.sh; do + PATH="${S}/tools:${PATH}" PYTHONPATH="build-${PYTHON_ABI}/lib" \ + echoit sh "${test}" || exit_status=1 + done + return ${exit_status} + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + insinto /usr/share/doc/${PF}/tools + doins tools/* || die "doins failed" +} |