pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-adb: Import py-adb-1.2.0 as wip/py-adb



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Thu Mar 29 09:23:54 2018 +0200
Changeset:	6681c2b7a108ecf12c8c13500f8ec25b7f98fa1a

Modified Files:
	Makefile
Added Files:
	py-adb/DESCR
	py-adb/Makefile
	py-adb/PLIST
	py-adb/distinfo

Log Message:
py-adb: Import py-adb-1.2.0 as wip/py-adb

This repository contains a pure-python implementation of the Android
ADB and Fastboot protocols, using libusb1 for USB communications.

This is a complete replacement and rearchitecture of the Android
project's ADB and fastboot code available at
https://github.com/android/platform_system_core/tree/master/adb

This code is mainly targeted to users that need to communicate with
Android devices in an automated fashion, such as in automated
testing. It does not have a daemon between the client and the
device, and therefore does not support multiple simultaneous commands
to the same device. It does support any number of devices and never
communicates with a device that it wasn't intended to, unlike the
Android project's ADB.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6681c2b7a108ecf12c8c13500f8ec25b7f98fa1a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile        |  1 +
 py-adb/DESCR    | 14 ++++++++++++++
 py-adb/Makefile | 19 +++++++++++++++++++
 py-adb/PLIST    | 42 ++++++++++++++++++++++++++++++++++++++++++
 py-adb/distinfo |  6 ++++++
 5 files changed, 82 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 4bfefb9cad..ce25486ff2 100644
--- a/Makefile
+++ b/Makefile
@@ -2890,6 +2890,7 @@ SUBDIR+=	py-Soya
 SUBDIR+=	py-Xlib
 SUBDIR+=	py-achemkit
 SUBDIR+=	py-acq4
+SUBDIR+=	py-adb
 SUBDIR+=	py-addons
 SUBDIR+=	py-adsbibdesk
 SUBDIR+=	py-aerocalc
diff --git a/py-adb/DESCR b/py-adb/DESCR
new file mode 100644
index 0000000000..e01edf6186
--- /dev/null
+++ b/py-adb/DESCR
@@ -0,0 +1,14 @@
+This repository contains a pure-python implementation of the Android
+ADB and Fastboot protocols, using libusb1 for USB communications.
+
+This is a complete replacement and rearchitecture of the Android
+project's ADB and fastboot code available at
+https://github.com/android/platform_system_core/tree/master/adb
+
+This code is mainly targeted to users that need to communicate with
+Android devices in an automated fashion, such as in automated
+testing. It does not have a daemon between the client and the
+device, and therefore does not support multiple simultaneous commands
+to the same device. It does support any number of devices and never
+communicates with a device that it wasn't intended to, unlike the
+Android project's ADB.
diff --git a/py-adb/Makefile b/py-adb/Makefile
new file mode 100644
index 0000000000..df2c5d6ab5
--- /dev/null
+++ b/py-adb/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/04/14 12:10:26 leot Exp $
+
+DISTNAME=	adb-1.2.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=a/adb/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/google/python-adb
+COMMENT=	Pure Python implementation of the Android ADB and Fastboot protocols
+LICENSE=	apache-2.0
+
+DEPENDS+=	${PYPKGPREFIX}-m2crypto>=0.21.1:../../security/py-m2crypto
+DEPENDS+=	${PYPKGPREFIX}-libusb1>=1.0.16:../../wip/py-libusb1
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-adb/PLIST b/py-adb/PLIST
new file mode 100644
index 0000000000..161d6cb0d6
--- /dev/null
+++ b/py-adb/PLIST
@@ -0,0 +1,42 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/adb/__init__.py
+${PYSITELIB}/adb/__init__.pyc
+${PYSITELIB}/adb/__init__.pyo
+${PYSITELIB}/adb/adb_commands.py
+${PYSITELIB}/adb/adb_commands.pyc
+${PYSITELIB}/adb/adb_commands.pyo
+${PYSITELIB}/adb/adb_debug.py
+${PYSITELIB}/adb/adb_debug.pyc
+${PYSITELIB}/adb/adb_debug.pyo
+${PYSITELIB}/adb/adb_protocol.py
+${PYSITELIB}/adb/adb_protocol.pyc
+${PYSITELIB}/adb/adb_protocol.pyo
+${PYSITELIB}/adb/common.py
+${PYSITELIB}/adb/common.pyc
+${PYSITELIB}/adb/common.pyo
+${PYSITELIB}/adb/common_cli.py
+${PYSITELIB}/adb/common_cli.pyc
+${PYSITELIB}/adb/common_cli.pyo
+${PYSITELIB}/adb/fastboot.py
+${PYSITELIB}/adb/fastboot.pyc
+${PYSITELIB}/adb/fastboot.pyo
+${PYSITELIB}/adb/fastboot_debug.py
+${PYSITELIB}/adb/fastboot_debug.pyc
+${PYSITELIB}/adb/fastboot_debug.pyo
+${PYSITELIB}/adb/filesync_protocol.py
+${PYSITELIB}/adb/filesync_protocol.pyc
+${PYSITELIB}/adb/filesync_protocol.pyo
+${PYSITELIB}/adb/sign_m2crypto.py
+${PYSITELIB}/adb/sign_m2crypto.pyc
+${PYSITELIB}/adb/sign_m2crypto.pyo
+${PYSITELIB}/adb/sign_pythonrsa.py
+${PYSITELIB}/adb/sign_pythonrsa.pyc
+${PYSITELIB}/adb/sign_pythonrsa.pyo
+${PYSITELIB}/adb/usb_exceptions.py
+${PYSITELIB}/adb/usb_exceptions.pyc
+${PYSITELIB}/adb/usb_exceptions.pyo
diff --git a/py-adb/distinfo b/py-adb/distinfo
new file mode 100644
index 0000000000..b201d0a89a
--- /dev/null
+++ b/py-adb/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/14 12:10:26 leot Exp $
+
+SHA1 (adb-1.2.0.tar.gz) = 2674959cf57597ef91e3c659678936b2e0db3a9e
+RMD160 (adb-1.2.0.tar.gz) = a1d428cbef5058ccf6e0ee7df624efa5ee4f510b
+SHA512 (adb-1.2.0.tar.gz) = 2bb02adbd43602471a48f8de92fd660835b9f0dfc41df30ebdbf6408f410ff56fc7e073b0e636ac1f1ed44aa98719e10ed64f646f5e5477d321a676c7f2f1708
+Size (adb-1.2.0.tar.gz) = 20508 bytes


Home | Main Index | Thread Index | Old Index