pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/py-trueskill



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Dec 17 00:29:35 UTC 2021

Modified Files:
        pkgsrc/games/py-trueskill: Makefile distinfo
Added Files:
        pkgsrc/games/py-trueskill/patches: patch-setup.py

Log Message:
py-trueskill: fix build with latest setuptools.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/games/py-trueskill/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/games/py-trueskill/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/py-trueskill/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/py-trueskill/Makefile
diff -u pkgsrc/games/py-trueskill/Makefile:1.14 pkgsrc/games/py-trueskill/Makefile:1.15
--- pkgsrc/games/py-trueskill/Makefile:1.14     Sun Jan 26 17:31:17 2020
+++ pkgsrc/games/py-trueskill/Makefile  Fri Dec 17 00:29:35 2021
@@ -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
 

Index: pkgsrc/games/py-trueskill/distinfo
diff -u pkgsrc/games/py-trueskill/distinfo:1.9 pkgsrc/games/py-trueskill/distinfo:1.10
--- pkgsrc/games/py-trueskill/distinfo:1.9      Tue Oct 26 10:44:21 2021
+++ pkgsrc/games/py-trueskill/distinfo  Fri Dec 17 00:29:35 2021
@@ -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

Added files:

Index: pkgsrc/games/py-trueskill/patches/patch-setup.py
diff -u /dev/null pkgsrc/games/py-trueskill/patches/patch-setup.py:1.1
--- /dev/null   Fri Dec 17 00:29:35 2021
+++ pkgsrc/games/py-trueskill/patches/patch-setup.py    Fri Dec 17 00:29:35 2021
@@ -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