commit: 39b1b602d7ed6043a994d75e617dcc73c682803e Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Thu Oct 15 14:09:59 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Thu Oct 15 14:41:21 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b1b602
dev-python/decorator: Add python3.5 support Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> dev-python/decorator/decorator-4.0.4.ebuild | 2 +- dev-python/decorator/metadata.xml | 2 +- dev-python/lockfile/Manifest | 1 + dev-python/lockfile/lockfile-0.11.0.ebuild | 44 +++++++++++++++++++++++++++++ 4 files changed, 47 insertions(+), 2 deletions(-) diff --git a/dev-python/decorator/decorator-4.0.4.ebuild b/dev-python/decorator/decorator-4.0.4.ebuild index 5f02fbc..06a5c45 100644 --- a/dev-python/decorator/decorator-4.0.4.ebuild +++ b/dev-python/decorator/decorator-4.0.4.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) inherit distutils-r1 diff --git a/dev-python/decorator/metadata.xml b/dev-python/decorator/metadata.xml index 069a4f0..548c052 100644 --- a/dev-python/decorator/metadata.xml +++ b/dev-python/decorator/metadata.xml @@ -1,4 +1,4 @@ -<?xml version='1.0' encoding='UTF-8'?> +<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>python</herd> diff --git a/dev-python/lockfile/Manifest b/dev-python/lockfile/Manifest index e1bb4de..bfa50c8 100644 --- a/dev-python/lockfile/Manifest +++ b/dev-python/lockfile/Manifest @@ -1,2 +1,3 @@ DIST lockfile-0.10.2.tar.gz 20662 SHA256 9e42252f17d1dd89ee31745e0c4fbe58862c25147eb0ef5295c9cd9bcb4ea2c1 SHA512 7d70bcf7c343228f144687dd2cbc47a525034a68134fa626077d08308e6abce80559e36e9f65859d4c46873c712f62e1d6bb2aeec422d337332b65caf2e430a8 WHIRLPOOL d23a0b99da2304d9c884e69df7fbae4e507d7bab35fe450f2062aba44b4c85fd2c1585012cd02a56c886b50c44fb5a470afe13546f828297c498c3a8551eda86 +DIST lockfile-0.11.0.tar.gz 20909 SHA256 eed7e0c829135aaaf2a9df83652bc6e2cc50175d933741c25aac0394674e7fd3 SHA512 6c4c69e1434194076a99f8134a2558c791675d420a17687dfd5b38c1303564392ecc388ec285d55a20027bcbcbc1b3475a489b70390796c46346b89d4b18ad89 WHIRLPOOL 3fe41cec5f22109ce17e249a02469201e74cc6facd18bbcd5d6b75984f1f72e66d36eab68772d9bc6aa0c1ef6597f3bdf8f8757d9f867323d152cca8a47a445f DIST lockfile-0.9.1.tar.gz 16949 SHA256 88d8ea8d435ee5691117a87d1ca8fed2f8da881eb145295bf6895ac2c416e95d SHA512 1f7e2b13c42df730339e653a361bf4b85a289d62ed9277f159ab454b1e951d922884086299912472236ce0772d5eceebab7e0c6407590bb2ccbe9c56b664de05 WHIRLPOOL 543bc9ad7e937feba52c6132eee3356a9a229c8866f4f605f8399343a676fc98f62bf33f121c4f8dcbac8e18f38168561d34119efea5e30b53427a7e7283055d diff --git a/dev-python/lockfile/lockfile-0.11.0.ebuild b/dev-python/lockfile/lockfile-0.11.0.ebuild new file mode 100644 index 0000000..fadc0ab --- /dev/null +++ b/dev-python/lockfile/lockfile-0.11.0.ebuild @@ -0,0 +1,44 @@ +# 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="Platform-independent file locking module" +HOMEPAGE="https://launchpad.net/pylockfile https://pypi.python.org/pypi/lockfile" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc test" + +DEPEND=" + >dev-python/pbr-0.7[${PYTHON_USEDEP}] + <dev-python/pbr-1[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/nose[${PYTHON_USEDEP}] )" +RDEPEND="" + +DOCS=( ACKS README RELEASE-NOTES ) + +python_compile_all() { + if use doc; then + einfo "Generation of documentation" + emake -C doc/source html || die "Generation of documentation failed" + fi +} + +python_test() { + # "${PYTHON}" test/test_lockfile.py yeilds no informative coverage output + nosetests || die "test_lockfile failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/source/.build/html/. ) + distutils-r1_python_install_all +}