pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-quadprog
Module Name: pkgsrc
Committed By: wiz
Date: Mon Nov 14 15:03:47 UTC 2022
Modified Files:
pkgsrc/math/py-quadprog: Makefile distinfo
Log Message:
py-quadprog: fix build with python 3.11
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/py-quadprog/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/py-quadprog/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/py-quadprog/Makefile
diff -u pkgsrc/math/py-quadprog/Makefile:1.8 pkgsrc/math/py-quadprog/Makefile:1.9
--- pkgsrc/math/py-quadprog/Makefile:1.8 Thu Feb 17 10:29:57 2022
+++ pkgsrc/math/py-quadprog/Makefile Mon Nov 14 15:03:47 2022
@@ -1,20 +1,33 @@
-# $NetBSD: Makefile,v 1.8 2022/02/17 10:29:57 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/11/14 15:03:47 wiz Exp $
DISTNAME= quadprog-0.1.11
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= math python
-MASTER_SITES= ${MASTER_SITE_PYPI:=q/quadprog/}
+# pypi distfile does not contain cython input files
+#MASTER_SITES= ${MASTER_SITE_PYPI:=q/quadprog/}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=quadprog/}
+# switched during 0.1.11, remove during next update
+DIST_SUBDIR= ${DISTNAME}
+GITHUB_PROJECT= quadprog
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= minskim%NetBSD.org@localhost
HOMEPAGE= https://github.com/rmcgibbo/quadprog
COMMENT= Solver for a strictly convex quadratic program
LICENSE= gnu-gpl-v2
+TOOL_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
+
USE_LANGUAGES= c c++
PYTHON_VERSIONS_INCOMPATIBLE= 27
+# 0.1.11 distfile does not support python 3.11
+# https://github.com/quadprog/quadprog/issues/41
+post-extract:
+ cd ${WRKSRC} && cythonize-${PYVERSSUFFIX} quadprog
+
.include "../../math/py-numpy/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/py-quadprog/distinfo
diff -u pkgsrc/math/py-quadprog/distinfo:1.7 pkgsrc/math/py-quadprog/distinfo:1.8
--- pkgsrc/math/py-quadprog/distinfo:1.7 Sat Dec 11 21:01:51 2021
+++ pkgsrc/math/py-quadprog/distinfo Mon Nov 14 15:03:47 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/12/11 21:01:51 adam Exp $
+$NetBSD: distinfo,v 1.8 2022/11/14 15:03:47 wiz Exp $
-BLAKE2s (quadprog-0.1.11.tar.gz) = 1e7fe11a53304c8cf4052d6e5c3b35a6bd6c64665d4ae372054958c7d135afef
-SHA512 (quadprog-0.1.11.tar.gz) = 529f737a5e57c819a16bf99690d4d74f45d36459fc75b70a8bd077336b227e0a57550961b4523c638869af97c4ee3b9e0b3852a33656e9159e23a5256b5f336b
-Size (quadprog-0.1.11.tar.gz) = 121583 bytes
+BLAKE2s (quadprog-0.1.11/quadprog-0.1.11.tar.gz) = a41ca406a8c33d6a82742468900f55c5c828429c096062fbfad6037ac6bfd110
+SHA512 (quadprog-0.1.11/quadprog-0.1.11.tar.gz) = b2f2e6dad30770230bb0ebed9ec7d89046f1d522a76564f8c4c290e27e55a9efbbfec3c991846a0496273ae530b19aa430ee573d668fa260ea67b59519836730
+Size (quadprog-0.1.11/quadprog-0.1.11.tar.gz) = 16454 bytes
Home |
Main Index |
Thread Index |
Old Index