summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/scons/scons-2.0.1-r1.ebuild')
-rw-r--r--dev-util/scons/scons-2.0.1-r1.ebuild45
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
+}