aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-14 15:50:16 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-14 16:09:40 +0000
commit4a4944fb5c3b0460880b436bb419aed0b327dc02 (patch)
treee5b9e8f7e6b97d55fe9b215fada27ae5905ef9bf
parent542477e6a31181b73062ab8f1c668945f88ee924 (diff)
downloadports-4a4944fb5c3b0460880b436bb419aed0b327dc02.tar.gz
ports-4a4944fb5c3b0460880b436bb419aed0b327dc02.zip
devel/scons: Update to 4.1.0.post1
-rw-r--r--devel/scons/Makefile22
-rw-r--r--devel/scons/distinfo6
-rw-r--r--devel/scons/files/patch-setup.cfg11
3 files changed, 19 insertions, 20 deletions
diff --git a/devel/scons/Makefile b/devel/scons/Makefile
index 62dc6939896a..efd018069e5a 100644
--- a/devel/scons/Makefile
+++ b/devel/scons/Makefile
@@ -1,8 +1,7 @@
# Created by: Peter Haight <peterh@sapros.com>
PORTNAME= scons
-PORTVERSION= 3.1.2
-PORTREVISION= 1
+PORTVERSION= 4.1.0.post1
CATEGORIES= devel python
MASTER_SITES= SF
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
@@ -11,23 +10,12 @@ MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Build tool alternative to make
LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python:3.6+ shebangfix
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+WRKSRC= ${WRKDIR}/SCons-${PORTVERSION}
-PLIST_SUB= SCONS_VER=${PORTVERSION}
-
-SHEBANG_FILES= script/scons*
-
-post-patch:
- @${REINPLACE_CMD} -e 's|distutils\(\.command\.install\)$$|setuptools\1|; s|distutils\(\.command\.install\.\)|setuptools\1|' ${WRKSRC}/setup.py
- @${FIND} ${WRKSRC} -name '*.orig' -delete
-
-.include <bsd.port.pre.mk>
-
-PYDISTUTILS_INSTALLARGS+= --standard-lib
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/scons/distinfo b/devel/scons/distinfo
index 6c723b9732a9..9c2eb8056721 100644
--- a/devel/scons/distinfo
+++ b/devel/scons/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1585059178
-SHA256 (scons-3.1.2.tar.gz) = 7801f3f62f654528e272df780be10c0e9337e897650b62ddcee9f39fde13f8fb
-SIZE (scons-3.1.2.tar.gz) = 668298
+TIMESTAMP = 1622561317
+SHA256 (scons-4.1.0.post1.tar.gz) = 52be492ff5f0dfeb773826c4431d0baba03701574f19e574b55a1085ed57a2e7
+SIZE (scons-4.1.0.post1.tar.gz) = 3008712
diff --git a/devel/scons/files/patch-setup.cfg b/devel/scons/files/patch-setup.cfg
new file mode 100644
index 000000000000..7242b4ffd724
--- /dev/null
+++ b/devel/scons/files/patch-setup.cfg
@@ -0,0 +1,11 @@
+--- setup.cfg.orig 2021-05-28 17:56:43 UTC
++++ setup.cfg
+@@ -56,7 +56,7 @@ console_scripts =
+ scons.tool.docbook = *.*
+
+ [options.data_files]
+-. = scons.1
++share/man/man1 = scons.1
+ scons-time.1
+ sconsign.1
+