pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-llvmlite
Module Name: pkgsrc
Committed By: adam
Date: Sat Apr 18 08:11:54 UTC 2020
Modified Files:
pkgsrc/devel/py-llvmlite: Makefile PLIST distinfo
pkgsrc/devel/py-llvmlite/patches: patch-ffi_build.py
Added Files:
pkgsrc/devel/py-llvmlite/patches: patch-ffi_linker.cpp
Log Message:
py-llvmlite: updated to 0.32.0
v0.32.0:
* llvmlite wheel building fixes
* ENH: Better error message
* update install docs
* binding: Allow empty features list
* travis: Cleanup
* azure-pipelines: Bump VM images.
* Add paragraph on installing from sdist and on non-traditional platforms.
* Remove python 2, python < 3.6, fix up, add flake8
* Miscalled method and missing parameter in the documentation
* Permit building on Visual Studio 2017
* Update error message in LLVM version check.
* update to final release date for 0.31.0
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-llvmlite/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-llvmlite/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-llvmlite/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-llvmlite/patches/patch-ffi_linker.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-llvmlite/Makefile
diff -u pkgsrc/devel/py-llvmlite/Makefile:1.12 pkgsrc/devel/py-llvmlite/Makefile:1.13
--- pkgsrc/devel/py-llvmlite/Makefile:1.12 Tue Jan 14 16:22:33 2020
+++ pkgsrc/devel/py-llvmlite/Makefile Sat Apr 18 08:11:53 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2020/01/14 16:22:33 adam Exp $
+# $NetBSD: Makefile,v 1.13 2020/04/18 08:11:53 adam Exp $
-DISTNAME= llvmlite-0.31.0
+DISTNAME= llvmlite-0.32.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/llvmlite/}
@@ -10,7 +10,7 @@ HOMEPAGE= http://llvmlite.pydata.org/
COMMENT= Lightweight LLVM Python binding for writing JIT compilers
LICENSE= 2-clause-bsd
-USE_LANGUAGES= c++
+USE_LANGUAGES= c++14
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
@@ -27,7 +27,7 @@ post-install:
${DESTDIR}${PREFIX}/${PYSITELIB}/llvmlite/binding/libllvmlite.dylib
.endif
-BUILDLINK_API_DEPENDS.llvm+= llvm>=8.0.0
+BUILDLINK_API_DEPENDS.llvm+= llvm>=10.0.0
.include "../../lang/llvm/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-llvmlite/PLIST
diff -u pkgsrc/devel/py-llvmlite/PLIST:1.3 pkgsrc/devel/py-llvmlite/PLIST:1.4
--- pkgsrc/devel/py-llvmlite/PLIST:1.3 Sun Jun 2 09:02:45 2019
+++ pkgsrc/devel/py-llvmlite/PLIST Sat Apr 18 08:11:53 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/06/02 09:02:45 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/04/18 08:11:53 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -95,9 +95,6 @@ ${PYSITELIB}/llvmlite/llvmpy/core.pyo
${PYSITELIB}/llvmlite/llvmpy/passes.py
${PYSITELIB}/llvmlite/llvmpy/passes.pyc
${PYSITELIB}/llvmlite/llvmpy/passes.pyo
-${PYSITELIB}/llvmlite/six.py
-${PYSITELIB}/llvmlite/six.pyc
-${PYSITELIB}/llvmlite/six.pyo
${PYSITELIB}/llvmlite/tests/__init__.py
${PYSITELIB}/llvmlite/tests/__init__.pyc
${PYSITELIB}/llvmlite/tests/__init__.pyo
Index: pkgsrc/devel/py-llvmlite/distinfo
diff -u pkgsrc/devel/py-llvmlite/distinfo:1.11 pkgsrc/devel/py-llvmlite/distinfo:1.12
--- pkgsrc/devel/py-llvmlite/distinfo:1.11 Tue Jan 14 16:22:33 2020
+++ pkgsrc/devel/py-llvmlite/distinfo Sat Apr 18 08:11:53 2020
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.11 2020/01/14 16:22:33 adam Exp $
+$NetBSD: distinfo,v 1.12 2020/04/18 08:11:53 adam Exp $
-SHA1 (llvmlite-0.31.0.tar.gz) = ebdcf9138d085a4622d0135f727f48b759dbc762
-RMD160 (llvmlite-0.31.0.tar.gz) = 72e936f6da5d0faead9f1d79cc606fafe92eebb2
-SHA512 (llvmlite-0.31.0.tar.gz) = 6dc5fbd7c8cc43a84c05446c4b43b39b70212ae1f254f7dad0c6a8a14c9ae03dda6b423a2bec126d626942d461d0f0b561e4753de59b9a9cd254cde0a79fa8a2
-Size (llvmlite-0.31.0.tar.gz) = 110810 bytes
+SHA1 (llvmlite-0.32.0.tar.gz) = 8bd1ec4d409f315f475926eba41e903171578300
+RMD160 (llvmlite-0.32.0.tar.gz) = 4429497ed59df5f56e7a35332d614bed469468b5
+SHA512 (llvmlite-0.32.0.tar.gz) = 29e597b0200547519a7f5f637523a111ea9637f6e4909cd5053fa30d90f5cf821bae796f6ec2196dbcc983c121aba6db3fa003e4ffac0c3be87f37f4057285b1
+Size (llvmlite-0.32.0.tar.gz) = 103987 bytes
SHA1 (patch-ffi_Makefile.freebsd) = c4624de19e08bab70668a62a62e9edece027cb93
SHA1 (patch-ffi_Makefile.linux) = 64fe000e738b61f0ece5c3b6cb86a1d548955c70
-SHA1 (patch-ffi_build.py) = 9f160e60cc664e8596a74915b7fcda757bd86332
+SHA1 (patch-ffi_build.py) = f3708b97abec4a8745a9afbb16a74d89898b6879
+SHA1 (patch-ffi_linker.cpp) = 3d9c6ef53a27bc516a06e59b46328ee32323730c
Index: pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py
diff -u pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py:1.5 pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py:1.6
--- pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py:1.5 Sat Oct 19 14:10:00 2019
+++ pkgsrc/devel/py-llvmlite/patches/patch-ffi_build.py Sat Apr 18 08:11:53 2020
@@ -1,19 +1,19 @@
-$NetBSD: patch-ffi_build.py,v 1.5 2019/10/19 14:10:00 adam Exp $
+$NetBSD: patch-ffi_build.py,v 1.6 2020/04/18 08:11:53 adam Exp $
-Allow building with LLVM 9.0.x.
+Allow building with LLVM 10.0.x and 9.0.x.
Add NetBSD support.
---- ffi/build.py.orig 2019-10-10 19:15:38.000000000 +0000
+--- ffi/build.py.orig 2020-04-17 14:49:06.000000000 +0000
+++ ffi/build.py
-@@ -109,7 +109,7 @@ def main_posix(kind, library_ext):
+@@ -110,7 +110,7 @@ def main_posix(kind, library_ext):
out = out.decode('latin1')
print(out)
- if not (out.startswith('8.0.') or out.startswith('7.0.')
-+ if not (out.startswith('9.0.') or out.startswith('8.0.') or out.startswith('7.0.')
++ if not (out.startswith('10.0.') or out.startswith('9.0.') or out.startswith('8.0.') or out.startswith('7.0.')
or out.startswith('7.1.')):
msg = (
- "Building llvmlite requires LLVM 7.0+ Be sure to "
+ "Building llvmlite requires LLVM 7.0.x, 7.1.x or 8.0.x, got {!r}. "
@@ -158,6 +158,8 @@ def main():
main_posix('linux', '.so')
elif sys.platform.startswith(('freebsd','openbsd')):
Added files:
Index: pkgsrc/devel/py-llvmlite/patches/patch-ffi_linker.cpp
diff -u /dev/null pkgsrc/devel/py-llvmlite/patches/patch-ffi_linker.cpp:1.1
--- /dev/null Sat Apr 18 08:11:54 2020
+++ pkgsrc/devel/py-llvmlite/patches/patch-ffi_linker.cpp Sat Apr 18 08:11:53 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-ffi_linker.cpp,v 1.1 2020/04/18 08:11:53 adam Exp $
+
+Fix building with newer LLVM.
+
+--- ffi/linker.cpp.orig 2020-04-17 20:19:54.000000000 +0000
++++ ffi/linker.cpp
+@@ -42,7 +42,7 @@ LLVMPY_LinkModules(LLVMModuleRef Dest, L
+ auto OldDiagnosticHandler = Ctx.getDiagnosticHandler();
+
+ // set the handler to a new one
+- Ctx.setDiagnosticHandler(llvm::make_unique<ReportNotAbortDiagnosticHandler>(errstream));
++ Ctx.setDiagnosticHandler(std::make_unique<ReportNotAbortDiagnosticHandler>(errstream));
+
+ // link
+ bool failed = LLVMLinkModules2(Dest, Src);
Home |
Main Index |
Thread Index |
Old Index