Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2018 23:41:25 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462881 - in head/net/py-pypcap: . files
Message-ID:  <201802242341.w1ONfPtl081144@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Feb 24 23:41:25 2018
New Revision: 462881
URL: https://svnweb.freebsd.org/changeset/ports/462881

Log:
  net/py-pypcap: Update to 1.2.0
  
  Maintainer's timeout expired wxs@.
  
  Additiojnal port changes:
  * Source from CHEESESHOP instead of GH
  * Removed LICENSE_FILE (not available)
  * Added USE_PYTHON=cython (instead of pyrex)
  * Removed post-patch
  * Now works for all python versions
  * Updated WWW
  
  PR:		223864
  Reported by:	yuri
  Approved by:	portmgr (maintainer timeout, 14 days)
  Approved by:	tcberner (mentor, implicit)

Deleted:
  head/net/py-pypcap/files/
Modified:
  head/net/py-pypcap/Makefile
  head/net/py-pypcap/distinfo
  head/net/py-pypcap/pkg-descr

Modified: head/net/py-pypcap/Makefile
==============================================================================
--- head/net/py-pypcap/Makefile	Sat Feb 24 23:38:32 2018	(r462880)
+++ head/net/py-pypcap/Makefile	Sat Feb 24 23:41:25 2018	(r462881)
@@ -2,31 +2,21 @@
 # $FreeBSD$
 
 PORTNAME=	pypcap
-DISTVERSIONPREFIX=	${PORTNAME:tu}_
-DISTVERSION=	1_1
-PORTREVISION=	6
+DISTVERSION=	1.2.0
 CATEGORIES=	net python
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	wxs@FreeBSD.org
 COMMENT=	Simplified object-oriented Python extension module for libpcap
 
 LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyrex>0:devel/pyrex@${FLAVOR}
+USES=		python
+USE_PYTHON=	distutils cython autoplist
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	dugsong
-
-USES=		python:2.7
-USE_PYTHON=	distutils autoplist
-
-post-patch:
-	@${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pcap.c
-
 pre-build:
-	(cd ${WRKSRC}; pyrexc pcap.pyx)
+	@cd ${WRKSRC} && cython-${PYTHON_VER} pcap.pyx
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pcap.so

Modified: head/net/py-pypcap/distinfo
==============================================================================
--- head/net/py-pypcap/distinfo	Sat Feb 24 23:38:32 2018	(r462880)
+++ head/net/py-pypcap/distinfo	Sat Feb 24 23:41:25 2018	(r462881)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1493813267
-SHA256 (dugsong-pypcap-PYPCAP_1_1_GH0.tar.gz) = a75d165f70a71e6c14c46b77c1b9b7a395fa425d0f90a2e342e641c66c14e634
-SIZE (dugsong-pypcap-PYPCAP_1_1_GH0.tar.gz) = 22812
+TIMESTAMP = 1519513659
+SHA256 (pypcap-1.2.0.tar.gz) = 6981b95a975cb964806899735319ca71cfd0b5a4e9f9a45970b558f49eec0158
+SIZE (pypcap-1.2.0.tar.gz) = 123971

Modified: head/net/py-pypcap/pkg-descr
==============================================================================
--- head/net/py-pypcap/pkg-descr	Sat Feb 24 23:38:32 2018	(r462880)
+++ head/net/py-pypcap/pkg-descr	Sat Feb 24 23:41:25 2018	(r462881)
@@ -1,3 +1,3 @@
 A simplified object-oriented Python extension module for libpcap
 
-WWW: https://github.com/dugsong/pypcap
+WWW: https://github.com/pynetwork/pypcap



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