From 82278aa00aab62b728d2910f55e3313a0f4a262d Mon Sep 17 00:00:00 2001 From: wpbirney Date: Sun, 31 Jul 2022 12:58:56 -0400 Subject: [PATCH] scons: update to 4.4.0 --- srcpkgs/scons/template | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/srcpkgs/scons/template b/srcpkgs/scons/template index 574f96858c7b..ab6a34cdab8f 100644 --- a/srcpkgs/scons/template +++ b/srcpkgs/scons/template @@ -1,18 +1,29 @@ # Template file for 'scons' pkgname=scons -version=4.0.1 -revision=3 -wrksrc="SCons-${version}" -build_style=python3-module -hostmakedepends="python3 python3-setuptools" +version=4.4.0 +revision=1 +#build_style=python3-module +hostmakedepends="python3 python3-setuptools python3-psutil python3-wheel python3-pytest tar" depends="python3" short_desc="Software construction tool" -maintainer="Orphaned " +maintainer="Wilson Birney " license="MIT" homepage="https://www.scons.org/" -distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=722ed104b5c624ecdc89bd4e02b094d2b14d99d47b5d0501961e47f579a2007c +distfiles="https://github.com/SCons/scons/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=b4fef9df167b16b94a91bcc3905c595a5768a433f2aee9abe7f4fffac201eeaa +do_build() { + python3 scripts/scons.py --include-dir= + cp -av build/doc/man/* . +} + +do_install() { + python3 setup.py install --optimize=1 --install-data=/usr/share/man/man1/ --root=${DESTDIR} +} + +do_check() { + python3 runtest.py --all --unit-only --exclude-list SCons/CacheDirTests.py --exclude-list SCons/Node/FSTests.py +} post_install() { vlicense LICENSE