pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/py-trueskill py-trueskill: fix build with latest...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5d05a6bdb1b
branches:  trunk
changeset: 771310:b5d05a6bdb1b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Dec 17 00:29:35 2021 +0000

description:
py-trueskill: fix build with latest setuptools.

diffstat:

 games/py-trueskill/Makefile               |   9 ++++-----
 games/py-trueskill/distinfo               |   3 ++-
 games/py-trueskill/patches/patch-setup.py |  12 ++++++++++++
 3 files changed, 18 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r 27a0c60fe02a -r b5d05a6bdb1b games/py-trueskill/Makefile
--- a/games/py-trueskill/Makefile       Fri Dec 17 00:23:00 2021 +0000
+++ b/games/py-trueskill/Makefile       Fri Dec 17 00:29:35 2021 +0000
@@ -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 @@
 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 -r 27a0c60fe02a -r b5d05a6bdb1b games/py-trueskill/distinfo
--- a/games/py-trueskill/distinfo       Fri Dec 17 00:23:00 2021 +0000
+++ b/games/py-trueskill/distinfo       Fri Dec 17 00:29:35 2021 +0000
@@ -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 -r 27a0c60fe02a -r b5d05a6bdb1b games/py-trueskill/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/py-trueskill/patches/patch-setup.py Fri Dec 17 00:29:35 2021 +0000
@@ -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),
+ )



Home | Main Index | Thread Index | Old Index