Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2017 10:56:41 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442827 - in head/devel: . py-pyasn1 py3-pyasn1
Message-ID:  <201706071056.v57AufWC041198@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Wed Jun  7 10:56:40 2017
New Revision: 442827
URL: https://svnweb.freebsd.org/changeset/ports/442827

Log:
  [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

Added:
  head/devel/py3-pyasn1/
     - copied from r442817, head/devel/py-pyasn1/
Deleted:
  head/devel/py3-pyasn1/distinfo
  head/devel/py3-pyasn1/pkg-descr
Modified:
  head/devel/Makefile
  head/devel/py-pyasn1/Makefile
  head/devel/py3-pyasn1/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Jun  7 10:49:23 2017	(r442826)
+++ head/devel/Makefile	Wed Jun  7 10:56:40 2017	(r442827)
@@ -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

Modified: head/devel/py-pyasn1/Makefile
==============================================================================
--- head/devel/py-pyasn1/Makefile	Wed Jun  7 10:49:23 2017	(r442826)
+++ head/devel/py-pyasn1/Makefile	Wed Jun  7 10:56:40 2017	(r442827)
@@ -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>

Modified: head/devel/py3-pyasn1/Makefile
==============================================================================
--- head/devel/py-pyasn1/Makefile	Wed Jun  7 04:06:33 2017	(r442817)
+++ head/devel/py3-pyasn1/Makefile	Wed Jun  7 10:56:40 2017	(r442827)
@@ -1,23 +1,9 @@
 # Created by: Martin Jackson <mhjacks@swbell.net>
 # $FreeBSD$
 
-PORTNAME=	pyasn1
-PORTVERSION=	0.2.2
-CATEGORIES=	devel python
-MASTER_SITES=	CHEESESHOP
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+MASTERDIR=	${.CURDIR}/../py-pyasn1
 
-MAINTAINER=	mhjacks@swbell.net
-COMMENT=	ASN.1 toolkit for Python
+USES=	python:3.3+
 
-LICENSE=	BSD2CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE.rst
+.include "${MASTERDIR}/Makefile"
 
-NO_ARCH=	yes
-USES=		python
-USE_PYTHON=	autoplist distutils
-
-regression-test: build
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
-
-.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706071056.v57AufWC041198>