From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 10FB71396D9 for ; Sun, 29 Oct 2017 21:51:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F168E0E59; Sun, 29 Oct 2017 21:51:55 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F38EE0E59 for ; Sun, 29 Oct 2017 21:51:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A497C340806 for ; Sun, 29 Oct 2017 21:51:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F74641F for ; Sun, 29 Oct 2017 21:51:52 +0000 (UTC) From: "Matt Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Thode" Message-ID: <1509313891.a7a542eedaa40bfd92a22a980239c2a31c719ff3.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/scons/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/scons/Manifest dev-util/scons/scons-3.0.0.ebuild X-VCS-Directories: dev-util/scons/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: a7a542eedaa40bfd92a22a980239c2a31c719ff3 X-VCS-Branch: master Date: Sun, 29 Oct 2017 21:51:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7af66781-9a37-43bd-8466-fc4261084aa3 X-Archives-Hash: c9fd4ebb7bddf50c23a9144332481aa3 commit: a7a542eedaa40bfd92a22a980239c2a31c719ff3 Author: Matthew Thode gentoo org> AuthorDate: Sun Oct 29 21:50:50 2017 +0000 Commit: Matt Thode gentoo org> CommitDate: Sun Oct 29 21:51:31 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a542ee dev-util/scons: 3.0.0 bup (supports py35+) Package-Manager: Portage-2.3.8, Repoman-2.3.4 dev-util/scons/Manifest | 3 +++ dev-util/scons/scons-3.0.0.ebuild | 52 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-util/scons/Manifest b/dev-util/scons/Manifest index e6c0505f311..ceb7b7dca31 100644 --- a/dev-util/scons/Manifest +++ b/dev-util/scons/Manifest @@ -10,3 +10,6 @@ DIST scons-2.5.0.tar.gz 619991 SHA256 eb296b47f23c20aec7d87d35cfa386d3508e01d1ca DIST scons-2.5.1-user.html 1112180 SHA256 42c69adcc6f098e61ceb2bd1c12acbd35bf654c9341e2390d0d2191111f88c57 SHA512 5be58a6bba4b92fc51f0b271fd7e08b820dda10775aaa40a012c0e54d485e02ebf6d0d0be379bd90980a9b496e86a951c8760a4a90107fb3b8f422e874e46046 WHIRLPOOL 31b4ffee0b58bfb502c72f7e4120aeac0ddc5713bee976b18e8ac3972670ee5baa708da58bf76a9cf91b4cb9730e5a17fd775235b06cb9d4fe438a6e54f7712b DIST scons-2.5.1-user.pdf 2522755 SHA256 dfba0c3800854010998a8184bdc829184d5965c6638d28dd9b552c50418fd1f6 SHA512 0bd7f67a1355ec33125bef87ce1bc352bda5b0befd9809673a427851c843191d74930b4ca9add705152393521f81d926595d173b0101013da216217dc5b64397 WHIRLPOOL cdc648537a6418a4ffac513d051030c6ec68812be4962aa2242ae85b99a4ecb08e209d03035eb90414a430b859bf94d5e5912efb0223ba7e0565428471470e03 DIST scons-2.5.1.tar.gz 620909 SHA256 0b25218ae7b46a967db42f2a53721645b3d42874a65f9552ad16ce26d30f51f2 SHA512 0e39f7f22a6c4ecc13edcd843b050754da5ded5371b3a8b406395f7b53dd280f95f804707eec271f8de3624d06f5b4ba3cc788dc4eb891cad224a163544f51b9 WHIRLPOOL b3e17c9b4d5b0b490132c6d15ffd4a32b879e2b6819f666fe29605074b0c2f48598ec0252ead76841b49c00942078b94fd43e834dea0acd317a8ac1e06554ad9 +DIST scons-3.0.0-user.html 1111001 SHA256 5dfd3ca4709ea27b96b59e029edff0ea24099fb91324abd0084011e4ea031327 SHA512 fb03770d2ca37d33acafa79a76db2fe5378b16f7717bcbf2c80bb8f8244678bf4418ba2cf8631bd5abfb782af2e22e00a77e889cf4f9a69fa1c49d7dc690d5b6 WHIRLPOOL 07d7a0d81c2589edb448af38dbb956f7e1f50ad988e7c1c31207f6abf9a0c9e3a2ec1c910d084fc1609b9a8f3c3be0e1c5ece173989c2ecb3df2011259a6e656 +DIST scons-3.0.0-user.pdf 2376928 SHA256 f4229adb871c630125e94eae358abb9defc09a68abad08a4c3287d73e489df1a SHA512 826653a8d6700b8faab6e22451fbf0839b2d639db1492334fbcec39f224d19b2d076f49d6cb167c085e8285e4b7022329042d805066922c2edb20db3322816a4 WHIRLPOOL e4b8fe233077e6df1c8aa3ad077ffe5964871cca5d5742f275931145d19d2d84a7b0aad3a696b40777a49dbb142fb4f6626a1c00590edaa7c2898b3bb9d1c4ec +DIST scons-3.0.0.tar.gz 630418 SHA256 0f532f405b98c60b731d231b3c503ab5bf47d89a6f66f70cb62c9249e9f45216 SHA512 e52c31a21f8aab4bbb684a8770cbcb9eeef042d5c8c86ea2f4beb64ec0c50bc1ca4aa738a2bf92330bd26f8fa9589cb10314dc53defccc2825a5a13b01641b2d WHIRLPOOL fda54b5529c9523dbd2fbb5bb136d77e21663661bb9bf7bb4aea162be319374374894831680f2ce7fe80f4f96496140d103aeef62e06a759d883ab8e689adfc6 diff --git a/dev-util/scons/scons-3.0.0.ebuild b/dev-util/scons/scons-3.0.0.ebuild new file mode 100644 index 00000000000..976a1a92deb --- /dev/null +++ b/dev-util/scons/scons-3.0.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_5 python3_6 pypy ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +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 ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +#PATCHES=( ) + +python_prepare_all() { + # https://bugs.gentoo.org/show_bug.cgi?id=361061 + sed -i -e "s|/usr/local/bin:/opt/bin:/bin:/usr/bin|${EPREFIX}/usr/local/bin:${EPREFIX}/opt/bin:${EPREFIX}/bin:${EPREFIX}/usr/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin|g" engine/SCons/Platform/posix.py || die + # and make sure the build system doesn't "force" /usr/local/ :( + sed -i -e "s/'darwin'/'NOWAYdarwinWAYNO'/" setup.py || die + + distutils-r1_python_prepare_all +} + +python_install() { + distutils-r1_python_install \ + --standard-lib \ + --no-version-script \ + --install-data "${EPREFIX}"/usr/share +} + +python_install_all() { + local DOCS=( {CHANGES,README,RELEASE}.txt ) + distutils-r1_python_install_all + + use doc && dodoc "${DISTDIR}"/${P}-user.{pdf,html} +} + +src_install() { + distutils-r1_src_install + + # Build system does not use build_scripts properly. + # http://scons.tigris.org/issues/show_bug.cgi?id=2891 + python_replicate_script "${ED}"usr/bin/scons{,ign,-time} +}