blob: cf3e05bb2154ecf21b96bd18450214b1c71ee743 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-pysocks
11PKG_VERSION:=1.7.1
12PKG_RELEASE:=1
13
14PYPI_NAME:=PySocks
15PKG_HASH:=3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0
16
17PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
18PKG_LICENSE:=MIT
19PKG_LICENSE_FILES:=LICENSE
20
21include ../pypi.mk
22include $(INCLUDE_DIR)/package.mk
23include ../python3-package.mk
24
25define Package/python3-pysocks
26 SUBMENU:=Python
27 SECTION:=lang
28 CATEGORY:=Languages
29 TITLE:=Python SOCKS client module
30 URL:=https://github.com/Anorov/PySocks
31 DEPENDS:= \
32 +python3-light \
33 +python3-logging \
34 +python3-openssl \
35 +python3-urllib
36endef
37
38define Package/python3-pysocks/description
39 PySocks lets you send traffic through SOCKS proxy servers.
40 It is a modern fork of SocksiPy with bug fixes and extra features.
41endef
42
43$(eval $(call Py3Package,python3-pysocks))
44$(eval $(call BuildPackage,python3-pysocks))
45$(eval $(call BuildPackage,python3-pysocks-src))