Revert "scons: update to 4.0.1"

scons 4.0.0 drops Python 2 support, which will break some build scripts.

This reverts commit 3ebd068fa5.
This commit is contained in:
Andrew J. Hesford 2020-10-19 10:07:20 -04:00
parent 178f535800
commit a2bc9acbea

View file

@ -1,19 +1,20 @@
# Template file for 'scons'
pkgname=scons
version=4.0.1
revision=1
wrksrc="SCons-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
reverts="4.0.1_1"
version=3.1.2
revision=4
build_style=python2-module
make_install_args="--standard-lib --install-data=/usr/share"
hostmakedepends="python python-setuptools"
depends="python"
short_desc="Software construction tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.scons.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=722ed104b5c624ecdc89bd4e02b094d2b14d99d47b5d0501961e47f579a2007c
checksum="7801f3f62f654528e272df780be10c0e9337e897650b62ddcee9f39fde13f8fb"
post_install() {
vlicense LICENSE
vlicense LICENSE.txt
}