diff options
author | Jesus Rivero <neurogeek@gentoo.org> | 2011-07-19 15:41:51 +0000 |
---|---|---|
committer | Jesus Rivero <neurogeek@gentoo.org> | 2011-07-19 15:41:51 +0000 |
commit | 8f96162afacc60907c5255d1c2f446b81ed704fa (patch) | |
tree | 0353f1829d898b515ede71742f5068ef329ef098 /dev-util/scons/scons-2.0.1-r1.ebuild | |
parent | Initial commit; ebuild by Randall Wald in bug #367987. (diff) | |
download | historical-8f96162afacc60907c5255d1c2f446b81ed704fa.tar.gz historical-8f96162afacc60907c5255d1c2f446b81ed704fa.tar.bz2 historical-8f96162afacc60907c5255d1c2f446b81ed704fa.zip |
Python related improvements. Closes bug #367049. Thanks to Mike Gilbert
Package-Manager: portage-2.2.0_alpha29/cvs/Linux i686
Diffstat (limited to 'dev-util/scons/scons-2.0.1-r1.ebuild')
-rw-r--r-- | dev-util/scons/scons-2.0.1-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/scons/scons-2.0.1-r1.ebuild b/dev-util/scons/scons-2.0.1-r1.ebuild new file mode 100644 index 000000000000..a93ac4b4993e --- /dev/null +++ b/dev-util/scons/scons-2.0.1-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-2.0.1-r1.ebuild,v 1.1 2011/07/19 15:41:51 neurogeek Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +PYTHON_USE_WITH="threads" +SUPPORT_PYTHON_ABIS=1 + +inherit distutils eutils + +DESCRIPTION="Extensible Python-based build utility" +HOMEPAGE="http://www.scons.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + doc? ( http://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf -> ${P}-user.pdf + http://www.scons.org/doc/${PV}/HTML/${PN}-user.html -> ${P}-user.html )" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="doc" + +DEPEND="" +RDEPEND="" + +RESTRICT_PYTHON_ABIS="3.*" + +DOCS="CHANGES.txt RELEASE.txt" + +src_prepare() { + distutils_src_prepare + epatch "${FILESDIR}/scons-1.2.0-popen.patch" +} + +src_install () { + distutils_src_install \ + --standard-lib \ + --no-version-script \ + --install-data /usr/share + + if use doc; then + insinto /usr/share/doc/${PF} + doins "${DISTDIR}"/${P}-user.{pdf,html} + fi +} |