import (remaining) steamctl ports

testing and input by sdk@
input and ok sthen@
This commit is contained in:
thfr 2022-03-21 12:59:16 +00:00
parent 6189a40c98
commit 3ca19a5efd
15 changed files with 468 additions and 0 deletions

38
games/py-steam/Makefile Normal file
View File

@ -0,0 +1,38 @@
COMMENT = module for interacting with various Steam features
MODPY_EGG_VERSION = 1.2.0
DISTNAME = steam-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = games
HOMEPAGE = https://github.com/ValvePython/steam
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = converters/py-vdf${MODPY_FLAVOR} \
devel/py-cachetools${MODPY_FLAVOR} \
devel/py-gevent${MODPY_FLAVOR} \
devel/py-gevent-eventemitter${MODPY_FLAVOR} \
devel/py-protobuf${MODPY_FLAVOR} \
devel/py-six${MODPY_FLAVOR} \
security/py-cryptodome${MODPY_FLAVOR} \
www/py-requests${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR = python3
# tests not included in pypi tarball
NO_TEST = Yes
FIX_EXTRACT_PERMISSIONS = Yes
# fix namespace (module name) for security/py-cryptodome
post-extract:
find ${WRKSRC} -type f -name "*.py" -exec \
sed -i 's,Cryptodome,Crypto,g' {} +
.include <bsd.port.mk>

2
games/py-steam/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (steam-1.2.0.tar.gz) = JCEAhIUuvS/xMnXgo30MIpS5ZfgHjDpQVjbEmbVXXn8=
SIZE (steam-1.2.0.tar.gz) = 410231

View File

@ -0,0 +1,14 @@
use security/py-cryptodome
Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -16,7 +16,7 @@ with open(path.join(here, 'steam/__init__.py'), encodi
install_requires = [
'six>=1.10',
- 'pycryptodomex>=3.7.0',
+ 'pycryptodome>=3.7.0',
'requests>=2.9.1',
'vdf>=3.3',
'cachetools>=3.0.0',

View File

@ -0,0 +1,12 @@
use security/py-cryptodome
Index: steam.egg-info/requires.txt
--- steam.egg-info/requires.txt.orig
+++ steam.egg-info/requires.txt
@@ -1,5 +1,5 @@
six>=1.10
-pycryptodomex>=3.7.0
+cryptodome>=3.7.0
requests>=2.9.1
vdf>=3.3
cachetools>=3.0.0

11
games/py-steam/pkg/DESCR Normal file
View File

@ -0,0 +1,11 @@
A python module for interacting with various parts of Steam.
Features
SteamClient - communication with the steam network based on gevent
CDNClient - access to Steam content depots
WebAuth - authentication for store.steampowered.com and steamcommunity.com
WebAPI - simple API for Steam's Web API with automatic population of interfaces
SteamAuthenticator - manage two factor authentication for Steam accounts
SteamID - convert between the various ID representations with ease
Master Server Query Protocol - query masters servers directly or via SteamClient

179
games/py-steam/pkg/PLIST Normal file
View File

@ -0,0 +1,179 @@
lib/python${MODPY_VERSION}/site-packages/steam/
lib/python${MODPY_VERSION}/site-packages/steam-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/steam-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/steam-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/steam-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/steam-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/steam-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/steam-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/zip-safe
lib/python${MODPY_VERSION}/site-packages/steam/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steam/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steam/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/${MODPY_PYCACHE}game_servers.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/${MODPY_PYCACHE}globalid.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/${MODPY_PYCACHE}guard.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/${MODPY_PYCACHE}steamid.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/${MODPY_PYCACHE}webapi.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/${MODPY_PYCACHE}webauth.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/
lib/python${MODPY_VERSION}/site-packages/steam/client/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steam/client/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steam/client/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/${MODPY_PYCACHE}cdn.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/${MODPY_PYCACHE}gc.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/${MODPY_PYCACHE}user.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/${MODPY_PYCACHE}apps.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/${MODPY_PYCACHE}friends.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/${MODPY_PYCACHE}gameservers.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/${MODPY_PYCACHE}leaderboards.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/${MODPY_PYCACHE}unified_messages.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/${MODPY_PYCACHE}user.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/${MODPY_PYCACHE}web.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/apps.py
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/friends.py
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/gameservers.py
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/leaderboards.py
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/unified_messages.py
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/user.py
lib/python${MODPY_VERSION}/site-packages/steam/client/builtins/web.py
lib/python${MODPY_VERSION}/site-packages/steam/client/cdn.py
lib/python${MODPY_VERSION}/site-packages/steam/client/gc.py
lib/python${MODPY_VERSION}/site-packages/steam/client/user.py
lib/python${MODPY_VERSION}/site-packages/steam/core/
lib/python${MODPY_VERSION}/site-packages/steam/core/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steam/core/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steam/core/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/core/${MODPY_PYCACHE}cm.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/core/${MODPY_PYCACHE}connection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/core/${MODPY_PYCACHE}crypto.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/core/${MODPY_PYCACHE}manifest.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/core/cm.py
lib/python${MODPY_VERSION}/site-packages/steam/core/connection.py
lib/python${MODPY_VERSION}/site-packages/steam/core/crypto.py
lib/python${MODPY_VERSION}/site-packages/steam/core/manifest.py
lib/python${MODPY_VERSION}/site-packages/steam/core/msg/
lib/python${MODPY_VERSION}/site-packages/steam/core/msg/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steam/core/msg/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steam/core/msg/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/core/msg/${MODPY_PYCACHE}headers.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/core/msg/${MODPY_PYCACHE}structs.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/core/msg/${MODPY_PYCACHE}unified.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/core/msg/headers.py
lib/python${MODPY_VERSION}/site-packages/steam/core/msg/structs.py
lib/python${MODPY_VERSION}/site-packages/steam/core/msg/unified.py
lib/python${MODPY_VERSION}/site-packages/steam/enums/
lib/python${MODPY_VERSION}/site-packages/steam/enums/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steam/enums/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steam/enums/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/enums/${MODPY_PYCACHE}base.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/enums/${MODPY_PYCACHE}common.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/enums/${MODPY_PYCACHE}emsg.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/enums/base.py
lib/python${MODPY_VERSION}/site-packages/steam/enums/common.py
lib/python${MODPY_VERSION}/site-packages/steam/enums/emsg.py
lib/python${MODPY_VERSION}/site-packages/steam/exceptions.py
lib/python${MODPY_VERSION}/site-packages/steam/game_servers.py
lib/python${MODPY_VERSION}/site-packages/steam/globalid.py
lib/python${MODPY_VERSION}/site-packages/steam/guard.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}content_manifest_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}encrypted_app_ticket_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}gc_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_base_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_broadcast_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_chat_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_clientserver_2_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_clientserver_friends_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_clientserver_login_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_clientserver_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_cloud_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_credentials_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_datapublisher_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_depotbuilder_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_deviceauth_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_econ_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_friendmessages_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_gamenotifications_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_gameservers_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_inventory_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_linkfilter_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_offline_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_parental_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_partnerapps_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_physicalgoods_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_player_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_publishedfile_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_secrets_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_shader_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_site_license_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_store_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_twofactor_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_unified_base_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_unified_test_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_useraccount_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_video_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}steammessages_webui_friends_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/${MODPY_PYCACHE}test_messages_pb2.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/content_manifest_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/encrypted_app_ticket_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/gc_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_base_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_broadcast_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_chat_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_clientserver_2_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_clientserver_friends_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_clientserver_login_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_clientserver_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_cloud_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_credentials_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_datapublisher_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_depotbuilder_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_deviceauth_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_econ_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_friendmessages_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_gamenotifications_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_gameservers_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_inventory_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_linkfilter_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_offline_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_parental_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_partnerapps_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_physicalgoods_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_player_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_publishedfile_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_secrets_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_shader_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_site_license_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_store_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_twofactor_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_unified_base_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_unified_test_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_useraccount_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_video_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/steammessages_webui_friends_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/protobufs/test_messages_pb2.py
lib/python${MODPY_VERSION}/site-packages/steam/steamid.py
lib/python${MODPY_VERSION}/site-packages/steam/utils/
lib/python${MODPY_VERSION}/site-packages/steam/utils/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steam/utils/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steam/utils/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/utils/${MODPY_PYCACHE}appcache.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/utils/${MODPY_PYCACHE}binary.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/utils/${MODPY_PYCACHE}proto.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/utils/${MODPY_PYCACHE}throttle.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/utils/${MODPY_PYCACHE}web.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steam/utils/appcache.py
lib/python${MODPY_VERSION}/site-packages/steam/utils/binary.py
lib/python${MODPY_VERSION}/site-packages/steam/utils/proto.py
lib/python${MODPY_VERSION}/site-packages/steam/utils/throttle.py
lib/python${MODPY_VERSION}/site-packages/steam/utils/web.py
lib/python${MODPY_VERSION}/site-packages/steam/webapi.py
lib/python${MODPY_VERSION}/site-packages/steam/webauth.py

