diff options
author | wiz <wiz@pkgsrc.org> | 2021-12-17 00:29:35 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2021-12-17 00:29:35 +0000 |
commit | 326ae4a92108ef6d14058d876b1a97c57c4ccd33 (patch) | |
tree | 7398dbb2f7cfff769e26eb31db685139adf80def /games | |
parent | 9ff781bcba380e5d4fcca4c5332a06ee2fd6f22c (diff) | |
download | pkgsrc-326ae4a92108ef6d14058d876b1a97c57c4ccd33.tar.gz |
py-trueskill: fix build with latest setuptools.
Diffstat (limited to 'games')
-rw-r--r-- | games/py-trueskill/Makefile | 9 | ||||
-rw-r--r-- | games/py-trueskill/distinfo | 3 | ||||
-rw-r--r-- | games/py-trueskill/patches/patch-setup.py | 12 |
3 files changed, 18 insertions, 6 deletions
diff --git a/games/py-trueskill/Makefile b/games/py-trueskill/Makefile index e2d77794607..35c1fdc7f67 100644 --- a/games/py-trueskill/Makefile +++ b/games/py-trueskill/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2020/01/26 17:31:17 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2021/12/17 00:29:35 wiz Exp $ DISTNAME= trueskill-0.4.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -10,10 +10,9 @@ HOMEPAGE= https://trueskill.org/ COMMENT= Python module implementing the TrueSkill rating system LICENSE= 2-clause-bsd -# actually TEST_DEPENDS -#BUILD_DEPENDS+= ${PYPKGPREFIX}-mpmath>=0.17:../../math/py-mpmath -#BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test -#BUILD_DEPENDS+= ${PYPKGPREFIX}-almost>=0.1.5:../../math/py-almost +#TEST_DEPENDS+= ${PYPKGPREFIX}-mpmath>=0.17:../../math/py-mpmath +#TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +#TEST_DEPENDS+= ${PYPKGPREFIX}-almost>=0.1.5:../../math/py-almost USE_LANGUAGES= # none diff --git a/games/py-trueskill/distinfo b/games/py-trueskill/distinfo index 3651d5feb93..78eff26c997 100644 --- a/games/py-trueskill/distinfo +++ b/games/py-trueskill/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.9 2021/10/26 10:44:21 nia Exp $ +$NetBSD: distinfo,v 1.10 2021/12/17 00:29:35 wiz Exp $ BLAKE2s (trueskill-0.4.3.tar.gz) = 2594a687647c439e7aeef55949a214ac1e6a04e010f9f3ce55b7ad130058cdbc SHA512 (trueskill-0.4.3.tar.gz) = a05796db8f959143b17533d867e225917805e7aa26d41f58a9e91755a9257612d322c74eeff1ee0a3bd8c843f2cbb40fad809f4e3b923ba44e004f7d58792073 Size (trueskill-0.4.3.tar.gz) = 21060 bytes +SHA1 (patch-setup.py) = 2a1ca0ef81fe0d68e07636c8617f2b398dcb27b6 diff --git a/games/py-trueskill/patches/patch-setup.py b/games/py-trueskill/patches/patch-setup.py new file mode 100644 index 00000000000..6fcc5ceedf4 --- /dev/null +++ b/games/py-trueskill/patches/patch-setup.py @@ -0,0 +1,12 @@ +$NetBSD: patch-setup.py,v 1.1 2021/12/17 00:29:35 wiz Exp $ + +Compatibility with setuptools. + +--- setup.py.orig 2014-09-04 04:44:36.000000000 +0000 ++++ setup.py +@@ -97,5 +97,4 @@ setup( + 'Topic :: Scientific/Engineering :: Mathematics'], + tests_require=['pytest', 'almost>=0.1.5', 'mpmath>=0.17'], + test_suite='trueskilltest', +- use_2to3=(sys.version_info[0] >= 3), + ) |