diff options
author | Michael Weber <xmw@gentoo.org> | 2017-09-29 08:07:25 +0200 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2017-09-29 08:07:25 +0200 |
commit | 1d41efdc40b5ac65f15c8e6d7802e7fbb15e99c4 (patch) | |
tree | ce375ec41701f2861e218b9e841651ce31e74530 /dev-util/waf | |
parent | app-misc/qlcplus: inherit xdg for xdg_desktop_database_update, fix sandbox vi... (diff) | |
download | gentoo-1d41efdc40b5ac65f15c8e6d7802e7fbb15e99c4.tar.gz gentoo-1d41efdc40b5ac65f15c8e6d7802e7fbb15e99c4.tar.bz2 gentoo-1d41efdc40b5ac65f15c8e6d7802e7fbb15e99c4.zip |
dev-util/waf: Version bump.
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-util/waf')
-rw-r--r-- | dev-util/waf/Manifest | 1 | ||||
-rw-r--r-- | dev-util/waf/waf-1.9.14.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-util/waf/Manifest b/dev-util/waf/Manifest index 6c2be8035af3..df8e3b38ea19 100644 --- a/dev-util/waf/Manifest +++ b/dev-util/waf/Manifest @@ -1 +1,2 @@ +DIST waf-1.9.14.tar.bz2 631021 SHA256 02a0e4e942867e987e1214f10341ded95d996123165ec5062c444371cff7c62f SHA512 5b7e556eeb3ceec83e81e9b849786d7921aa06e443aa2fb5f288e3fcef6b05b3a1a6aa4ebcdfd0bd345ea3166980cb926cbea2260a229613bdcb2def86fb5816 WHIRLPOOL 2a6d8253c9c16d6d1adfabb6226996a5ed1393eb128a5f8bdc9838c7e8a805d353b268f590367d43d652a1b524ef838e72021d261476980d60426c5b34ad685b DIST waf-1.9.8.tar.bz2 620795 SHA256 d8ec47b85e832e97f32d4f83df3cacfa08dbf142c52ad525ee8e1a70ab658472 SHA512 a86d29d32257ee5b82db28f20ef3056a995c4a47404ee47f216899c76332c6586bde83397db907b51c8d3d38efaa3e2f4befbf8f27d17d1f58e6b0808f070fdc WHIRLPOOL 55bce3d9cb071a564689b6c85036251989849f56295052c35dea514b01f26c5fb442853f7436c2b3b5442481a96b30173eb8372f7c6402e6d400f74bcfbddfa5 diff --git a/dev-util/waf/waf-1.9.14.ebuild b/dev-util/waf/waf-1.9.14.ebuild new file mode 100644 index 000000000000..e37a34205025 --- /dev/null +++ b/dev-util/waf/waf-1.9.14.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) +PYTHON_REQ_USE="threads(+)" +inherit python-any-r1 toolchain-funcs + +DESCRIPTION="piece of software used to help building software projects" +HOMEPAGE="https://waf.io/" +SRC_URI="https://waf.io/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" + +DEPEND="${PYTHON_DEPS}" + +DOCS="ChangeLog README.md DEVEL" + +src_prepare() { + rm -v waf || die + + default +} + +src_configure() { + ${EPYTHON} ./waf-light configure +} + +src_compile() { + ${EPYTHON} ./waf-light build +} + +src_install() { + default + + #point waf binary to waflib dir and strip payload + sed -e "/INSTALL=/s:=.*:='${EROOT}usr':" \ + -e "/REVISION=/s:=.*:='${PR}':" \ + -e "s:/lib/:/$(get_libdir)/:" \ + -e "/^#\(==>\|BZ\|<==\)/d" \ + -i waf || die + dobin waf + + insinto /usr/$(get_libdir)/${PN}3-${PV}-${PR} + doins -r waflib + + if use examples ; then + dodoc -r demos + fi +} |