[NEW] devel/py3-pyasn1: Create Python 3.x port of py-pyasn1

The latest www/py-requests update [1] unbundled its dependencies, now
requiring chardet, idna, urllib3 and certifi from ports.

www/py3-requests port was not tested during QA, which would have highlighted
the need for many new py3-* ports (and their dependencies).

This change creates one of those ports.

While I'm here:

 - Update test target and setup.py variable

[1] https://svnweb.freebsd.org/changeset/ports/442565

PR:	219833
This commit is contained in:
Kubilay Kocak 2017-06-07 10:56:40 +00:00
parent 4c87890bb4
commit 472b891e9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442827
3 changed files with 13 additions and 3 deletions

View File

@ -4969,6 +4969,7 @@
SUBDIR += py3-ply
SUBDIR += py3-prompt_toolkit
SUBDIR += py3-py
SUBDIR += py3-pyasn1
SUBDIR += py3-pycodestyle
SUBDIR += py3-pycparser
SUBDIR += py3-pydocstyle

View File

@ -14,10 +14,10 @@ LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
NO_ARCH= yes
USES= python
USES?= python
USE_PYTHON= autoplist distutils
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>

View File

@ -0,0 +1,9 @@
# Created by: Martin Jackson <mhjacks@swbell.net>
# $FreeBSD$
MASTERDIR= ${.CURDIR}/../py-pyasn1
USES= python:3.3+
.include "${MASTERDIR}/Makefile"