mirror of
https://github.com/openwrt/packages.git
synced 2026-10-13 05:47:27 +04:00
- Python3-pysocks was removed as it was not maintained in commit95fe4bf332("python-pysocks: remove outdated and not maintained package") - Python3-unidecode was removed in commit09951a9cfd("python-unidecode: drop unmaintained package"), because there is no official support for Python 3.12 and it is still using setup.py, which is deprecated. Fixes: ``` WARNING: Makefile 'package/feeds/packages/onionshare-cli/Makefile' has a dependency on 'python3-pysocks', which does not exist WARNING: Makefile 'package/feeds/packages/onionshare-cli/Makefile' has a dependency on 'python3-unidecode', which does not exist ``` Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
#
|
|
# Copyright (C) 2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=onionshare-cli
|
|
PKG_VERSION:=2.3.1
|
|
PKG_RELEASE:=4
|
|
|
|
PYPI_NAME:=onionshare-cli
|
|
PYPI_SOURCE_NAME:=onionshare_cli
|
|
PKG_HASH:=47320a5f270b3629586c249fb2ae1c2f67682cb53c5013a8af9702d0d6e50193
|
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
PKG_LICENSE:=GPL-3.0-or-later
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_BUILD_DEPENDS:=python-setuptools-scm/host
|
|
|
|
PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1
|
|
|
|
include ../../lang/python/pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../../lang/python/python3-package.mk
|
|
|
|
define Package/onionshare-cli
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=Secure chat, web and file sharing
|
|
SUBMENU:=File Transfer
|
|
URL:=https://onionshare.org/
|
|
DEPENDS:= \
|
|
+python3-light \
|
|
+python3-psutil \
|
|
+python3-click \
|
|
+python3-flask \
|
|
+python3-flask-httpauth \
|
|
+python3-flask-socketio \
|
|
+python3-requests \
|
|
+python3-stem \
|
|
+python3-eventlet \
|
|
+python3-cryptodome \
|
|
+python3-urllib3 \
|
|
+tor
|
|
endef
|
|
|
|
define Package/onionshare-cli/description
|
|
OnionShare is an open source tool that lets you securely and
|
|
anonymously share files, host websites, and chat with friends using the Tor network.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,onionshare-cli))
|
|
$(eval $(call BuildPackage,onionshare-cli))
|
|
$(eval $(call BuildPackage,onionshare-cli-src))
|