30
games/steamctl/Makefile Normal file
View File

@ -0,0 +1,30 @@
COMMENT = take control of Steam from your terminal
MODPY_EGG_VERSION = 0.9.1
DISTNAME = steamctl-${MODPY_EGG_VERSION}
CATEGORIES = games
HOMEPAGE = https://github.com/ValvePython/steamctl
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
RUN_DEPENDS = devel/py-appdirs${MODPY_FLAVOR} \
devel/py-argcomplete${MODPY_FLAVOR} \
devel/py-arrow${MODPY_FLAVOR} \
devel/py-tqdm${MODPY_FLAVOR} \
games/py-steam${MODPY_FLAVOR} \
archivers/py-vpk${MODPY_FLAVOR} \
graphics/py-pyqrcode${MODPY_FLAVOR} \
www/py-beautifulsoup4${MODPY_FLAVOR}
# tests not included in pypi tarball
NO_TEST = Yes
FIX_EXTRACT_PERMISSIONS = Yes
.include <bsd.port.mk>

2
games/steamctl/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (steamctl-0.9.1.tar.gz) = O4xDY0fg5a/Od6JuRb9ygAdbvbJz3Kxlfv21awb9/m0=
SIZE (steamctl-0.9.1.tar.gz) = 42848

View File

@ -0,0 +1,14 @@
use cryptodome; see py3-cryptodomex => py3-cryptodome in Quirks
Index: steamctl/utils/versions_report.py
--- steamctl/utils/versions_report.py.orig
+++ steamctl/utils/versions_report.py
@@ -32,7 +32,7 @@ def versions_report(output=sys.stdout):
'gevent',
'greenlet',
'pyyaml',
- 'pycryptodomex',
+ 'cryptodome',
'protobuf',
]:
print("{:>20}:".format(dep), installed_pkgs.get(dep.lower(), "Not Installed"))

