pkgsrc-WIP-changes archive

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

py-adb: Remove, imported



Module Name:	pkgsrc-wip
Committed By:	nia <nia%netbsd.org@localhost>
Pushed By:	nee
Date:		Sat Apr 4 01:39:18 2020 +0100
Changeset:	3d28e918b46617dcd9c135723ba756874b3c9146

Modified Files:
	Makefile
Removed Files:
	py-adb/ALTERNATIVES
	py-adb/DESCR
	py-adb/Makefile
	py-adb/PLIST
	py-adb/TODO
	py-adb/distinfo
	py-adb/patches/patch-adb_common.py

Log Message:
py-adb: Remove, imported

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

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

diffstat:
 Makefile                           |  1 -
 py-adb/ALTERNATIVES                |  2 --
 py-adb/DESCR                       | 14 -----------
 py-adb/Makefile                    | 23 ------------------
 py-adb/PLIST                       | 48 --------------------------------------
 py-adb/TODO                        |  6 -----
 py-adb/distinfo                    |  7 ------
 py-adb/patches/patch-adb_common.py | 14 -----------
 8 files changed, 115 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 0eac6dceb1..e6b6be42fe 100644
--- a/Makefile
+++ b/Makefile
@@ -3091,7 +3091,6 @@ SUBDIR+=	py-Xlib
 SUBDIR+=	py-achemkit
 SUBDIR+=	py-acq4
 SUBDIR+=	py-adal
-SUBDIR+=	py-adb
 SUBDIR+=	py-addons
 SUBDIR+=	py-adsbibdesk
 SUBDIR+=	py-aerocalc
diff --git a/py-adb/ALTERNATIVES b/py-adb/ALTERNATIVES
deleted file mode 100644
index 2bfa3dec32..0000000000
--- a/py-adb/ALTERNATIVES
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/pyadb @PREFIX@/bin/pyadb-@PYVERSSUFFIX@
-bin/pyfastboot @PREFIX@/bin/pyfastboot-@PYVERSSUFFIX@
diff --git a/py-adb/DESCR b/py-adb/DESCR
deleted file mode 100644
index e01edf6186..0000000000
--- a/py-adb/DESCR
+++ /dev/null
@@ -1,14 +0,0 @@
-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
deleted file mode 100644
index db05e3c4cd..0000000000
--- a/py-adb/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2017/04/14 12:10:26 leot Exp $
-
-DISTNAME=	adb-1.3.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}-rsa-[0-9]*:../../security/py-rsa
-DEPENDS+=	${PYPKGPREFIX}-libusb1>=1.0.16:../../wip/py-libusb1
-
-USE_LANGUAGES=	# none
-
-post-install:
-	${MV} ${DESTDIR}${PREFIX}/bin/pyadb ${DESTDIR}${PREFIX}/bin/pyadb-${PYVERSSUFFIX} || ${TRUE}
-	${MV} ${DESTDIR}${PREFIX}/bin/pyfastboot ${DESTDIR}${PREFIX}/bin/pyfastboot-${PYVERSSUFFIX} || ${TRUE}
-
-.include "../../lang/python/egg.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/py-adb/PLIST b/py-adb/PLIST
deleted file mode 100644
index 44d68dab52..0000000000
--- a/py-adb/PLIST
+++ /dev/null
@@ -1,48 +0,0 @@
-@comment $NetBSD$
-bin/pyadb-${PYVERSSUFFIX}
-bin/pyfastboot-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.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_pycryptodome.py
-${PYSITELIB}/adb/sign_pycryptodome.pyc
-${PYSITELIB}/adb/sign_pycryptodome.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/TODO b/py-adb/TODO
deleted file mode 100644
index 34e8e2e907..0000000000
--- a/py-adb/TODO
+++ /dev/null
@@ -1,6 +0,0 @@
-At the moment this package was only tested using attaching ADB via
-the network.
-It would be nice to also test it using USB before importing but
-unfortunately I have no device adb-able via USB.
-
-  -- leot (2018/04/11)
diff --git a/py-adb/distinfo b/py-adb/distinfo
deleted file mode 100644
index 486d71173c..0000000000
--- a/py-adb/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.1 2017/04/14 12:10:26 leot Exp $
-
-SHA1 (adb-1.3.0.tar.gz) = 5a5ebffbfaffeeba2b36d519ab8bad212c218506
-RMD160 (adb-1.3.0.tar.gz) = aa708a57ba992168e43d99f40c7d03783de0ca73
-SHA512 (adb-1.3.0.tar.gz) = 0ec5c2acee688498c065cfd136491594631e5410121f9f856cf9d0818af238bbf41f2646bf50b8503873bbd48e9bc97065638d3f4af35ba82681a0c84a26139c
-Size (adb-1.3.0.tar.gz) = 27050 bytes
-SHA1 (patch-adb_common.py) = 40490613f464bdf28d179ee62bd20b245797254e
diff --git a/py-adb/patches/patch-adb_common.py b/py-adb/patches/patch-adb_common.py
deleted file mode 100644
index dd5bd7e9ac..0000000000
--- a/py-adb/patches/patch-adb_common.py
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
-This fails on NetBSD too.
-
---- adb/common.py.orig	2018-05-31 08:43:12.000000000 +0000
-+++ adb/common.py
-@@ -118,6 +118,7 @@ class UsbHandle(object):
-         iface_number = self._setting.getNumber()
-         try:
-             if (platform.system() != 'Windows'
-+                    and platform.system() != 'NetBSD'
-                     and handle.kernelDriverActive(iface_number)):
-                 handle.detachKernelDriver(iface_number)
-         except libusb1.USBError as e:


Home | Main Index | Thread Index | Old Index