pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-typed-ast
Module Name: pkgsrc
Committed By: adam
Date: Tue May 22 06:41:30 UTC 2018
Modified Files:
pkgsrc/devel/py-typed-ast: Makefile distinfo
Added Files:
pkgsrc/devel/py-typed-ast/patches: patch-setup.py
Log Message:
py-typed-ast: fix building conflicts; require Python 3.3+; switch to PyPi
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-typed-ast/Makefile \
pkgsrc/devel/py-typed-ast/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-typed-ast/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/devel/py-typed-ast/Makefile
diff -u pkgsrc/devel/py-typed-ast/Makefile:1.1 pkgsrc/devel/py-typed-ast/Makefile:1.2
--- pkgsrc/devel/py-typed-ast/Makefile:1.1 Mon May 21 23:14:46 2018
+++ pkgsrc/devel/py-typed-ast/Makefile Tue May 22 06:41:30 2018
@@ -1,16 +1,27 @@
-# $NetBSD: Makefile,v 1.1 2018/05/21 23:14:46 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2018/05/22 06:41:30 adam Exp $
-DISTNAME= typed_ast-1.1.0
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+DISTNAME= typed-ast-1.1.0
+PKGREVISION= 1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_GITHUB:=python/}
-GITHUB_PROJECT= typed_ast
-GITHUB_TAG= ${PKGVERSION_NOREV}
+MASTER_SITES= ${MASTER_SITE_PYPI:=t/typed-ast/}
MAINTAINER= minskim%NetBSD.org@localhost
-HOMEPAGE= http://mypy-lang.org/
+HOMEPAGE= https://github.com/python/typed_ast
COMMENT= Optional static typing for Python
LICENSE= apache-2.0 AND python-software-foundation
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+SUBST_CLASSES+= fix-incl
+SUBST_STAGE.fix-incl= pre-configure
+SUBST_MESSAGE.fix-incl= Make includes more specific to avoid conflicts.
+SUBST_FILES.fix-incl= ast27/*/*.[ch]
+SUBST_FILES.fix-incl+= ast3/*/*.[ch]
+.for f in Python-ast.h asdl.h ast.h bitset.h compile.h errcode.h graminit.h \
+ grammar.h node.h parsetok.h token.h
+SUBST_SED.fix-incl+= -e 's,^\#include "${f}",\#include "Include/${f}",'
+.endfor
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-typed-ast/distinfo
diff -u pkgsrc/devel/py-typed-ast/distinfo:1.1 pkgsrc/devel/py-typed-ast/distinfo:1.2
--- pkgsrc/devel/py-typed-ast/distinfo:1.1 Mon May 21 23:14:46 2018
+++ pkgsrc/devel/py-typed-ast/distinfo Tue May 22 06:41:30 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/05/21 23:14:46 minskim Exp $
+$NetBSD: distinfo,v 1.2 2018/05/22 06:41:30 adam Exp $
-SHA1 (typed_ast-1.1.0.tar.gz) = 5c4404d20c1312c37ebe6ee37b02ab950dfe0afb
-RMD160 (typed_ast-1.1.0.tar.gz) = bcf11e8b46c9e1b3a50de9e950d651fbed4f0275
-SHA512 (typed_ast-1.1.0.tar.gz) = 1cde519f6cde535f436066a7f9a78ba9d416457abe995b019b76e49d644ac101a95aa82f6305d762731593648c0faee600e667240baa63a40f36bbfd4ca1bd1f
-Size (typed_ast-1.1.0.tar.gz) = 285167 bytes
+SHA1 (typed-ast-1.1.0.tar.gz) = f9af98899e39661a44296e2ced8de9c5f5187fde
+RMD160 (typed-ast-1.1.0.tar.gz) = 0b5c87b0360d7268ff407bfc18171c6e256343d1
+SHA512 (typed-ast-1.1.0.tar.gz) = 439e949082ee5cb9434fec99021c08401a46ec2ad16d96296c6440aa1fd8158f6605efbdfa55e536c3fddd4018bb0f4c5ee4d5a4a32954242b7902b9ce3463f2
+Size (typed-ast-1.1.0.tar.gz) = 200587 bytes
+SHA1 (patch-setup.py) = 997fc582f7b9e9e068fa8d6d5760acfe792554f2
Added files:
Index: pkgsrc/devel/py-typed-ast/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-typed-ast/patches/patch-setup.py:1.1
--- /dev/null Tue May 22 06:41:30 2018
+++ pkgsrc/devel/py-typed-ast/patches/patch-setup.py Tue May 22 06:41:30 2018
@@ -0,0 +1,25 @@
+$NetBSD: patch-setup.py,v 1.1 2018/05/22 06:41:30 adam Exp $
+
+Point to a parent directory, to distinguish includes from
+the ones currenly installed with Python.
+
+--- setup.py.orig 2017-07-18 21:23:52.000000000 +0000
++++ setup.py
+@@ -9,7 +9,7 @@ except ImportError:
+
+ _ast27 = Extension(
+ '_ast27',
+- include_dirs = ['ast27/Include'],
++ include_dirs = ['ast27'],
+ sources = [
+ 'ast27/Parser/acceler.c',
+ 'ast27/Parser/bitset.c',
+@@ -45,7 +45,7 @@ _ast27 = Extension(
+
+ _ast3 = Extension(
+ '_ast3',
+- include_dirs = ['ast3/Include'],
++ include_dirs = ['ast3'],
+ sources = [
+ 'ast3/Parser/acceler.c',
+ 'ast3/Parser/bitset.c',
Home |
Main Index |
Thread Index |
Old Index