Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2018 00:57:36 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467280 - head/devel/py-adb
Message-ID:  <201804140057.w3E0va6O088615@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Apr 14 00:57:36 2018
New Revision: 467280
URL: https://svnweb.freebsd.org/changeset/ports/467280

Log:
  devel/py-adb: update to 1.2.0.24 (snapshot)
  
  - Switch to py-libusb1
  - Expose Python 3.x support
  - Hook up tests
  
  Changes:	https://github.com/google/python-adb/compare/fb09de9...ff48509

Modified:
  head/devel/py-adb/Makefile   (contents, props changed)
  head/devel/py-adb/distinfo   (contents, props changed)

Modified: head/devel/py-adb/Makefile
==============================================================================
--- head/devel/py-adb/Makefile	Sat Apr 14 00:17:11 2018	(r467279)
+++ head/devel/py-adb/Makefile	Sat Apr 14 00:57:36 2018	(r467280)
@@ -1,9 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	adb
-DISTVERSION=	1.1.1-37
-DISTVERSIONSUFFIX=	-gfb09de9
-PORTREVISION=	1
+DISTVERSION=	1.2.0-24
+DISTVERSIONSUFFIX=	-gff48509
 CATEGORIES=	devel comms python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -12,15 +11,19 @@ COMMENT=	Pure-python implementation of ADB and Fastboo
 
 LICENSE=	APACHE20
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libusb115>=1.0.16:devel/py-libusb115@${FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libusb1>=1.0.16:devel/py-libusb1@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}m2crypto>=0.21.1:security/py-m2crypto@${FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${FLAVOR}
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
 GH_PROJECT=	python-${PORTNAME}
 
 NO_ARCH=	yes
-USES=		python:-2.7
+USES=		python
 USE_PYTHON=	autoplist distutils
+
+do-test:
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
 
 .include <bsd.port.mk>

Modified: head/devel/py-adb/distinfo
==============================================================================
--- head/devel/py-adb/distinfo	Sat Apr 14 00:17:11 2018	(r467279)
+++ head/devel/py-adb/distinfo	Sat Apr 14 00:57:36 2018	(r467280)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1477441756
-SHA256 (google-python-adb-1.1.1-37-gfb09de9_GH0.tar.gz) = 21c1869b80c3b9f2f31e24222161d69a32b5f5954237038f2a9632ce6ea0db0d
-SIZE (google-python-adb-1.1.1-37-gfb09de9_GH0.tar.gz) = 29207
+TIMESTAMP = 1523126841
+SHA256 (google-python-adb-1.2.0-24-gff48509_GH0.tar.gz) = 9037453d032a914c0fe3d1d2001c10e870c16d8b38fa245aad34505d073c2794
+SIZE (google-python-adb-1.2.0-24-gff48509_GH0.tar.gz) = 35455



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