4
games/steamctl/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
steamctl is an open-source CLI utility similar to steamcmd. It provides access
to a number of Steam features and data from the command line. While it is
possible to download apps and content from Steam, steamctl is not a game
launcher.

113
games/steamctl/pkg/PLIST Normal file
View File

@ -0,0 +1,113 @@
bin/steamctl
lib/python${MODPY_VERSION}/site-packages/steamctl/
lib/python${MODPY_VERSION}/site-packages/steamctl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/steamctl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/steamctl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/steamctl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/steamctl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
lib/python${MODPY_VERSION}/site-packages/steamctl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/steamctl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/steamctl-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/zip-safe
lib/python${MODPY_VERSION}/site-packages/steamctl/__init__.py
lib/python${MODPY_VERSION}/site-packages/steamctl/__main__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/${MODPY_PYCACHE}__main__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/${MODPY_PYCACHE}argparser.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/${MODPY_PYCACHE}clients.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/argparser.py
lib/python${MODPY_VERSION}/site-packages/steamctl/clients.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/apps/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/apps/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/apps/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/apps/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/apps/${MODPY_PYCACHE}enums.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/apps/${MODPY_PYCACHE}gcmds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/apps/enums.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/apps/gcmds.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/assistant/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/assistant/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/assistant/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/assistant/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/assistant/${MODPY_PYCACHE}card_idler.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/assistant/${MODPY_PYCACHE}discovery_queue.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/assistant/card_idler.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/assistant/discovery_queue.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/authenticator/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/authenticator/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/authenticator/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/authenticator/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/authenticator/${MODPY_PYCACHE}cmd_code.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/authenticator/${MODPY_PYCACHE}cmds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/authenticator/cmd_code.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/authenticator/cmds.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/clean/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/clean/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/clean/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/clean/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/clean/${MODPY_PYCACHE}cmds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/clean/cmds.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/cloud/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/cloud/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/cloud/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/cloud/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/cloud/${MODPY_PYCACHE}gcmds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/cloud/gcmds.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/depot/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/depot/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/depot/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/depot/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/depot/${MODPY_PYCACHE}gcmds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/depot/gcmds.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/hlmaster/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/hlmaster/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/hlmaster/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/hlmaster/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/hlmaster/${MODPY_PYCACHE}cmds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/hlmaster/cmds.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/steamid/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/steamid/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/steamid/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/steamid/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/steamid/${MODPY_PYCACHE}cmds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/steamid/cmds.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/ugc/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/ugc/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/ugc/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/ugc/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/ugc/${MODPY_PYCACHE}gcmds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/ugc/gcmds.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/webapi/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/webapi/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/webapi/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/webapi/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/webapi/${MODPY_PYCACHE}cmds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/webapi/cmds.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/workshop/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/workshop/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/commands/workshop/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/workshop/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/workshop/${MODPY_PYCACHE}cmds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/workshop/${MODPY_PYCACHE}gcmds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/workshop/cmds.py
lib/python${MODPY_VERSION}/site-packages/steamctl/commands/workshop/gcmds.py
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/steamctl/utils/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/${MODPY_PYCACHE}format.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/${MODPY_PYCACHE}prompt.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/${MODPY_PYCACHE}storage.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/${MODPY_PYCACHE}tqdm.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/${MODPY_PYCACHE}versions_report.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/${MODPY_PYCACHE}web.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/format.py
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/prompt.py
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/storage.py
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/tqdm.py
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/versions_report.py
lib/python${MODPY_VERSION}/site-packages/steamctl/utils/web.py

