summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-05-12 08:08:08 +0000
committeradam <adam@pkgsrc.org>2020-05-12 08:08:08 +0000
commit6f048f29c80c1352ca8b9ed9470d7ffacb7cde8a (patch)
tree3602ec4fb4509f63c35ed784567b4886ca676732 /devel
parent189f281008a3d5486f05dd7042019bbb5c32a07f (diff)
downloadpkgsrc-6f048f29c80c1352ca8b9ed9470d7ffacb7cde8a.tar.gz
py-llvmlite: updated to 0.32.1
v0.32.1: Trove classifiers may be out of date. Add FAQ entry on LLVM version support. Adds override for LLVM version check, re-formats docs.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-llvmlite/Makefile12
-rw-r--r--devel/py-llvmlite/PLIST3
-rw-r--r--devel/py-llvmlite/distinfo12
-rw-r--r--devel/py-llvmlite/patches/patch-ffi_build.py16
4 files changed, 15 insertions, 28 deletions
diff --git a/devel/py-llvmlite/Makefile b/devel/py-llvmlite/Makefile
index b0ed4da391c..a327ac5f435 100644
--- a/devel/py-llvmlite/Makefile
+++ b/devel/py-llvmlite/Makefile
@@ -1,21 +1,19 @@
-# $NetBSD: Makefile,v 1.13 2020/04/18 08:11:53 adam Exp $
+# $NetBSD: Makefile,v 1.14 2020/05/12 08:08:08 adam Exp $
-DISTNAME= llvmlite-0.32.0
+DISTNAME= llvmlite-0.32.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/llvmlite/}
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://llvmlite.pydata.org/
+HOMEPAGE= https://llvmlite.readthedocs.io/
COMMENT= Lightweight LLVM Python binding for writing JIT compilers
LICENSE= 2-clause-bsd
USE_LANGUAGES= c++14
+MAKE_ENV+= LLVMLITE_SKIP_LLVM_VERSION_CHECK=1
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE= 27
pre-configure:
${LN} -f ${WRKSRC}/ffi/Makefile.freebsd ${WRKSRC}/ffi/Makefile.netbsd
diff --git a/devel/py-llvmlite/PLIST b/devel/py-llvmlite/PLIST
index 99e5c6c7e23..efc5f427c6a 100644
--- a/devel/py-llvmlite/PLIST
+++ b/devel/py-llvmlite/PLIST
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.4 2020/04/18 08:11:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/05/12 08:08:08 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/llvmlite/__init__.py
${PYSITELIB}/llvmlite/__init__.pyc
diff --git a/devel/py-llvmlite/distinfo b/devel/py-llvmlite/distinfo
index 20fa9038536..74b6a1ce987 100644
--- a/devel/py-llvmlite/distinfo
+++ b/devel/py-llvmlite/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.12 2020/04/18 08:11:53 adam Exp $
+$NetBSD: distinfo,v 1.13 2020/05/12 08:08:08 adam Exp $
-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 (llvmlite-0.32.1.tar.gz) = 57b7add0ca7442a9ca5719d2dc9f3a0e1d60e15a
+RMD160 (llvmlite-0.32.1.tar.gz) = 48f5b2d914915121d1069e2eeaef0d86dabe4ea4
+SHA512 (llvmlite-0.32.1.tar.gz) = 4c13cb362c97b2a7c18fec35a38edb8aff28c3824e3af310fc479fae0e2f69761084600f949fba3d6f7bdca5fec6a1840b36dd6e939a32352e09ed058a94a272
+Size (llvmlite-0.32.1.tar.gz) = 104284 bytes
SHA1 (patch-ffi_Makefile.freebsd) = c4624de19e08bab70668a62a62e9edece027cb93
SHA1 (patch-ffi_Makefile.linux) = 64fe000e738b61f0ece5c3b6cb86a1d548955c70
-SHA1 (patch-ffi_build.py) = f3708b97abec4a8745a9afbb16a74d89898b6879
+SHA1 (patch-ffi_build.py) = 9a992dd33f624055d5c8bea3986c4243c87b4ccf
SHA1 (patch-ffi_linker.cpp) = 3d9c6ef53a27bc516a06e59b46328ee32323730c
diff --git a/devel/py-llvmlite/patches/patch-ffi_build.py b/devel/py-llvmlite/patches/patch-ffi_build.py
index cf286f35a6e..21906ab359b 100644
--- a/devel/py-llvmlite/patches/patch-ffi_build.py
+++ b/devel/py-llvmlite/patches/patch-ffi_build.py
@@ -1,20 +1,10 @@
-$NetBSD: patch-ffi_build.py,v 1.6 2020/04/18 08:11:53 adam Exp $
+$NetBSD: patch-ffi_build.py,v 1.7 2020/05/12 08:08:08 adam Exp $
-Allow building with LLVM 10.0.x and 9.0.x.
Add NetBSD support.
---- ffi/build.py.orig 2020-04-17 14:49:06.000000000 +0000
+--- ffi/build.py.orig 2020-05-08 14:22:24.000000000 +0000
+++ ffi/build.py
-@@ -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('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.x, 7.1.x or 8.0.x, got {!r}. "
-@@ -158,6 +158,8 @@ def main():
+@@ -182,6 +182,8 @@ def main():
main_posix('linux', '.so')
elif sys.platform.startswith(('freebsd','openbsd')):
main_posix('freebsd', '.so')