From 2a4461e2089a9fcfa089f07e74a9b18435e7b52d Mon Sep 17 00:00:00 2001 From: James <31272717+gpd-pocket-hacker@users.noreply.github.com> Date: Tue, 16 Mar 2021 20:10:04 +0000 Subject: syncing to other house --- master/endstop | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) (limited to 'master') diff --git a/master/endstop b/master/endstop index e69de29..ab633d8 100644 --- a/master/endstop +++ b/master/endstop @@ -0,0 +1,106 @@ +diff --git a/.config b/.config +index c316295..330d64e 100644 +--- a/.config ++++ b/.config +@@ -2746,8 +2746,10 @@ CONFIG_PACKAGE_python-pydoc=m + # CONFIG_PACKAGE_python-pyopenssl-src is not set + # CONFIG_PACKAGE_python-pyptlib is not set + # CONFIG_PACKAGE_python-pyptlib-src is not set +-# CONFIG_PACKAGE_python-pyserial is not set ++CONFIG_PACKAGE_python-pyserial=m + # CONFIG_PACKAGE_python-pyserial-src is not set ++CONFIG_PACKAGE_python-pyusb=m ++# CONFIG_PACKAGE_python-pyusb-src is not set + # CONFIG_PACKAGE_python-qrcode is not set + # CONFIG_PACKAGE_python-requests is not set + # CONFIG_PACKAGE_python-requests-oauthlib is not set +@@ -2863,6 +2865,8 @@ CONFIG_PACKAGE_python3-pydoc=m + # CONFIG_PACKAGE_python3-pyopenssl-src is not set + # CONFIG_PACKAGE_python3-pyserial is not set + # CONFIG_PACKAGE_python3-pyserial-src is not set ++CONFIG_PACKAGE_python3-pyusb=m ++# CONFIG_PACKAGE_python3-pyusb-src is not set + # CONFIG_PACKAGE_python3-service-identity is not set + # CONFIG_PACKAGE_python3-service-identity-src is not set + # CONFIG_PACKAGE_python3-setuptools is not set +@@ -5130,7 +5134,7 @@ CONFIG_PACKAGE_coreutils-sha512sum=m + CONFIG_PACKAGE_dbus=m + # CONFIG_PACKAGE_dbus-utils is not set + # CONFIG_PACKAGE_device-observatory is not set +-# CONFIG_PACKAGE_dfu-util is not set ++CONFIG_PACKAGE_dfu-util=m + CONFIG_PACKAGE_digitemp=m + CONFIG_PACKAGE_digitemp-usb=m + # CONFIG_PACKAGE_dmesg is not set +diff --git a/package/jmm/python-pyusb/Makefile b/package/jmm/python-pyusb/Makefile +new file mode 100644 +index 0000000..9e68910 +--- /dev/null ++++ b/package/jmm/python-pyusb/Makefile +@@ -0,0 +1,66 @@ ++# ++# Copyright (C) 2015 OpenWrt.org ++# ++# This is free software, licensed under the GNU General Public License v2. ++# See /LICENSE for more information. ++# ++ ++include $(TOPDIR)/rules.mk ++ ++PKG_NAME:=python-pyusb ++PKG_VERSION:=1.1.1 ++PKG_RELEASE:=1 ++ ++PKG_SOURCE:=pyusb-$(PKG_VERSION).tar.gz ++PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/b9/8d/25c4e446a07e918eb39b5af25c4a83a89db95ae44e4ed5a46c3c53b0a4d6/ ++PKG_HASH:=7d449ad916ce58aff60b89aae0b65ac130f289c24d6a5b7b317742eccffafc38 ++ ++PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-pyusb-$(PKG_VERSION) ++ ++PKG_LICENSE:=BSD ++PKG_MAINTAINER:=Micke Prag ++ ++include $(INCLUDE_DIR)/package.mk ++include ../../feeds/packages/python/../python-package.mk ++include ../../feeds/packages/python3/../python3-package.mk ++ ++PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE) ++ ++define Package/python-pyusb/Default ++ SECTION:=lang-python ++ CATEGORY:=Languages ++ SUBMENU:=Python ++ URL:=https://pyusb.github.io/pyusb/ ++endef ++ ++define Package/python-pyusb ++$(call Package/python-pyusb/Default) ++ TITLE:=python-pyusb ++ DEPENDS:=+python-light +libusb-1.0 ++ VARIANT:=python ++endef ++ ++define Package/python3-pyusb ++$(call Package/python-pyusb/Default) ++ TITLE:=python3-pyusb ++ DEPENDS:=+python3-light +libusb-1.0 ++ VARIANT:=python3 ++endef ++ ++define Package/python-pyusb/description ++meh ++endef ++ ++define Package/python3-pyusb/description ++$(call Package/python-pyusb/description) ++. ++(Variant for Python3) ++endef ++ ++$(eval $(call PyPackage,python-pyusb)) ++$(eval $(call BuildPackage,python-pyusb)) ++$(eval $(call BuildPackage,python-pyusb-src)) ++ ++$(eval $(call Py3Package,python3-pyusb)) ++$(eval $(call BuildPackage,python3-pyusb)) ++$(eval $(call BuildPackage,python3-pyusb-src)) -- cgit v1.2.3