View File

@ -0,0 +1,24 @@
COMMENT = QR code generator written purely in Python
MODPY_EGG_VERSION = 1.2.1
DISTNAME = PyQRCode-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
CATEGORIES = graphics
HOMEPAGE = https://github.com/mnooner256/pyqrcode
# BSD
PERMIT_PACKAGE = Yes
# optional dependency on pypng to render png files
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR = python3
# tests not included in pypi tarball
NO_TEST = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (PyQRCode-1.2.1.tar.gz) = /b92NHM+VrcuJ/m85G5FULdaOixCBBQDXK6dnSayNNU=
SIZE (PyQRCode-1.2.1.tar.gz) = 36989

View File

@ -0,0 +1,9 @@
The pyqrcode module is a QR code generator that is simple to use and written in
pure python. The module can automate most of the building process for creating
QR codes. Most codes can be created using only two lines of code!
Unlike other generators, all of the helpers can be controlled manually. You are
free to set any or all of the properties of your QR code.
QR codes can be saved in several formats. They can also be displayed directly in
most terminal emulators.

View File

@ -0,0 +1,14 @@
lib/python${MODPY_VERSION}/site-packages/PyQRCode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/PyQRCode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/PyQRCode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/PyQRCode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/PyQRCode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/PyQRCode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/pyqrcode/
lib/python${MODPY_VERSION}/site-packages/pyqrcode/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pyqrcode/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/pyqrcode/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pyqrcode/${MODPY_PYCACHE}builder.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pyqrcode/${MODPY_PYCACHE}tables.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pyqrcode/builder.py
lib/python${MODPY_VERSION}/site-packages/pyqrcode/tables.py