Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2016 09:02:39 +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: r409593 - head/security/py-cpe
Message-ID:  <201602260902.u1Q92dsP097472@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Fri Feb 26 09:02:39 2016
New Revision: 409593
URL: https://svnweb.freebsd.org/changeset/ports/409593

Log:
  security/py-cpe: Update to 1.2.0
  
  - Update PORTVERSION and distinfo checksum (1.2.0)
  - Enable building with Python 3.x
  - Correct LICENSE (LGPL3)
  - Enable NO_ARCH (architecture independent)
  - Update COMMENT to match setup.py:summary=
  - Add test target
  
  Changes:
  
    https://github.com/nilp0inter/cpe/blob/develop/NEWS.txt

Modified:
  head/security/py-cpe/Makefile
  head/security/py-cpe/distinfo

Modified: head/security/py-cpe/Makefile
==============================================================================
--- head/security/py-cpe/Makefile	Fri Feb 26 08:59:39 2016	(r409592)
+++ head/security/py-cpe/Makefile	Fri Feb 26 09:02:39 2016	(r409593)
@@ -2,18 +2,23 @@
 # $FreeBSD$
 
 PORTNAME=	cpe
-PORTVERSION=	1.1.0
+PORTVERSION=	1.2.0
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	koobs@FreeBSD.org
-COMMENT=	Common Platform Enumeration (CPE) for Python
+COMMENT=	CPE: Common Platform Enumeration for Python
 
-LICENSE=	GPLv3
+LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python:-2.7
+USES=		python
 USE_PYTHON=	autoplist distutils
 
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+
 .include <bsd.port.mk>

Modified: head/security/py-cpe/distinfo
==============================================================================
--- head/security/py-cpe/distinfo	Fri Feb 26 08:59:39 2016	(r409592)
+++ head/security/py-cpe/distinfo	Fri Feb 26 09:02:39 2016	(r409593)
@@ -1,2 +1,2 @@
-SHA256 (cpe-1.1.0.tar.gz) = 3e7d18460a9921ab6668d3cc2ffec59b6bd99922f30714446bcf982c022c4836
-SIZE (cpe-1.1.0.tar.gz) = 69155
+SHA256 (cpe-1.2.0.tar.gz) = a62cf49465f5e429134a3c338500c94de77e8e6257ea4e4f2dd355bae4f5c9a4
+SIZE (cpe-1.2.0.tar.gz) = 2151631



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