Merge pull request #20731 from pprindeville/isc-dhcp-update-4.4.3-P1
[feed/packages.git] / net / onionshare-cli / Makefile
1 #
2 # Copyright (C) 2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=onionshare-cli
11 PKG_VERSION:=2.3.1
12 PKG_RELEASE:=2
13
14 PYPI_NAME:=onionshare-cli
15 PYPI_SOURCE_NAME:=onionshare_cli
16 PKG_HASH:=47320a5f270b3629586c249fb2ae1c2f67682cb53c5013a8af9702d0d6e50193
17
18 PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
19 PKG_LICENSE:=GPL-3.0-or-later
20 PKG_LICENSE_FILES:=LICENSE
21
22 PKG_BUILD_DEPENDS:=python-setuptools-scm/host
23
24 include ../../lang/python/pypi.mk
25 include $(INCLUDE_DIR)/package.mk
26 include ../../lang/python/python3-package.mk
27
28 define Package/onionshare-cli
29 SECTION:=net
30 CATEGORY:=Network
31 TITLE:=Secure chat, web and file sharing
32 URL:=https://onionshare.org/
33 DEPENDS:= \
34 +python3-light \
35 +python3-psutil \
36 +python3-click \
37 +python3-flask \
38 +python3-flask-httpauth \
39 +python3-flask-socketio \
40 +python3-pysocks \
41 +python3-requests \
42 +python3-stem \
43 +python3-eventlet \
44 +python3-unidecode \
45 +python3-cryptodome \
46 +python3-urllib3 \
47 +tor
48 endef
49
50 define Package/onionshare-cli/description
51 OnionShare is an open source tool that lets you securely and
52 anonymously share files, host websites, and chat with friends using the Tor network.
53 endef
54
55 $(eval $(call Py3Package,onionshare-cli))
56 $(eval $(call BuildPackage,onionshare-cli))
57 $(eval $(call BuildPackage,onionshare-cli-src))