diff options
-rw-r--r-- | dev-python/lockfile/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/lockfile/lockfile-0.8-r1.ebuild | 42 |
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-python/lockfile/ChangeLog b/dev-python/lockfile/ChangeLog index 2de7c683ba2e..ae6dd9598413 100644 --- a/dev-python/lockfile/ChangeLog +++ b/dev-python/lockfile/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/lockfile # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/lockfile/ChangeLog,v 1.20 2013/09/05 18:46:31 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/lockfile/ChangeLog,v 1.21 2013/09/12 05:24:35 prometheanfire Exp $ + +*lockfile-0.8-r1 (12 Sep 2013) + + 12 Sep 2013; Matthew Thode <prometheanfire@gentoo.org> + +lockfile-0.8-r1.ebuild: + update to distutils-r1 05 Sep 2013; Michał Górny <mgorny@gentoo.org> lockfile-0.9.1-r1.ebuild: Clean up PYTHON_COMPAT from old implementations. diff --git a/dev-python/lockfile/lockfile-0.8-r1.ebuild b/dev-python/lockfile/lockfile-0.8-r1.ebuild new file mode 100644 index 000000000000..74c53564aa1e --- /dev/null +++ b/dev-python/lockfile/lockfile-0.8-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/lockfile/lockfile-0.8-r1.ebuild,v 1.1 2013/09/12 05:24:35 prometheanfire Exp $ + +EAPI="5" +PYTHON_COMPAT=( python2_6 python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Platform-independent file locking module" +HOMEPAGE="http://code.google.com/p/pylockfile/ http://pypi.python.org/pypi/lockfile http://smontanaro.dyndns.org/python/" +SRC_URI="http://pylockfile.googlecode.com/files/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="doc" + +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND="" + +DOCS=( ACKS README RELEASE-NOTES ) + +python_compile() { + distutils-r1_python_compile + + if use doc; then + einfo "Generation of documentation" + cd doc + emake html || die "Generation of documentation failed" + fi +} + +src_install() { + distutils-r1_python_install_all + + if use doc; then + cd doc/.build/html + docinto html + cp -R [a-z]* _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed" + fi +} |