Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2018 15:54:43 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488609 - head/dns/py-pycares
Message-ID:  <201812281554.wBSFsh8J033623@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Fri Dec 28 15:54:43 2018
New Revision: 488609
URL: https://svnweb.freebsd.org/changeset/ports/488609

Log:
  dns/py-pycares: Update to 2.3.0
  
  Changelog:
  https://github.com/saghul/pycares/blob/pycares-2.3.0/ChangeLog
  
  - Set LICENSE_FILE.
  - Define the do-test target.
  - Strip _core.so.
  
  PR:		234452
  Reviewed by:	krion@
  Approved by:	demon@ (maintainer), krion@ (mentor)
  Differential Revision:	https://reviews.freebsd.org/D18671

Modified:
  head/dns/py-pycares/Makefile
  head/dns/py-pycares/distinfo

Modified: head/dns/py-pycares/Makefile
==============================================================================
--- head/dns/py-pycares/Makefile	Fri Dec 28 15:46:14 2018	(r488608)
+++ head/dns/py-pycares/Makefile	Fri Dec 28 15:54:43 2018	(r488609)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pycares
-PORTVERSION=	2.1.0
+PORTVERSION=	2.3.0
 CATEGORIES=	dns python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +11,18 @@ MAINTAINER=	demon@FreeBSD.org
 COMMENT=	Python interface to c-ares
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils autoplist concurrent
 
 PYDISTUTILS_BUILD_TARGET=	build_ext
 PYDISTUTILS_BUILDARGS=		--inplace --force
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/_core.so
+
+do-test:
+	cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} tests/tests.py
 
 .include <bsd.port.mk>

Modified: head/dns/py-pycares/distinfo
==============================================================================
--- head/dns/py-pycares/distinfo	Fri Dec 28 15:46:14 2018	(r488608)
+++ head/dns/py-pycares/distinfo	Fri Dec 28 15:54:43 2018	(r488609)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1466077939
-SHA256 (pycares-2.1.0.tar.gz) = 449ad785ecb594ae063c0c86537ef97513385117a2eb172f747ad2a29221e898
-SIZE (pycares-2.1.0.tar.gz) = 226838
+TIMESTAMP = 1545947443
+SHA256 (pycares-2.3.0.tar.gz) = 36f4c03df57c41a87eb3d642201684eb5a8bc194f4bafaa9f60ee6dc0aef8e40
+SIZE (pycares-2.3.0.tar.gz) = 224941



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