mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
First commit of Shredos v2021.08.2_19_x86-64_0.32.014
This commit is contained in:
20
package/python-txtorcon/Config.in
Normal file
20
package/python-txtorcon/Config.in
Normal file
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_PYTHON_TXTORCON
|
||||
bool "python-txtorcon"
|
||||
depends on BR2_PACKAGE_PYTHON3 # python-idna
|
||||
depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-service-identity
|
||||
select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
|
||||
select BR2_PACKAGE_PYTHON_IDNA # runtime
|
||||
select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
|
||||
select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
|
||||
select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
|
||||
select BR2_PACKAGE_PYTHON_TWISTED # runtime
|
||||
select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime
|
||||
help
|
||||
Twisted-based Tor controller client, with state-tracking and
|
||||
configuration abstractions.
|
||||
|
||||
https://github.com/meejah/txtorcon
|
||||
|
||||
comment "python-txtorcon needs a toolchain w/ C++"
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
5
package/python-txtorcon/python-txtorcon.hash
Normal file
5
package/python-txtorcon/python-txtorcon.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/txtorcon/json
|
||||
md5 fb323f9874298a8145dbe8d43c387932 txtorcon-19.1.0.tar.gz
|
||||
sha256 25d8e52c3eac45bb90ff958ca7cdd7674fb3284e3a50826a58ab7b9578b15ea5 txtorcon-19.1.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 3ada1c32ef38c23d96d7f4e8f4a226c527f51e0202883c7543b06f9cc5228a2b LICENSE
|
||||
23
package/python-txtorcon/python-txtorcon.mk
Normal file
23
package/python-txtorcon/python-txtorcon.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-txtorcon
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_TXTORCON_VERSION = 19.1.0
|
||||
PYTHON_TXTORCON_SOURCE = txtorcon-$(PYTHON_TXTORCON_VERSION).tar.gz
|
||||
PYTHON_TXTORCON_SITE = https://files.pythonhosted.org/packages/8c/26/d5b2fba4ffbcb23957ff2cee4d7d0a2d667372b9eb04807058bd561c8e8f
|
||||
PYTHON_TXTORCON_SETUP_TYPE = setuptools
|
||||
PYTHON_TXTORCON_LICENSE = MIT
|
||||
PYTHON_TXTORCON_LICENSE_FILES = LICENSE
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
# only needed/valid for python 3.x
|
||||
define PYTHON_TXTORCON_RM_PY3_FILE
|
||||
rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/txtorcon/controller_py3.py
|
||||
endef
|
||||
|
||||
PYTHON_TXTORCON_POST_INSTALL_TARGET_HOOKS += PYTHON_TXTORCON_RM_PY3_FILE
|
||||
endif
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user