new ebuild generation script + homeassistant-full-2024.11.3
genebuild.py is based on genebuild.sh usage: genebuild.py [-h] [version] - integrations used by "core integrations" (as defined in bootstrap.py) cannot be disabled with use-flags any more - requirements of core are read via the requirements.txt file; the requirements of each integration is read from manifest.json of that integration - package_constraints.txt is used to create (soft) blockers - REQUIRED_USE is generated based on the manifest files (some integrations depend on other integrations) Also contains the generated ebuild for homeassistant-full-2024.11.3 + the dependencies not yet in the tree for my configuration Signed-off-by: Stef Simoens <stef.github@bisse.be>
This commit is contained in:
@@ -17,6 +17,8 @@ DIST homeassistant-2024.10.3.gh.tar.gz 18782063 BLAKE2B 6d124e7282815ebb106051e6
|
||||
DIST homeassistant-2024.10.3.tar.gz 22982969 BLAKE2B de54bf0dc737fe6fe9990d5bef07df7eca5ff2962df6832e72de471f5b4f4f458a5e38c4d31083f09305e428a419294cf408a884620a687f6a41ce7bce0f0b0a SHA512 9666fdebc99ff6712375a2b1d4d29073e5ddb26d7d33c5e3f01f6b96b7f64fb006746998f81003bc12170dbed92de90b3d21c55ff89f395cd18701073b2f947f
|
||||
DIST homeassistant-2024.10.4.gh.tar.gz 18785041 BLAKE2B bd3d63a8f16555976bb9d5b61a8c7ed7e29f709a398830b0c37fb581c35c6ff755db523b33743c92c55468b6025444333e412e2f3fd915fcc3778d723103ff32 SHA512 dd8557f7c86e045269931efa80c7cfaafdd2a53edafdff3af31e7cd2d0438c05909bd34f6fe8bb3945ef7a8f090806d207fb41e9055b21686015078209e4c553
|
||||
DIST homeassistant-2024.10.4.tar.gz 23077043 BLAKE2B 2ec1562ae041e8ec37506945a4f21f121a721e004e9c20ff295c7a251c89279cc0a34f1e1dd2946edd589d8ba74b9f4d24133fd465f2cdc5331ea16720b03e9c SHA512 de1de3a649479d8e8f745a559ac9ff9f297651571bdcbfda1851006a64b8c8bd308b1769825d05dded541b0fe21c4e82f632c731de46e6a4630e03ade065712c
|
||||
DIST homeassistant-2024.11.3.gh.tar.gz 18873491 BLAKE2B 7082b0b5f688e5da76fece577944927026d6594ef6d2b91c5106dd56bc3149a7f74e4394612ee526de11bf50e31a4a0167557f06f035c9a707c70fbf67cad69a SHA512 7ffbce37aa915a99a916d534bc02742b248e7b7215e05bbd6654aac4db094b89e8f7d75be726ac3caa0f769e0318267bd0753daa2f4da77142cfaa59c0c007d7
|
||||
DIST homeassistant-2024.11.3.tar.gz 23432503 BLAKE2B 4c431cc5f43dd8d179c1a8292de282a9331157e04fdc20b165dc3e6ac6d2031710fc8abfc7e2f09de4f364c1b6d35398a07e40b4da0b30e414d86b44cb09321e SHA512 8f33c376ba988270262b3c3f627db85e7a44d19a5d57e7435b5d4158dcab042bf76b04ba271fcd251c614bc9d5a328984f24cbaf95b98ca0de2bc9751e956d7e
|
||||
DIST homeassistant-2024.5.5.gh.tar.gz 17013825 BLAKE2B 03eba1e79d9c1c2ff8a751c84e9c51f8c4396e8d9c6ef7800d7ae8db9237d5b511f76d99aed4db7a9a851c8036dbbf129a66b67d31333338ef17a2a4805ecc04 SHA512 f84350c715438e715a694d211bd4452ca43b1a6bfee30266ee07d4d94a725df8129847db6bc94958759b971759bbdc78fd968fda769b238f0cbf5e98991e270f
|
||||
DIST homeassistant-2024.5.5.tar.gz 21077969 BLAKE2B c08563c79974d99bb124d33f2deeee693a4c0b92fb1a17b9c937d8a1a125d1c4c5723e469305a6597c7aae7629713b1f1935608b4c3d29176098fb0a645513c0 SHA512 1bfab28f86ceb64d7b4c84b418811d57990a45b730b361d603a22bd8ccb64a6531cd79f5bfb1e282aaf49e3b711d74b1f94fc25915619c0a6a5fb2ef9b4c4796
|
||||
DIST homeassistant-2024.6.4.gh.tar.gz 17252383 BLAKE2B cfaed713f67347e66bc54318b50fd1220aaa3cbf03517ff4be7d91f69ab701ad7899eee000182c1e1af5c2c209908c3ad325ddd05ce5b07576684ae00084015c SHA512 9bc7635b4e307ec46490681a3ea9e136fa73ecc02d7198116805d3084bd3ba634c69f67063bf1e8c3661142f06234c077662543f897c5937141bd04e6484b8ed
|
||||
@@ -25,9 +27,11 @@ EBUILD homeassistant-full-2024.10.2.ebuild 87607 BLAKE2B b9c2aceeac42c2b63e6cc6a
|
||||
EBUILD homeassistant-full-2024.10.3.ebuild 87607 BLAKE2B a408c1b643bd2a39d1064cdd969a416e3e3a272c23693fec932595ca7c18f4a42a3ccfea77609d63aa8335f0d191434c60cb96c7d6c69cb76c54acae8d3ddf93 SHA512 1d85e275e5c28e618876111a45753f000724a88cc1928dffd6f32cb2235843648eb026d5c20074ed855679a8e9bc1498b27bcd1dd6aad61a258e12de78d5c9a4
|
||||
EBUILD homeassistant-full-2024.10.4-r1.ebuild 89730 BLAKE2B 37e9fb538755f23cbdcfb44ed0359f6e71bc87aeb50c839e6b9b6baad7035b0ee2bc1f4e0f2f7e601f772875b52e3bdab88cbe174ca68f42c160219b10fdecb6 SHA512 3831fb6187512bfcecee821f87cbc37cf52f7a3ef7252466658270c6ec0dcd651e123c56de157b9192e4398e161e375551305ee40b85128349034064634d9c78
|
||||
EBUILD homeassistant-full-2024.10.4.ebuild 87607 BLAKE2B 5dd4dd9ee1662a45755794ab0cbcfa3ec2295151577ac884072f214a23c0feb442208323d6036cc168697a06aee446063ed20e3b05e1d6b749c5994e13236fa6 SHA512 5417750bf406feaa36d10b1372d496713880fb4f916201540b8c6ebf43ed756a98dfed784447997ca14a0f5f04a168331dd0a6ab04ffd249d6340ce96221b6c6
|
||||
EBUILD homeassistant-full-2024.11.3.ebuild 90008 BLAKE2B c65f49d05a19aaaccfb5ee0fb1a896db77a0f4f4c16fee1c751a21fa2c2043aabf9e6630937776275b61fb76e2d22dbc179c48b6472cf67d5e184bb770ab76fd SHA512 c5819afee59a4128865629c316b330839b5c3d5282adb8985b632be363a73d52d467352cb10d1fc369db14709e84c868571eeaac7b12c25bc4b4d2d06a0d4eac
|
||||
EBUILD homeassistant-full-2024.5.5.ebuild 87190 BLAKE2B 22ac1dc7d5be921e7a72cf1eb9bcd6f770f2bb5a28e7bd04daaa5afbf4ce2e25b07b2c214d3f3dcfdb3f0a688f948f0e23e760d0b03593a791872ec4afa41311 SHA512 8bcb7381d43930fb7e199e0bba32cf82adfd8afc7af4eaa6ae9dcf9a628e50e38cee70fb701aa87c10a864fea4226ff6253507720ed0ae1a988ef7dc524ef551
|
||||
EBUILD homeassistant-full-2024.6.4.ebuild 87802 BLAKE2B 266b07de8f1443d187024699e46fbc0b4c3f6622faa5e233be5ce6639f7d27ed53ce4809fe3cc78f2ef2b56bc46d56cc608b6a842d7cf8def20bba19194468ce SHA512 de6fad31b936f241dfd8ac1127b4ab6c1c208725d3ac922eff8f782f66ced0d1f24b1b3614974f6fec3026be26821fd8f038b83eef3e9225c3bb610c799097e2
|
||||
EBUILD homeassistant-full-9999.ebuild 89643 BLAKE2B 77b1f6a74ce370dbf10a6eb592964b186a55be2c83e9599431453fce75f4b19355b908f124a01f9d1b334ba8bb0233353f2592d2e877d8997a2de8d2d31df12e SHA512 9a95462eae04356e6a13181aacb06abe075c67ed19b9b9e6575f9c71b708d088d52156aa19737e8e954644eae9b0f5778b7312b6b29fd8359140eae19fc76c97
|
||||
MISC genebuild.py 21212 BLAKE2B d2a1e731f2d1011fa140b9c3cae099e25698b17420dc26ea144be8f1f395a5dc24c8454fa0d5c77b5718c7deeb404bab29e5e1e118d7fc08de88d1fc6eb17ce5 SHA512 7b680cf09fbcbcb7bb2fc8623b5e504b6f4e106390d5dad332b3c9018b9936b63a0bfa2bac93eb16931329717a93722fbb979fb08565367a25e1ec12ff6905c2
|
||||
MISC genebuild.sh 20826 BLAKE2B 21e5c5c45139392abe5f6a5b3fdb2a663ad0626333644a9bd93b78ff6a616be505d0db7c0949fef8d0b642ca1a78240623d1e2cc1c9a7b9ffb53a28fd56f4b63 SHA512 181e671e1a7b17f52a178eb83cbb05a2603451a95e9391f6e10ce21cb7a464745db8fa9628d57ed66617c2863c7a5de65024ec9417bdd6ebf2141db8d12e422c
|
||||
MISC metadata.xml 96075 BLAKE2B 4bc104ea0b1abac247630842f128006f52b10cbf1e8db60f85774d1d88baeb19d5b4a887fdd1c5c1e367197f8d4383a95ea36c74bfbec64dcba08b15b99c9960 SHA512 d6dcee356e9b95398f7f111d9d73a803437a2eb9f585c71479ac29dee14a792e5da3fd0d5f80448e21f6970bcfc6c23369c798f1657a8e3d4257e80f2a87e3e0
|
||||
MISC test.sh 952 BLAKE2B 15c3ca304b9de0fe03a15511c06fbef6fb0778c2566a18f4045c6c77546a933384374161f4c2185e00778e745b0fdc8a5f8ab20091f82fbfb1e9a99640ce9888 SHA512 d1e2e05d54ba946b82926edeb8faf2224560f6aa27a2fb70733208acff0162f2f675d131df26c2e5e63a55f9692a4c2e2ccd779fbf03319fd8144475dbc28465
|
||||
|
||||
483
app-misc/homeassistant-full/genebuild.py
Executable file
483
app-misc/homeassistant-full/genebuild.py
Executable file
@@ -0,0 +1,483 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import json
|
||||
import re
|
||||
import requests
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
import yaml
|
||||
|
||||
from packaging.requirements import Requirement, InvalidRequirement
|
||||
from packaging.specifiers import SpecifierSet
|
||||
from packaging.utils import canonicalize_name, canonicalize_version
|
||||
|
||||
def fetch_json(url):
|
||||
"""Fetches JSON data from the given URL."""
|
||||
response = requests.get(url)
|
||||
response.raise_for_status() # raise an error for bad status codes
|
||||
return response.json()
|
||||
|
||||
def by_version(specifier):
|
||||
return specifier.version
|
||||
|
||||
def get_package(name, operator, version, extras = None, strict = 1):
|
||||
operator_mapping = {
|
||||
'==0': '>=',
|
||||
'==1': '~',
|
||||
'==-1': '!<',
|
||||
'!=-1': '!<=',
|
||||
'>=-1': '!<',
|
||||
}
|
||||
# 1000000000.0.0 is used as "any version"
|
||||
if version != '1000000000.0.0':
|
||||
version_string = operator_mapping.get(operator + str(strict), operator)
|
||||
elif strict == -1:
|
||||
version_string = '!'
|
||||
else:
|
||||
version_string = ''
|
||||
|
||||
name_mapping = {
|
||||
'apple_weatherkit': 'dev-python/apple_weatherkit',
|
||||
'atomicwrites-homeassistant': 'dev-python/atomicwrites',
|
||||
'foobot_async': 'dev-python/foobot_async',
|
||||
'geopy': 'sci-geosciences/geopy',
|
||||
'haproxy': 'net-proxy/haproxy',
|
||||
'home-assistant-cli': 'app-misc/home-assistant-cli',
|
||||
'Jinja2': 'dev-python/jinja2',
|
||||
'pyOpenSSL': 'dev-python/pyopenssl',
|
||||
'PyJWT': 'dev-python/pyjwt',
|
||||
'python-gitlab': 'dev-vcs/python-gitlab',
|
||||
'Pillow': 'dev-python/pillow',
|
||||
'pushover_complete': 'dev-python/pushover_complete',
|
||||
'PyChromecast': 'dev-python/pychromecast',
|
||||
'PyNaCl': 'dev-python/pynacl',
|
||||
'PyQRCode': 'dev-python/pyqrcode',
|
||||
'PyYAML': 'dev-python/pyyaml',
|
||||
'sharp_aquos_rc': 'dev-python/sharp_aquos_rc',
|
||||
'shodan': 'net-analyzer/shodan',
|
||||
'socat': 'net-misc/socat',
|
||||
'solarlog_cli': 'dev-python/solarlog_cli',
|
||||
'speedtest-cli': 'net-analyzer/speedtest-cli',
|
||||
'SQLAlchemy': 'dev-python/sqlalchemy',
|
||||
'mutagen': 'media-libs/mutagen',
|
||||
'yt-dlp': 'net-misc/yt-dlp',
|
||||
}
|
||||
newname = name
|
||||
newname = newname.replace('.', '-')
|
||||
newname = newname.replace('_', '-')
|
||||
version_string += name_mapping.get(name, 'dev-python/' + newname)
|
||||
|
||||
# 1000000000.0.0 is used as "any version"
|
||||
if version != '1000000000.0.0':
|
||||
version = canonicalize_version(version, strip_trailing_zero=False)
|
||||
# see pypi.eclass
|
||||
version = version.replace('a', '_alpha')
|
||||
version = version.replace('b', '_beta')
|
||||
version = version.replace('rc', '_rc')
|
||||
version = version.replace('.dev', '_pre')
|
||||
version = version.replace('.post', '_p')
|
||||
version_string += '-' + version
|
||||
|
||||
if extras is None:
|
||||
extras = []
|
||||
else:
|
||||
extras = list(extras)
|
||||
# fritzconnection has a gentoo USE flag qrcode
|
||||
if name == 'fritzconnection':
|
||||
extras = [e.replace('qr', 'qrcode') for e in extras]
|
||||
|
||||
if strict != -1 and name not in ['haproxy', 'uv']:
|
||||
extras.append('${PYTHON_USEDEP}')
|
||||
|
||||
if len(extras) > 0:
|
||||
version_string += '[' + ','.join(sorted(extras)) + ']'
|
||||
|
||||
return version_string
|
||||
|
||||
def write_header(ebuild_path, minimal = False):
|
||||
# determine python version
|
||||
if minimal:
|
||||
# use current Python version
|
||||
PYTHON_COMPAT = 'python' + str(sys.version_info.major) + '_' + str(sys.version_info.minor)
|
||||
else:
|
||||
# use Python versions as mentioned in .github/workflow/ci.yaml
|
||||
with open(portage_coredir + '/.github/workflows/ci.yaml', 'r') as stream:
|
||||
y = yaml.safe_load(stream)
|
||||
PYTHON_ALL_VERSIONS = eval(y['env']['ALL_PYTHON_VERSIONS'])
|
||||
del y
|
||||
# and limit them to homeassistant/const.py [REQUIRED_NEXT_PYTHON_VER]
|
||||
with open(portage_coredir + '/homeassistant/const.py', 'r') as const:
|
||||
for line in const:
|
||||
if line.startswith('REQUIRED_PYTHON_VER:'):
|
||||
y = re.search('\\((.*), [0-9]+\\)', line)
|
||||
PYTHON_MIN_VERSION = y.group(1).replace(', ', '.')
|
||||
|
||||
for v in PYTHON_ALL_VERSIONS:
|
||||
if v < PYTHON_MIN_VERSION:
|
||||
PYTHON_ALL_VERSIONS.remove(v)
|
||||
if len(PYTHON_ALL_VERSIONS) == 1:
|
||||
PYTHON_COMPAT = 'python' + str(PYTHON_ALL_VERSIONS[0]).replace('.', '_')
|
||||
elif len(PYTHON_ALL_VERSIONS) == 2:
|
||||
if PYTHON_ALL_VERSIONS[0][0] == PYTHON_ALL_VERSIONS[1][0]:
|
||||
PYTHON_COMPAT = 'python' + PYTHON_ALL_VERSIONS[0][0] + '_{' + PYTHON_ALL_VERSIONS[0][2:] + '..' + PYTHON_ALL_VERSIONS[1][2:] + '}'
|
||||
else:
|
||||
PYTHON_COMPAT = 'python' + str(PYTHON_ALL_VERSIONS[0]).replace('.', '_') + ' ' + 'python' + str(PYTHON_ALL_VERSIONS[1]).replace('.', '_')
|
||||
|
||||
with open(ebuild_path, 'w') as ebuild_file:
|
||||
# write header
|
||||
lines = [
|
||||
'# Distributed under the terms of the GNU General Public License v2\n',
|
||||
'\n',
|
||||
'EAPI=8\n',
|
||||
'\n',
|
||||
'DISTUTILS_USE_PEP517=setuptools\n',
|
||||
'PYTHON_COMPAT=( ' + PYTHON_COMPAT + ' )\n',
|
||||
'PYTHON_REQ_USE="sqlite?"\n',
|
||||
'PYPI_NO_NORMALIZE=1\n',
|
||||
'PYPI_PN="homeassistant"\n',
|
||||
'inherit distutils-r1 pypi readme.gentoo-r1 systemd\n',
|
||||
'\n',
|
||||
'MY_PN=homeassistant\n',
|
||||
'\n',
|
||||
'if [[ ${PV} == *9999* ]]; then\n',
|
||||
' inherit git-r3\n',
|
||||
' EGIT_REPO_URI="https://github.com/home-assistant/core.git"\n',
|
||||
' EGIT_BRANCH="dev"\n',
|
||||
' S="${WORKDIR}/homeassistant-full-9999/"\n',
|
||||
'else\n',
|
||||
' MY_PV=${PV/_beta/b}\n',
|
||||
' MY_P=${MY_PN}-${MY_PV}\n',
|
||||
' SRC_URI="$(pypi_sdist_url)\n',
|
||||
' https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"\n',
|
||||
'fi\n',
|
||||
'\n',
|
||||
'DESCRIPTION="Open-source home automation platform running on Python."\n',
|
||||
'HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"\n',
|
||||
'\n',
|
||||
'LICENSE="Apache-2.0"\n',
|
||||
'SLOT="0"\n',
|
||||
'KEYWORDS="amd64 arm arm64 x86"\n',
|
||||
]
|
||||
ebuild_file.writelines(lines)
|
||||
|
||||
if minimal:
|
||||
ebuild_file.write('IUSE="+sqlite"\n')
|
||||
ebuild_file.write('RESTRICT="!test? ( test )"\n')
|
||||
ebuild_file.write('distutils_enable_tests pytest\n')
|
||||
|
||||
# parse arguments
|
||||
# accepted parameter: version
|
||||
argp = argparse.ArgumentParser(description='Generate ebuild')
|
||||
argp.add_argument('version', nargs='?')
|
||||
args = argp.parse_args()
|
||||
|
||||
# check the version
|
||||
if args.version is None:
|
||||
url = 'https://api.github.com/repos/home-assistant/core/releases/latest'
|
||||
else:
|
||||
url = 'https://api.github.com/repos/home-assistant/core/releases/tags/' + args.version.replace('_beta', 'b')
|
||||
|
||||
json_data = fetch_json(url)
|
||||
remote_version = json_data['tag_name']
|
||||
|
||||
ebuild_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
ebuild = os.path.basename(ebuild_dir) + '-' + remote_version.replace('b', '_beta')
|
||||
ebuild_path = ebuild_dir + '/' + ebuild + '.ebuild'
|
||||
|
||||
# generate a new revision if we are re-generating an ebuild
|
||||
rev = 0
|
||||
while os.path.isfile(ebuild_path := ebuild_dir + '/' + ebuild + ('-r' + str(rev) if rev > 0 else '') + '.ebuild'):
|
||||
rev += 1
|
||||
|
||||
# write empty ebuild so we can unpack
|
||||
write_header(ebuild_path, True)
|
||||
|
||||
# generate the new ebuild manifest
|
||||
subprocess.run(['ebuild', ebuild_path, 'clean', 'digest', 'unpack'])
|
||||
|
||||
# core integrations (cf. bootstrap.py)
|
||||
core_integrations = ['homeassistant', 'persistent_notification', 'analytics', 'application_credentials', 'automation', 'backup', 'counter', 'frontend', 'hardware', 'input_boolean', 'input_button', 'input_datetime', 'input_number', 'input_select', 'input_text', 'logger', 'network', 'person', 'scene', 'schedule', 'script', 'system_health', 'tag', 'timer', 'zone']
|
||||
|
||||
# requirements (key: requirement name) => req, use
|
||||
requirements = {}
|
||||
# definition of directories
|
||||
PORTAGE_TMPDIR = '/var/tmp'
|
||||
portage_coredir = PORTAGE_TMPDIR + '/portage/app-misc/' + ebuild + ('-r' + str(rev) if rev > 0 else '') + '/work/core-' + remote_version.replace('b', '_beta')
|
||||
portage_hassdir = PORTAGE_TMPDIR + '/portage/app-misc/' + ebuild + ('-r' + str(rev) if rev > 0 else '') + '/work/homeassistant-' + remote_version.replace('b', '_beta')
|
||||
|
||||
# iterate core requirements
|
||||
with open(portage_coredir + '/requirements.txt', 'r') as reqs:
|
||||
for req in reqs:
|
||||
try:
|
||||
sr = Requirement(req)
|
||||
# cf script/gen_requirements_all.py: do not hard pin these requirements
|
||||
if sr.name in ['urllib3']:
|
||||
newspec = []
|
||||
for s in sr.specifier:
|
||||
if s.operator not in ['<']:
|
||||
newspec.append(str(s))
|
||||
sr.specifier = SpecifierSet(','.join(newspec))
|
||||
|
||||
requirements[sr.name] = {'req': sr, 'use': ['core']}
|
||||
except InvalidRequirement:
|
||||
pass
|
||||
|
||||
with open(portage_coredir + '/requirements_test_pre_commit.txt', 'r') as reqs:
|
||||
for req in reqs:
|
||||
try:
|
||||
sr = Requirement(req)
|
||||
requirements[sr.name] = {'req': sr, 'use': ['test']}
|
||||
except InvalidRequirement:
|
||||
pass
|
||||
|
||||
with open(portage_coredir + '/requirements_test.txt', 'r') as reqs:
|
||||
for req in reqs:
|
||||
try:
|
||||
sr = Requirement(req)
|
||||
requirements[sr.name] = {'req': sr, 'use': ['test']}
|
||||
except InvalidRequirement:
|
||||
pass
|
||||
|
||||
# iterate integration requirements
|
||||
integrations = {}
|
||||
for integration in os.listdir(portage_hassdir + '/homeassistant/components'):
|
||||
if os.path.isfile(portage_hassdir + '/homeassistant/components/' + integration + '/manifest.json'):
|
||||
with open(portage_hassdir + '/homeassistant/components/' + integration + '/manifest.json', 'r') as file:
|
||||
manifest = json.load(file)
|
||||
if integration not in integrations:
|
||||
integrations[integration] = {'core': (integration in core_integrations)}
|
||||
if 'name' in manifest:
|
||||
integrations[integration]['name'] = manifest['name']
|
||||
integrations[integration]['disabled'] = ('disabled' in manifest)
|
||||
if 'dependencies' in manifest:
|
||||
integrations[integration]['deps'] = manifest['dependencies']
|
||||
# dependencies of core dependencies ... become core as well
|
||||
if integrations[integration]['core']:
|
||||
for dep in integrations[integration]['deps']:
|
||||
if dep in integrations:
|
||||
integrations[dep]['core'] = True
|
||||
else:
|
||||
integrations[dep] = {'core': True}
|
||||
if 'requirements' in manifest and len(manifest['requirements']) > 0:
|
||||
integrations[integration]['reqs'] = []
|
||||
for req in manifest['requirements']:
|
||||
try:
|
||||
sr = Requirement(req)
|
||||
integrations[integration]['reqs'].append(sr)
|
||||
if sr.name in requirements:
|
||||
requirements[sr.name]['req'].specifier &= sr.specifier
|
||||
requirements[sr.name]['use'].append(integration)
|
||||
else:
|
||||
requirements[sr.name] = {'req': sr, 'use': [integration]}
|
||||
except InvalidRequirement:
|
||||
pass
|
||||
|
||||
with open(portage_hassdir + '/homeassistant/package_constraints.txt', 'r') as reqs:
|
||||
for req in reqs:
|
||||
try:
|
||||
sr = Requirement(req)
|
||||
if sr.name in requirements:
|
||||
# check and possibly rewrite to match with the ebuild
|
||||
requirements[sr.name]['use'].append('REWRITE')
|
||||
requirements[sr.name]['package_constraint'] = req.rstrip()
|
||||
else:
|
||||
# generate a blocker for the lower or equal version
|
||||
requirements[sr.name] = {'req': sr, 'use': ['BLOCKER']}
|
||||
except InvalidRequirement:
|
||||
pass
|
||||
|
||||
# add manual requirements, 1000000000.0.0 means "no version" in this context
|
||||
# databases
|
||||
integrations['mysql'] = {'core': False, 'reqs': [Requirement('mysqlclient>=1.4.0')]}
|
||||
integrations['postgres'] = {'core': False, 'reqs': [Requirement('psycopg>3.1.15')]}
|
||||
integrations['sqlite'] = {'core': False, 'reqs': []}
|
||||
integrations['default_config']['deps'].append('sqlite')
|
||||
# extra features
|
||||
integrations['cli'] = {'core': False, 'reqs': [Requirement('home-assistant-cli==1000000000.0.0')]}
|
||||
integrations['socat'] = {'core': False, 'reqs': [Requirement('socat==1000000000.0.0')]}
|
||||
integrations['ssl'] = {'core': False, 'reqs': [Requirement('haproxy[ssl]==1000000000.0.0')]}
|
||||
integrations['systemd'] = {'core': False, 'reqs': []}
|
||||
|
||||
### write ebuild
|
||||
rewrites = {}
|
||||
write_header(ebuild_path)
|
||||
with open(ebuild_path, 'a') as ebuild_file:
|
||||
# header written above
|
||||
|
||||
# write IUSE
|
||||
iuse = []
|
||||
for integration in sorted(integrations.keys()):
|
||||
# core deps should not have use flags
|
||||
# only generate use flags for integrations that have external dependencies
|
||||
if not integrations[integration]['core'] and 'reqs' in integrations[integration]:
|
||||
# soft add the default_integration use flags
|
||||
iuse.append(('+' if integration in integrations['default_config']['deps'] else '') + integration)
|
||||
ebuild_file.write('IUSE="' + ' '.join(iuse) + '"\n')
|
||||
|
||||
# write RESTRICT
|
||||
lines = [
|
||||
'RESTRICT="!test? ( test )"\n',
|
||||
'\n',
|
||||
'# external deps\n',
|
||||
'RDEPEND="${PYTHON_DEPS}\n',
|
||||
' acct-group/${MY_PN} acct-user/${MY_PN}\n',
|
||||
' app-admin/logrotate"\n',
|
||||
'# make sure no conflicting main ebuild is installed\n',
|
||||
'RDEPEND="${RDEPEND}\n',
|
||||
' !app-misc/homeassistant-min\n',
|
||||
' !app-misc/homeassistant"\n',
|
||||
'\n'
|
||||
]
|
||||
ebuild_file.writelines(lines)
|
||||
|
||||
# generate core RDEPEND
|
||||
ebuild_file.write('# core requirements (cf requirements.txt)\nRDEPEND="${RDEPEND}')
|
||||
for req in sorted(requirements.keys(), key=str.casefold):
|
||||
core_req = 'core' in requirements[req]['use']
|
||||
# if requirements are used by integrations, the version needs to match strict,
|
||||
# else, the version can match loosely
|
||||
strict = int(not (set(requirements[req]['use']) == (set(requirements[req]['use']) & set(['core', 'test', 'REWRITE']))))
|
||||
# rewrite non-strict requirements
|
||||
if 'REWRITE' in requirements[req]['use'] and not strict:
|
||||
old = requirements[req]['package_constraint']
|
||||
new = old.replace('==', '>=')
|
||||
if old != new:
|
||||
rewrites[old] = new
|
||||
for use in requirements[req]['use']:
|
||||
try:
|
||||
core_req |= integrations[use]['core']
|
||||
except KeyError:
|
||||
pass
|
||||
if core_req:
|
||||
sr = requirements[req]['req']
|
||||
rdep = []
|
||||
for item in sorted(sr.specifier, key=by_version):
|
||||
rdep.append(get_package(sr.name, item.operator, item.version, sr.extras, strict))
|
||||
ebuild_file.write('\n ' + ' '.join(rdep))
|
||||
ebuild_file.write('"\n\n')
|
||||
|
||||
# generate blockers
|
||||
ebuild_file.write('# blockers (cf package_constraints.txt, but (usually) inversed)\nRDEPEND="${RDEPEND}')
|
||||
for req in sorted(requirements.keys(), key=str.casefold):
|
||||
if 'BLOCKER' in requirements[req]['use']:
|
||||
sr = requirements[req]['req']
|
||||
rdep = []
|
||||
for item in sorted(sr.specifier, key=by_version):
|
||||
rdep.append(get_package(sr.name, item.operator, item.version, sr.extras, -1))
|
||||
ebuild_file.write('\n ' + ' '.join(rdep))
|
||||
ebuild_file.write('"\n\n')
|
||||
|
||||
# generate REQUIRED_USE
|
||||
ebuild_file.write('# use dependencies (cf manifest.json dependencies)\nREQUIRED_USE="')
|
||||
# require at lease one database engine
|
||||
ebuild_file.write('\n || ( sqlite postgres mysql )')
|
||||
for integration in sorted(integrations.keys()):
|
||||
if not integrations[integration]['core'] and 'reqs' in integrations[integration] and 'deps' in integrations[integration]:
|
||||
rdep = []
|
||||
for req in sorted(integrations[integration]['deps']):
|
||||
if not integrations[req]['core'] and 'reqs' in integrations[req]:
|
||||
rdep.append(req)
|
||||
if len(rdep) > 0:
|
||||
ebuild_file.write('\n ' + integration + '? ( ' + ' '.join(rdep) + ' )')
|
||||
ebuild_file.write('"\n\n')
|
||||
|
||||
# generate integrations RDEPEND
|
||||
ebuild_file.write('# module requirements from useflags\nRDEPEND="${RDEPEND}')
|
||||
for integration in sorted(integrations.keys()):
|
||||
if not integrations[integration]['core'] and 'reqs' in integrations[integration] and len(integrations[integration]['reqs']) > 0:
|
||||
rdep = []
|
||||
for req in sorted(integrations[integration]['reqs'], key=lambda req: req.name):
|
||||
for item in sorted(req.specifier, key=by_version):
|
||||
rdep.append(get_package(req.name, item.operator, item.version, req.extras, 1))
|
||||
ebuild_file.write('\n ' + integration + '? ( ' + ' '.join(rdep) + ' )')
|
||||
ebuild_file.write('"\n\n')
|
||||
|
||||
# generate BDEPEND (see pyproject.toml)
|
||||
lines = [
|
||||
'BDEPEND="${RDEPEND}\n',
|
||||
' >=dev-python/setuptools-69.2.0[${PYTHON_USEDEP}]\n',
|
||||
' >=dev-python/wheel-0.43.0[${PYTHON_USEDEP}]\n',
|
||||
' test? (\n',
|
||||
]
|
||||
ebuild_file.writelines(lines)
|
||||
for req in sorted(requirements.keys(), key=str.casefold):
|
||||
test_req = 'test' in requirements[req]['use']
|
||||
if test_req:
|
||||
sr = requirements[req]['req']
|
||||
rdep = []
|
||||
for item in sorted(sr.specifier, key=by_version):
|
||||
rdep.append(get_package(sr.name, item.operator, item.version, sr.extras, 0))
|
||||
ebuild_file.write(' ' + ' '.join(rdep) + '\n')
|
||||
ebuild_file.write(' )"\n\n')
|
||||
|
||||
lines = [
|
||||
'src_prepare() {\n',
|
||||
' if use test ; then\n',
|
||||
' cp --no-preserve=mode --recursive ${WORKDIR}/core-${MY_PV}/tests ${S}\n',
|
||||
' chmod u+x ${S}/tests/auth/providers/test_command_line_cmd.sh\n',
|
||||
' fi\n',
|
||||
]
|
||||
ebuild_file.writelines(lines)
|
||||
|
||||
# perform rewrites of homeassistant/package_constraints.txt
|
||||
for old, new in rewrites.items():
|
||||
ebuild_file.write(' sed -e "s|' + old + '|' + new + '|" -i homeassistant/package_constraints.txt || die\n')
|
||||
|
||||
lines = [
|
||||
'\n',
|
||||
' distutils-r1_src_prepare\n',
|
||||
'}\n',
|
||||
'\n',
|
||||
'INSTALL_DIR="/opt/${MY_PN}"\n',
|
||||
'\n',
|
||||
'DISABLE_AUTOFORMATTING=1\n',
|
||||
'DOC_CONTENTS="\n',
|
||||
'The HA interface listens on port 8123\n',
|
||||
'hass configuration is in: /etc/${MY_PN}\n',
|
||||
'daemon command line arguments are configured in: /etc/conf.d/${MY_PN}\n',
|
||||
'logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log\n',
|
||||
'The sqlite db is by default in: /etc/${MY_PN}\n',
|
||||
'support at https://git.edevau.net/onkelbeh/HomeAssistantRepository\n',
|
||||
'"\n',
|
||||
'\n',
|
||||
'DOCS="README.rst"\n',
|
||||
'\n',
|
||||
'python_install_all() {\n',
|
||||
' dodoc ${DOCS}\n',
|
||||
' distutils-r1_python_install_all\n',
|
||||
' keepdir "$INSTALL_DIR"\n',
|
||||
' keepdir "/etc/${MY_PN}"\n',
|
||||
' fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"\n',
|
||||
' keepdir "/var/log/${MY_PN}"\n',
|
||||
' fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"\n',
|
||||
' newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"\n',
|
||||
' newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"\n',
|
||||
' use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"\n',
|
||||
' dobin "${FILESDIR}/hasstest"\n',
|
||||
' if use socat ; then\n',
|
||||
' newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"\n',
|
||||
' sed -i -e \'s/# need socat-zwave/need socat-zwave/g\' "${D}/etc/init.d/${MY_PN}" || die\n',
|
||||
' fi\n',
|
||||
' if use mqtt ; then\n',
|
||||
' sed -i -e \'s/# need mosquitto/need mosquitto/g\' "${D}/etc/init.d/${MY_PN}" || die\n',
|
||||
' fi\n',
|
||||
' insinto /etc/logrotate.d\n',
|
||||
' newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"\n',
|
||||
' readme.gentoo_create_doc\n',
|
||||
'}\n',
|
||||
'\n',
|
||||
'pkg_postinst() {\n',
|
||||
' readme.gentoo_print_elog\n',
|
||||
'}\n',
|
||||
'\n',
|
||||
'distutils_enable_tests pytest\n',
|
||||
]
|
||||
ebuild_file.writelines(lines)
|
||||
|
||||
# clean up
|
||||
subprocess.run(['ebuild', ebuild_path, 'clean', 'digest'])
|
||||
1283
app-misc/homeassistant-full/homeassistant-full-2024.11.3.ebuild
Normal file
1283
app-misc/homeassistant-full/homeassistant-full-2024.11.3.ebuild
Normal file
File diff suppressed because one or more lines are too long
37
dev-python/HAP-python/HAP-python-4.9.2.ebuild
Normal file
37
dev-python/HAP-python/HAP-python-4.9.2.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
inherit distutils-r1 pypi
|
||||
DESCRIPTION="HomeKit Accessory Protocol implementation in python"
|
||||
HOMEPAGE="https://github.com/ikalchev/HAP-python https://pypi.org/project/HAP-python/"
|
||||
SRC_URI="https://github.com/ikalchev/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="dev-python/async-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/chacha20poly1305-reuseable[${PYTHON_USEDEP}]
|
||||
>=dev-python/orjson-3.7.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/zeroconf-0.36.2[${PYTHON_USEDEP}]
|
||||
dev-python/h11[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,3 +1,5 @@
|
||||
DIST HAP-python-4.9.1.tar.gz 264096 BLAKE2B 6ce4f046e118c93469bba34019fe74a38a023260d0d01e34663a53eef863e8534e78ffdb88d889478d3f84283d4f7a6e5f7fe0a2cd61c68e284dd3a29a0b90f0 SHA512 2fff1641a53d67e5f15b4ce9c84b518a6f97e9f167ebcfe98d1b87794eda6de464b790fef5123b0ed08496512211e0ac71a6f7564513655c08194947d1779913
|
||||
DIST HAP-python-4.9.2.tar.gz 314287 BLAKE2B 06952dfb3ec63e2fee3da62b08f05f2d2ca39b7834c2685627a25506f22002deca214811812710f5ce69d99f8a9c4ff2bfb08d32853575043aee77cb4012560a SHA512 e21f49e841707e876c29ede047c9eecc343869fab5cfba29f1a5f67dcb9425a306f1e9659deb6b38cd32687adfb792981ba047023f4983e7362481532d63ef6b
|
||||
EBUILD HAP-python-4.9.1.ebuild 948 BLAKE2B 58ad8d1b93cd3f276b8f369ff9b01c31ce825b1b4cab0d5b706e8807ba869b23526d5902b46207def593f21274fe09f6a276132058e9dbf78f081ab1fb9cdf3e SHA512 8888486d6c3f3c38ccc1fb8d145fc11b14a25cbd2213265f06a1ee9eb4f6a548b8d85fdc76d69b6a1ac7b29f0a1b3a8ae7e6c6768c933a8d1d3ec1c5efd362e3
|
||||
EBUILD HAP-python-4.9.2.ebuild 1002 BLAKE2B 318d12df6e364a5a0f0926b226583d55cdedad2af93240c002eb4693bbc796f0edada4aeb2219f55723726a528ffb3dd15e10ac16046e979e4a67a648429815d SHA512 0b33e251f62373ece2291efe6dea2c30836db80858c99c5e9243da33285f1a177a03c72c2986693418b8f4b6938f00c357ab9752e7d28aed0a1b17814aab9572
|
||||
MISC metadata.xml 390 BLAKE2B 33ecbfd8a7cb9957eaad9d7ccfe2a013e682192a1a8f10a963b81a351eb25c5ece04f433e7ea8769a9f29861e796367114fee54d393c0109f0fa00e5f34e00df SHA512 246969e9a7f3db5527f2ee641713d318878a213903c5fc9556ca8f01d3bf3cc2bb644650740022b9ce01e8a1f89cd7e9053184eac2d4a1cd55b6677baed2cb39
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
DIST bluetooth_adapters-0.19.2.tar.gz 17149 BLAKE2B 4a858fc67b9b62fb7fc29d4e726061e78b7887bf1769a4a0cffdd632ecb4fed68636a316f7aa6d0c3cf5b6c3f0e40274d253cbb6f96fe8c4c28a675d090b32a1 SHA512 42c7de15858e14c42920941d23ae08c4faa6683fb41757d5222ab6b0010c47b2fd887c118f02202a9bf563c947b7abe27f6ef6dbf03f75391cd250732d70405f
|
||||
DIST bluetooth_adapters-0.19.4.tar.gz 17166 BLAKE2B 1780e61c71badb37d943f5999bce89ba604258213a502be50a93feeb20ec1c349e3597ca66420a22589fde34886f7dbdc599aabc58fe1f4cfdc51887abc7a6c3 SHA512 296f0478feb764bb5f54d6a579b4ba239b6c77c9f963d228bd7488765c134c3ac6a735e689a511060f46d4c3d6d25c3d267df208242c4271d572cc8a0330b215
|
||||
DIST bluetooth_adapters-0.20.0.tar.gz 17160 BLAKE2B d5a7746a6cc02fddbaef777e65ec8a9dc19aeeb64b62aac75246bdd31adddd86d9988d9ff9ce0b18f4ba991e832149a9f1ebf658de216e1d1f090d0c89922a08 SHA512 42adc52487c10cb7ebb73f9811747040691eafc16d2afdd0e63e7a9eab9eeb9776f06d932042bb1d5c58ae331998abe6952d39a86c69a326198e64a6c84cb142
|
||||
DIST bluetooth_adapters-0.20.2.tar.gz 17303 BLAKE2B f587e44d1483f0c2ba0fdefc4e2573853420c627a03b90086c86256f0ed2f1f3caac85811b962e446e437270afa1905e8335db30000020bc8db556db6627826f SHA512 3488985ed059f4a53e9bfe2136b9168f39cec9e94228461f057a959903b00c897c0c8bb4ab05163bc87481bd20bc94003e9866f1b94b3cc2dea9d1af975ca695
|
||||
EBUILD bluetooth-adapters-0.19.2.ebuild 969 BLAKE2B 510873ba622fd00f67fb05153dd7b67e124d8e7b5dcf2dbf559fb456491d916dd726b640e89806d998126560bb21345211ef7739d88edff90f7ecb90987e0df6 SHA512 2aafd78ac1fe54479cbb616432c47e3f28f99c57563ecac7b2264c9d4f935b31a93700e04932d6720dc702872a7e873eacaf8cb91b5778aae1681784f07377f4
|
||||
EBUILD bluetooth-adapters-0.19.4.ebuild 969 BLAKE2B 510873ba622fd00f67fb05153dd7b67e124d8e7b5dcf2dbf559fb456491d916dd726b640e89806d998126560bb21345211ef7739d88edff90f7ecb90987e0df6 SHA512 2aafd78ac1fe54479cbb616432c47e3f28f99c57563ecac7b2264c9d4f935b31a93700e04932d6720dc702872a7e873eacaf8cb91b5778aae1681784f07377f4
|
||||
EBUILD bluetooth-adapters-0.20.0.ebuild 969 BLAKE2B 510873ba622fd00f67fb05153dd7b67e124d8e7b5dcf2dbf559fb456491d916dd726b640e89806d998126560bb21345211ef7739d88edff90f7ecb90987e0df6 SHA512 2aafd78ac1fe54479cbb616432c47e3f28f99c57563ecac7b2264c9d4f935b31a93700e04932d6720dc702872a7e873eacaf8cb91b5778aae1681784f07377f4
|
||||
EBUILD bluetooth-adapters-0.20.2.ebuild 969 BLAKE2B 510873ba622fd00f67fb05153dd7b67e124d8e7b5dcf2dbf559fb456491d916dd726b640e89806d998126560bb21345211ef7739d88edff90f7ecb90987e0df6 SHA512 2aafd78ac1fe54479cbb616432c47e3f28f99c57563ecac7b2264c9d4f935b31a93700e04932d6720dc702872a7e873eacaf8cb91b5778aae1681784f07377f4
|
||||
MISC metadata.xml 538 BLAKE2B 6b3ebb451f2959616a09cdb1e3bf587ea35ec9edef332d3e70919e888b92010bef954fcb6778b7efbe4b7afcb3e5f30ec895a225f15c024dbb380c62c9cebba6 SHA512 d8d0c289f2b9c125580ad946a67ded8bf46064a5b047c8194e782f20e6833c849ccc2fa4f718c39bc2832b24f4535d9775ca3d875941424dc842aed1f1d9202e
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Tools to enumerate and find Bluetooth Adapters"
|
||||
HOMEPAGE="https://github.com/bluetooth-devices/bluetooth-adapters https://pypi.org/project/bluetooth-adapters/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep 'dev-python/async-timeout[${PYTHON_USEDEP}]' python3_10)
|
||||
>=dev-python/dbus-fast-1.21.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/bleak-0.21.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/usb-devices-0.4.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/aiooui-0.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/uart-devices-0.1.0[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,3 +1,5 @@
|
||||
DIST dataclasses_json-0.6.3.tar.gz 31777 BLAKE2B b00d371afe211898f8a6c7fe7aaa3bafe6325e0ebb4d090500f083156ff32313a357f5de5fe76dca9262d5318285192919874927cef66b7709d3706a9caf6da4 SHA512 6dd3354dd2bca21711c4e6da7c3b67fa9e61ea35306ad0a394ea5cd1de717532c5456138dc06da634878da19d3b25698346be317619006c8a943cd5a897c66bb
|
||||
DIST dataclasses_json-0.6.7.tar.gz 32227 BLAKE2B c0ec852de56d30ab5f1287e4dd716a4328f1b0f01f057a0671cf21873face4469224cf3647c3b01d9582b975f62789c1f7b4997ceb35956419a843c44f0b6f8f SHA512 1afa22b2bbdee45e17e63c627a147f94eb1a4aabbd7f25ad65e050eb0ab7f3ce34714dd43c6f73a9b25c41723191f1211a98d739478fcf25cb900d8e269b36f4
|
||||
EBUILD dataclasses-json-0.6.3.ebuild 994 BLAKE2B 7cc0086639cf5d562700d47691152992fa053f00db17fdc2d0fa55aa877dc20e887d833267e70081cd9ac09783ced34b8c124f71d617b0a07e413bd655b77eeb SHA512 9346707b4501646f65735d2efcd730cd29c308930cbc9e7ae8919539e0255b409f8a6ca4946ab3f2e8006c5cb1e896df8447156af7252f7caa7696a32fea72dc
|
||||
EBUILD dataclasses-json-0.6.7.ebuild 1011 BLAKE2B df3f555639861d33846b16f2cfa5ae2891d9c10dfb97b49ff920c1ab7f05350a2d38a41ffb4537f6c206b4577fcd8b07ea7730debe3a68601e3bf165586b214e SHA512 5173150b2434e2e04b55c0396ec749d308e383fb910974e5048fddf87dc2c9af55083f323b4e0a58738477ee85a6024ac35f022ed881164437e4100573cd50bd
|
||||
MISC metadata.xml 529 BLAKE2B 0ec409dc3a7e36902ec6f872d56922d45e2c44541ff017e4015327cae73c5841eb91bd8c6e06f65af193a85fba8b426ca389aba792c6ac58076f02e56a29e70a SHA512 4a5c899745028550e84baead6ead2f8448b39e711b0be9955c1f6b5eff68871d3733608e0edc699df407e30928e20fa8cd068c54ddec1680fe2cf44c1afa16aa
|
||||
|
||||
40
dev-python/dataclasses-json/dataclasses-json-0.6.7.ebuild
Normal file
40
dev-python/dataclasses-json/dataclasses-json-0.6.7.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Easily serialize dataclasses to and from JSON."
|
||||
HOMEPAGE="https://github.com/lidatong/dataclasses-json https://pypi.org/project/dataclasses-json/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/typing-inspect-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/marshmallow-3.18.0[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# remove unsupported dynamic-versioning plugin
|
||||
sed 's/0.0.0/${PV}/g' -i pyproject.toml || die
|
||||
sed 's/, "poetry-dynamic-versioning"//g' -i pyproject.toml || die
|
||||
sed 's/poetry_dynamic_versioning.backend/poetry.core.masonry.api/g' -i pyproject.toml || die
|
||||
eapply_user
|
||||
}
|
||||
@@ -5,5 +5,6 @@ DIST dbus_fast-2.24.3.tar.gz 69620 BLAKE2B a642e4e578d9c0d984af458021885c5617208
|
||||
EBUILD dbus-fast-2.21.1.ebuild 636 BLAKE2B 1a027e1f9ef26231a00134a41d495b08039328df6621bacfd49522f4873745219048d649e5b0e1e00dae73236190c849f6883f1d9cc4a2a735f5958f7930a376 SHA512 10241fb5605e60ff247b5fe839c784b3e5bae5a8f273104048f7ae06e1dcc86b592b8b9ed7ef13f6bc65b87dada980dda492158675de4e9b99c9313f5fcc19d3
|
||||
EBUILD dbus-fast-2.21.3.ebuild 682 BLAKE2B 7288e77838b7a09df8f585a1a12c163460642f3b66ed58a514a638e092de02bf905c755a3e70c9c469d80bf1fe33318d629a31db39ffc442980f619184cf50fa SHA512 4ff0a6a0f6103a1761b2c3fc698688b4eca38e65d41e5386c02f72c93162389a3be05ffc2a2d8a2b118d5d08182aa45593f2c817b83d9aceb850798ab285b556
|
||||
EBUILD dbus-fast-2.24.0.ebuild 682 BLAKE2B 7288e77838b7a09df8f585a1a12c163460642f3b66ed58a514a638e092de02bf905c755a3e70c9c469d80bf1fe33318d629a31db39ffc442980f619184cf50fa SHA512 4ff0a6a0f6103a1761b2c3fc698688b4eca38e65d41e5386c02f72c93162389a3be05ffc2a2d8a2b118d5d08182aa45593f2c817b83d9aceb850798ab285b556
|
||||
EBUILD dbus-fast-2.24.3-r1.ebuild 698 BLAKE2B 9287b2fd3fd35dcfeed12bef679105f2497be127b2f19403557409328922ea9f92131903f85540d22ea630ba98c22c018502ef311fe0e4feca05c929fa2a6e0f SHA512 8c0c63e94999567db30b7840be4558f39b2b4aecf56f6d5cdc268576c665fa3b1e445c2781276cc42bab1e52db11eecc2867d7561d2e0c7d0bdcc3722f4868d3
|
||||
EBUILD dbus-fast-2.24.3.ebuild 682 BLAKE2B 7288e77838b7a09df8f585a1a12c163460642f3b66ed58a514a638e092de02bf905c755a3e70c9c469d80bf1fe33318d629a31db39ffc442980f619184cf50fa SHA512 4ff0a6a0f6103a1761b2c3fc698688b4eca38e65d41e5386c02f72c93162389a3be05ffc2a2d8a2b118d5d08182aa45593f2c817b83d9aceb850798ab285b556
|
||||
MISC metadata.xml 536 BLAKE2B a40db9bdf197d24d699a8bd057de139bd22e971e7c65d63761158a2a2ffc7c609925d93a4a4249d09e5290a2102fde9e8d72569ebf163a78aa108a3221d14d25 SHA512 957a46de989121f016a5c78ae73569e420b030265e1bc8568452171374c6727a5f1fc93c6c97ac95976d1541907c5676b4032d3f0fcd1b9dad1c57e4c72f50b7
|
||||
|
||||
29
dev-python/dbus-fast/dbus-fast-2.24.3-r1.ebuild
Normal file
29
dev-python/dbus-fast/dbus-fast-2.24.3-r1.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1 pypi
|
||||
DESCRIPTION="A faster version of dbus-next"
|
||||
HOMEPAGE="https://github.com/bluetooth-devices/dbus-fast https://pypi.org/project/dbus-fast/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-python/cython-3[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,5 +1,6 @@
|
||||
DIST ephem-4.1.5.tar.gz 1256147 BLAKE2B 25d4c1190ecd677f8d29f944ad867332f28850d788b2e611f5bf4584a106af04901ad0cfe42a859f772ce4b4286d8668cb0efe579f913d868ed42c60960219d5 SHA512 2ee4a3382e33b6aa629473792821db7cc1c1534d0f6f0ae0a0d04a8e9310817c17d0be0ee4ba6e91e0de19564d301b07e78c0651991c6c4b4abb8755d6c3b988
|
||||
DIST ephem-4.1.6.tar.gz 1255942 BLAKE2B 4b0336a6462158bd60764e640c0f4bd43978170d3f8c457aba093f9b8bfa2775c691ac3c4931d522facfbfdbba3fbf2ba11d4e8a8b8794cf376979679b5c3e8b SHA512 06bd6235389bb8d660529f636dc1a1a0e366dc1d5a6cd93e5dfc523ebd01d0fb3ca3c963ad801dba0de8022378ff76fd48e82bac62a7686772f6ae12ddffb3aa
|
||||
EBUILD ephem-4.1.5.ebuild 585 BLAKE2B 03f143ca81508891c4c37dbb5eff6e10ebe0569cc8554bdb8a6b70af77a479fd68bea1fb226898a7d3b0064b074d0c23a0285bea2651add6626a318030fafda3 SHA512 676d6a1c678957c272af142e3a2d34fb75e491528a5d9ef41ac767600f3c5544e81e465158e38a366521cbb3816555ad610721d6b6e03977171e792d2a0fc070
|
||||
EBUILD ephem-4.1.6-r1.ebuild 541 BLAKE2B bab4f645952499f696493da86030650c597e68fff27dd3d03c77a66e48dd0ab68789b05011d0e9f1d4cd85f06c991d7a9e930db88e78fcc08619fbafedac2fae SHA512 1bf5ad3125a83eb48130b7ec71084f0a92b7d286429015fc311e43a538d02cb76c38060d2b51e4c5a8f94144ced3c33a4ac4826f8b731e54e3df36a4918ef6da
|
||||
EBUILD ephem-4.1.6.ebuild 525 BLAKE2B de9acf4bde4c9eeb757639969b449eb3430c27390e2ab56c779ae5bc7dd2f79c8731238b37f494dad25ca2cea7ea6fc4286e19468d50f6d878c43c69b472f087 SHA512 10f544906944d06b865bdacb8e4862562a67542b293c17be4c0b7490bd2d99b5ac58bd589bc96b0f686da1ce38e029ae557877d26dea419617c9425faf953118
|
||||
MISC metadata.xml 518 BLAKE2B 86250a5ed1fe8931cda7b730feb0894680bc16982d2b3a8838312d0580556bdbf6c55043d758ea58e5e58fabdc68dcbc15193c67d388f5d1c706f435daadc06f SHA512 dcbd0dd3960e3eeb360d5e3a3dd0aba203358a73700d176b61a421ab05366ef853fc418d6462e8a3c0e802b018139d17d3a4727526b7111aee3ec801349fc584
|
||||
|
||||
22
dev-python/ephem/ephem-4.1.6-r1.ebuild
Normal file
22
dev-python/ephem/ephem-4.1.6-r1.ebuild
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Compute positions of the planets and stars"
|
||||
HOMEPAGE="http://rhodesmill.org/pyephem/ https://github.com/brandon-rhodes/pyephem/ https://pypi.org/project/ephem/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,5 +1,7 @@
|
||||
DIST 3.2.0.gh.tar.gz 10121 BLAKE2B 25c15d5a66c373e5f374b7bf8fd1aa0207f82260207fb32fed03ace6aece8d4f01ca68cf84648933762c8c9bbc81ec2301ed7ed1c1172f71701538b13db027d3 SHA512 6d5beb59e5d6460cee98f845f631cb2b6c55cbb9a55f879345e9061ac80e5d80f51b9122f60bda318a2bbda4320a889f6ae3359d79bd2d42419da3299dcb9874
|
||||
DIST 3.2.1.gh.tar.gz 10122 BLAKE2B a3af26d3aff7eccf9be6e86e85644abfa07926be48512ca3348ec4c6210f9391604f9961f5b5b02f14fe978094f9f858bc707e526bbb99c897a8775d74977638 SHA512 bcd3cd244821bda6ad9e5360de599e68256221a558f34669e933551e0a0390b47b674434528235b82c97f668bcccb946235e93f40944d91e5aa1b2e99bfc875f
|
||||
DIST 3.2.2.gh.tar.gz 10117 BLAKE2B a666051a0d1ed8eb6fdb5ef69041c99bd209d0da5a53fb6a4cca1214ac12b7c91920cb61e66f4de6fa3c61ba926e834bbd804a98cffddccc64dc99ae254349b5 SHA512 60068817986624902d305476cb01e5288ce68af50da8b3204f3e19554cf6bb0f25ea2696ec43786749d8dfd60a6e2d67d425104ef80cba7788d130535f7ac8ed
|
||||
EBUILD ha-ffmpeg-3.2.0.ebuild 635 BLAKE2B 82d198002d215402c971c9abc6e1c571febb2799174f18b9c7390f84ca5f3963b18858f9cc1402ff984502d739c631a2dfed459f1b1470607bdff990544dbece SHA512 b2463de059448f072a17cc0b4543b0e54bb1a2568e7316433ecf0a736a23ec1902bb869fd4019c2f204200e628c69f5cba6fccb766b10f5e425358132fc59154
|
||||
EBUILD ha-ffmpeg-3.2.1.ebuild 635 BLAKE2B 82d198002d215402c971c9abc6e1c571febb2799174f18b9c7390f84ca5f3963b18858f9cc1402ff984502d739c631a2dfed459f1b1470607bdff990544dbece SHA512 b2463de059448f072a17cc0b4543b0e54bb1a2568e7316433ecf0a736a23ec1902bb869fd4019c2f204200e628c69f5cba6fccb766b10f5e425358132fc59154
|
||||
EBUILD ha-ffmpeg-3.2.2.ebuild 635 BLAKE2B 82d198002d215402c971c9abc6e1c571febb2799174f18b9c7390f84ca5f3963b18858f9cc1402ff984502d739c631a2dfed459f1b1470607bdff990544dbece SHA512 b2463de059448f072a17cc0b4543b0e54bb1a2568e7316433ecf0a736a23ec1902bb869fd4019c2f204200e628c69f5cba6fccb766b10f5e425358132fc59154
|
||||
MISC metadata.xml 512 BLAKE2B 7dcd395009223c1948420fc114c7f127ebf6a8e746417231d6c4a261ff93684f178a75bfea1306a65b7e1867b956250992c1ccc68c4b247c65b80bd05cf76657 SHA512 0f5fa4ccfeef386a0c178b8dce549c438c30f03f65ed46b0322d34ced54657d2d110a197e609d882c4a6617c9616bf0d5bdded658be8269cb190f1e71e4f9587
|
||||
|
||||
22
dev-python/ha-ffmpeg/ha-ffmpeg-3.2.2.ebuild
Normal file
22
dev-python/ha-ffmpeg/ha-ffmpeg-3.2.2.ebuild
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A library that handling with ffmpeg for home-assistant"
|
||||
HOMEPAGE="https://github.com/home-assistant-libs/ha-ffmpeg https://pypi.org/project/ha-ffmpeg/"
|
||||
SRC_URI="https://github.com/home-assistant-libs/${PN}/archive/refs/tags/${PV}.tar.gz -> ${PV}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="dev-python/async-timeout[${PYTHON_USEDEP}]
|
||||
media-video/ffmpeg"
|
||||
@@ -5,5 +5,6 @@ DIST habluetooth-3.6.0.tar.gz 34001 BLAKE2B bb3cb089835c364c6ea349d0eb1ee2147ecb
|
||||
EBUILD habluetooth-2.8.1.ebuild 944 BLAKE2B 4ec6efb62f2ec1747702be4bdadf5ae104663ed03dfd1c5bd5582acd2447106166e35cbd5582660a85e92b999da0c4c77b6e5cff31b14ff4a7c17e6a1f6cdfca SHA512 f751415b3b56ebe99274ed3639accf7370172d467cc5d8b00b9a0974a07eeb9f69aeaa815553907d75a367fc17f23c1bee2cfec1d733a3de459bcaecb3da8e11
|
||||
EBUILD habluetooth-3.1.1.ebuild 944 BLAKE2B 4ec6efb62f2ec1747702be4bdadf5ae104663ed03dfd1c5bd5582acd2447106166e35cbd5582660a85e92b999da0c4c77b6e5cff31b14ff4a7c17e6a1f6cdfca SHA512 f751415b3b56ebe99274ed3639accf7370172d467cc5d8b00b9a0974a07eeb9f69aeaa815553907d75a367fc17f23c1bee2cfec1d733a3de459bcaecb3da8e11
|
||||
EBUILD habluetooth-3.4.0.ebuild 990 BLAKE2B 68f6922abf2db59928406c3256c9ca34d520fe1829bd65213441ddcdb43129103bc2e21fba8ceba61a297da3339d531a1701fe331d2a11ae22755449bdfca2b2 SHA512 51a5ba11da44a1ef8e8d9b7daf29cbd997c0874ff93fc7edbaa08e64791f22406832caa0e2b24c2ee5a6225b81c92e6626c8052098cbbd56d3307aef1c76fd4b
|
||||
EBUILD habluetooth-3.6.0-r1.ebuild 1006 BLAKE2B 637ebc1e68a96a4b0620125e340142577b80be585a12ac6f35f8e509a1283251f545b979ee74a3174bc29695d3bdbe40cab0aa85a113ddf7cae55b3f950a3c94 SHA512 d945471a88d57cacd6680f0ad1225cca6ddd92e48a6c9b34695b1e783d0429e3fb0634ab60833b31f90ed6c6436788cf6fdf082c77d2d1dd29438972a508ab3a
|
||||
EBUILD habluetooth-3.6.0.ebuild 990 BLAKE2B 68f6922abf2db59928406c3256c9ca34d520fe1829bd65213441ddcdb43129103bc2e21fba8ceba61a297da3339d531a1701fe331d2a11ae22755449bdfca2b2 SHA512 51a5ba11da44a1ef8e8d9b7daf29cbd997c0874ff93fc7edbaa08e64791f22406832caa0e2b24c2ee5a6225b81c92e6626c8052098cbbd56d3307aef1c76fd4b
|
||||
MISC metadata.xml 529 BLAKE2B d5b1105a3535ac5fa41482f130d3f2bcdadedb14878cda087b258bf683ed68114eb4da36c9c42bf65545cfb75ec2295498c6f0ffe4fbc8016befcba4c6d9afd6 SHA512 e5a8681a4bfaa8d1fdbaf72543550b4620b22e0eba693505e552e932f8b42d4d63738ad1e2b0205332c409f5230b50cd75426978b7dc4acc11e786897cd87945
|
||||
|
||||
35
dev-python/habluetooth/habluetooth-3.6.0-r1.ebuild
Normal file
35
dev-python/habluetooth/habluetooth-3.6.0-r1.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="High availability Bluetooth"
|
||||
HOMEPAGE="https://github.com/bluetooth-devices/habluetooth https://pypi.org/project/habluetooth/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/bleak-0.21.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/bleak-retry-connector-3.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/bluetooth-data-tools-1.16.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/bluetooth-adapters-0.16.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/bluetooth-auto-recovery-1.2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/async-interrupt-1.1.1[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -3,5 +3,6 @@ DIST hass_nabucasa-0.81.1.tar.gz 62710 BLAKE2B 81235c215837ae9220343cd2663261b70
|
||||
DIST hass_nabucasa-0.83.0.tar.gz 64607 BLAKE2B 70eb242b38c26aa0d44b4a21f6c140baa2b086ec13574d8fae801bf5eba59e047d05109219598fd5a30a5562596ea9368804f267d9154b46b321d93d53fd3337 SHA512 69a0d308ca9bd8d8446341296f91b94f3d72597afbe405c4348118aebe35ea1781e55c8b69645cb46686cb4124e387c2d047c5632d45aaecbdb1fcf3ded55dc0
|
||||
EBUILD hass-nabucasa-0.78.0-r1.ebuild 1120 BLAKE2B 0039710ed98bc85d090dcbe6c394cb39a76c48e9beadcd7bd637477897311113525ddbd2b015cd348b546ec0f97cc45fda22527cb06ec10926fd0b7f800c7baf SHA512 e64084a67681a1e08eddde4a02acb3c839e85f43a71b9a932f2827cd3439c109c898341e9a81f1be42b4d62cb88e24b9d0f40ca987c6c796eb03eeffe2ed4098
|
||||
EBUILD hass-nabucasa-0.81.1-r2.ebuild 1181 BLAKE2B 47a11b18df518604dd61a3de6ddff1f81091e519d3972364eb12e681fbe7952eed44103a69f509467280bb0f95ddfb1678e490988fc08af3170705bca1880402 SHA512 0f16acd54b31644725880761755b45017ffe349bb654e4fc98083b91b00e4dcba70fe1b2685c891d334dec04772c29888befa1e256424b54ec7f986a82571c29
|
||||
EBUILD hass-nabucasa-0.83.0-r1.ebuild 1173 BLAKE2B 7890c61a6c6fd6331e76e0fcf4276d5ec240c31215464ca86cb3b2c3e956a7a845fa51e693f477be34d9b595c2170f957dffa7deeaff69d5d3f88a062c61a882 SHA512 bdb8248f53305ceec403da36903d93451c841de5ed1f9f2d35b4e3977fbefa73e6935f761ac2aa9c540d343170fe217ebdeea416171c82a01461e265d723f37b
|
||||
EBUILD hass-nabucasa-0.83.0.ebuild 1273 BLAKE2B a589fceeb48fd0c2a1c9f5fc849482411d4b597100815f86a0c5e22a89d8cae9b98e28cae334ad2570a5fa03bdacb73dceb245a1ac8c2431d8b8692a154f022f SHA512 6e817e6227f1317ac8842f07ecc3c5e747e56995864abf2547f8505758857397cf85cd4bbe4aa8c1624cf08dabcb77921f81c050966be0299aade34a29737985
|
||||
MISC metadata.xml 466 BLAKE2B bb0bf3d88aae9b05fca290d0369180ce9bcd9c6bacf475fa1839ce539316526ebcd89ff8c6bbf4da16b814e071c39dc1ba81b2bbbd94fef11c55fa1aeb42c8b7 SHA512 0f2a2abd81a0c8d5934a62e8bdef69a7aadcf9dcb53ace37146d190cf819293d2c8466655793eefc0777b3a5b7c25f09d27c7b7302b5274cb17f962c35e9218c
|
||||
|
||||
40
dev-python/hass-nabucasa/hass-nabucasa-0.83.0-r1.ebuild
Normal file
40
dev-python/hass-nabucasa/hass-nabucasa-0.83.0-r1.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Home Assistant cloud integration by Nabu Casa, Inc."
|
||||
HOMEPAGE="https://www.nabucasa.com/ https://github.com/NabuCasa/hass-nabucasa/ https://pypi.org/project/hass-nabucasa/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/acme[${PYTHON_USEDEP}]
|
||||
>=dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/atomicwrites-1.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-42.0.0[${PYTHON_USEDEP}]
|
||||
~dev-python/pycognito-2024.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyjwt-2.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/snitun-0.40.0[${PYTHON_USEDEP}]
|
||||
<dev-python/webrtc-models-1.0.0[${PYTHON_USEDEP}]"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/xmltodict[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -2,8 +2,10 @@ DIST holidays-0.47.tar.gz 504015 BLAKE2B 7931add3ea0dd04ed4e3be3501ded6913a3638d
|
||||
DIST holidays-0.51.tar.gz 519537 BLAKE2B 85ccb5040271443f1dae93f0f608332e41f99ba4274df366733fae584da76e928ef3fa95c3df24a3b9b6033aacc9a729556218b962ae979443c7c68901b010e8 SHA512 3730a068745cb960ea480288e1fff878c8af5c7b80d16650a2295c364e06d787daf9b02c76f4c275a7f22f6c3217a700191c0b8e927f6852745892c22dee518a
|
||||
DIST holidays-0.58.tar.gz 562407 BLAKE2B 9469ebe7faf72d3b258cf5e5ea73b192c6d4d38e5d9c5f96dcbbcff040a56a54d3668bfc9b6b5b3e9aa5701bd9ca7e591e2777713a818afcdf590fe5cc2d2443 SHA512 27c466e626452fbc67e853fe23f59e189b2ebe01c3864f10cc1a03e6bac59cb00aff32255558d98ee389fa3394c32e92a770a41f7fca060304140d9c68970a4d
|
||||
DIST holidays-0.59.tar.gz 564201 BLAKE2B 9350b9cf3f79dcc214a2ea63ff5b652eb3ff13226198505d9d157253589a5960663e1dbcb2d776ad1c6e5d55bd08189e9b3622c9e307c27c5889dac4689030f7 SHA512 a1c6a2efae7a63fd0029786315a33491813007d48cc2daa17898965a55be3f950a96d7359638f06b347edfb7cf54d0330c389918a9c858daca8fd40860e6ce4f
|
||||
DIST holidays-0.61.tar.gz 594678 BLAKE2B 0dd5e617137be418c8c90eaa850c835e7fa453c74c3a2d15eee0972fd0d80ac3ff022e147fa894c3d2f34b9d0b45204d9b70bd68cbd2e297b6d4d719595f84f8 SHA512 8d63b85c810031821e6d90ca98fbdca362c4e0a9058eb64a934ae9855416262a23f89268d1e5f3d5be8428aed2bb3255b0fd2902599c49bd46590e443fa56e94
|
||||
EBUILD holidays-0.47.ebuild 524 BLAKE2B fe65df5b9ae1d49d2f4ed61de0127472d3ffd5f767a082fbe565171c59eb7ed27f6808a4d1668f701b7706c52bae1205faf689b73f7405c8c964a26917cfde44 SHA512 812f6023e24456241744e0e1f6dda3620aaf078a1dcc47976276a77c5091a1e443950ab64f4cb75604c298ef97a883d0b619486a327fa97ba6a8554eb43c345c
|
||||
EBUILD holidays-0.51.ebuild 524 BLAKE2B fe65df5b9ae1d49d2f4ed61de0127472d3ffd5f767a082fbe565171c59eb7ed27f6808a4d1668f701b7706c52bae1205faf689b73f7405c8c964a26917cfde44 SHA512 812f6023e24456241744e0e1f6dda3620aaf078a1dcc47976276a77c5091a1e443950ab64f4cb75604c298ef97a883d0b619486a327fa97ba6a8554eb43c345c
|
||||
EBUILD holidays-0.58.ebuild 524 BLAKE2B fe65df5b9ae1d49d2f4ed61de0127472d3ffd5f767a082fbe565171c59eb7ed27f6808a4d1668f701b7706c52bae1205faf689b73f7405c8c964a26917cfde44 SHA512 812f6023e24456241744e0e1f6dda3620aaf078a1dcc47976276a77c5091a1e443950ab64f4cb75604c298ef97a883d0b619486a327fa97ba6a8554eb43c345c
|
||||
EBUILD holidays-0.59.ebuild 524 BLAKE2B fe65df5b9ae1d49d2f4ed61de0127472d3ffd5f767a082fbe565171c59eb7ed27f6808a4d1668f701b7706c52bae1205faf689b73f7405c8c964a26917cfde44 SHA512 812f6023e24456241744e0e1f6dda3620aaf078a1dcc47976276a77c5091a1e443950ab64f4cb75604c298ef97a883d0b619486a327fa97ba6a8554eb43c345c
|
||||
EBUILD holidays-0.61.ebuild 514 BLAKE2B c33c1b3e95caa74c9852360033666f920baa2f604db940fb0abddb15ccb02a6b29625f3644c579b1f7030fe4c8b8e3961eeaa00633aa266be391c07924cfdbd5 SHA512 82c9b632f9915bf5181728285f42d268e8fc68c80f556952906449394a643323e3800513bd2acccfd1af02aaeff72b031e586b8d156d740536dfd9e147ded1ae
|
||||
MISC metadata.xml 385 BLAKE2B f5531bb57d08c5b7ba0bb7cafbc5f6a0e6562fd3e7fbb1f7302b6cc73a87a7031039e8371716a32f08a50cca45e492756b34fe67a129c8799793b9dba040a459 SHA512 44a252674dc85fa38c6051733eb2425b56b04c33a97060120f84c78a4cfd923a96413f984f72d3e688a3fe61f1581129c4fd0f1397fcaba94a4b1e907c5e61f1
|
||||
|
||||
21
dev-python/holidays/holidays-0.61.ebuild
Normal file
21
dev-python/holidays/holidays-0.61.ebuild
Normal file
@@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Generate and work with holidays in Python"
|
||||
HOMEPAGE="https://github.com/vacanza/holidays https://pypi.org/project/holidays/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
|
||||
@@ -3,9 +3,11 @@ DIST home-assistant-frontend-20240610.1.tar.xz 37900640 BLAKE2B ca99263d642a5e7f
|
||||
DIST home-assistant-frontend-20241002.3.tar.xz 39671052 BLAKE2B 72a4113e5cd9418b81a56a0bdb7a604ec3c681f4725b3f921bef90b93879b8be00fba173285525546defa57d08d66b3aa5abfebfb15a8cfd6698840d433e6faf SHA512 c348cf69dd65fb3eb03bb74a2474c0f044aa0112d915401dc0e2c7e2bebf7ba2c06ea9551096ac7b60a55399aeb31d436a5f2a44c033b55157e3600d60c82bdc
|
||||
DIST home-assistant-frontend-20241002.4.tar.xz 39843932 BLAKE2B 009f66ce93fdc55b6497be6ddfc6d87395e1cee8413bbe500549e0178ba57a62945a8d48845936a1d920dede6dcedce83f39aed19424ea2b4e5af04b098a2902 SHA512 9327f1acd8704461aeef92833792a35f3d0fd9936c7cd8116d107f2b61f7d28ec67cd4b0df27210135e982932f2202fd934208a87dd477b0d21f6328052932f0
|
||||
DIST home-assistant-frontend-20241031.0-artifacts.gh.tar.gz 58794484 BLAKE2B 32432097b69453664f3673d4e8075b94a9e927a3ca10e5e76740155e07dad1ca154d55627209041f7fe3f0e53f3b72563a9d83363dcdecadb65e5e64542842e5 SHA512 4e44062cef321b4a840dc41b8944ae7afa60494d9f113a907939aa7068f565574588c8af4873f6b895c51fe8e43b60d494452ff69562990d03c5955268bdf837
|
||||
DIST home-assistant-frontend-20241106.2-artifacts.gh.tar.gz 59711582 BLAKE2B 00a912037377625516830c824bd9222f4cdb57548045c1b1e6a3837840d48fa1fc8ae5c69da61b0ff78ccbeb0dad9f3b19e39276c24bf35007d55d41f16428e4 SHA512 21a0c45b4ec598e427713932b91c14975161a080164b3e573a73a24b18bf084cccac2cfad2b2bb960b5594ecd8030ccd266296007cd0fdec54ec512227ad261c
|
||||
EBUILD home-assistant-frontend-20240501.1.ebuild 583 BLAKE2B c8965888d57a0c93eadc661d48c70c594595b96c13474bacba91beb7d873c330b97f562d6f73295d8334166d227b638221cf715ca192a20f8c7551d8a6bf2646 SHA512 b6a36d6ad4c550b7b0f0fcce53f248d1c62c8f1e355b3b27af6454fd40bc71d163fd54ad1bad1b4de9778039706163c268ce056f489a9a57c71837934fc9c06a
|
||||
EBUILD home-assistant-frontend-20240610.1.ebuild 583 BLAKE2B c8965888d57a0c93eadc661d48c70c594595b96c13474bacba91beb7d873c330b97f562d6f73295d8334166d227b638221cf715ca192a20f8c7551d8a6bf2646 SHA512 b6a36d6ad4c550b7b0f0fcce53f248d1c62c8f1e355b3b27af6454fd40bc71d163fd54ad1bad1b4de9778039706163c268ce056f489a9a57c71837934fc9c06a
|
||||
EBUILD home-assistant-frontend-20241002.3.ebuild 583 BLAKE2B c8965888d57a0c93eadc661d48c70c594595b96c13474bacba91beb7d873c330b97f562d6f73295d8334166d227b638221cf715ca192a20f8c7551d8a6bf2646 SHA512 b6a36d6ad4c550b7b0f0fcce53f248d1c62c8f1e355b3b27af6454fd40bc71d163fd54ad1bad1b4de9778039706163c268ce056f489a9a57c71837934fc9c06a
|
||||
EBUILD home-assistant-frontend-20241002.4.ebuild 583 BLAKE2B c8965888d57a0c93eadc661d48c70c594595b96c13474bacba91beb7d873c330b97f562d6f73295d8334166d227b638221cf715ca192a20f8c7551d8a6bf2646 SHA512 b6a36d6ad4c550b7b0f0fcce53f248d1c62c8f1e355b3b27af6454fd40bc71d163fd54ad1bad1b4de9778039706163c268ce056f489a9a57c71837934fc9c06a
|
||||
EBUILD home-assistant-frontend-20241031.0.ebuild 935 BLAKE2B 82dc6fc84eb43bfa84b877a62249fa60c488905dfd4f7432af60a75cc084154e0ad1d7721dbc63692f9ab0100f0f879f33cb8f97b366c09cb8cb668b5de6dfe0 SHA512 c1588df2b08056b1873eca4d916b0ff2b9d9b5ce880bbe5e0324e689be52028a4c3f5667f3a4b2f00b51b515a8f03c53363f8bf916f7ba765f9a80e0d0493c77
|
||||
EBUILD home-assistant-frontend-20241106.2.ebuild 879 BLAKE2B 828664c932dd1542ef880aa7fb0c71d7b585dbea15051709032458cc2c4c32958bdd6869152e053028dbb89d032c7efa4ea5ee328fd8d58db409cb1a2643ad7d SHA512 775b82993eae644307266828c2d802b4ffd040507218f3afaada8f5558449de6aa379851b05fa8d64fa952b85a8f1b389b04a144788359e53c2fa4cce92406c8
|
||||
MISC metadata.xml 550 BLAKE2B 461f5d7c4accab9d538b87f77af0a3b6a830d8cc920093817ff508424bf63ee8c027471657b70d59be7948705962687a0a696bc18b83b5d3ca21c882ddc92676 SHA512 274ddc53c052eb894e47267b0a44e7890c1739b1abc80a6c553237808e72415aaa8a1e4ebb256414f1928bf32b2500623f0528193a1bc1e39acc224d10c5c4f3
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
MY_PN=${PN//-/_}
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/home-assistant/frontend.git"
|
||||
EGIT_BRANCH="dev"
|
||||
S="${WORKDIR}/home-assistant-frontend-9999/"
|
||||
else
|
||||
MY_PV=${PV/_beta/b}
|
||||
MY_P=${MY_PN}-${MY_PV}
|
||||
SRC_URI="https://github.com/home-assistant/frontend/releases/download/${MY_PV}/${MY_PN}-${MY_PV}.tar.gz -> ${P}-artifacts.gh.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The Home Assistant frontend"
|
||||
HOMEPAGE="https://github.com/home-assistant/frontend https://pypi.org/project/home-assistant-frontend/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
DOCS="README.md"
|
||||
@@ -1,5 +1,6 @@
|
||||
DIST miniaudio-1.59.tar.gz 1103350 BLAKE2B 35ac76c452de82efe5d7c670bdcc8602b9d86a75625db685fd817277e59e012d9abff4a57a2a39c6f692df374960e1cb854c32243a726f06e3edad36ebc98e2b SHA512 0b308b4e3504a4916ead4c715487a4d2ba90a7787c660922ee57f4c6904d337db6513b8543eaae4905d9cd26105a7b9749d5a1085e6ab39a09b50d60eb8ed2ab
|
||||
DIST miniaudio-1.61.tar.gz 1103527 BLAKE2B 718111bbf8af344d23e6ebe0b739fd42e0195e74158833f4115fbb114eec25410211a5a8effa7a74f5489d9df295fb23e0b0e881004acef7dd7cf8f8349b3e53 SHA512 2ea48300be9a02f6a334c25635a5d5f74001c7d6330e45dd4c76851c638e332412bb8d7f3c6b9d50dbb51a41682e08448f1f4f9e0ec70e589a07f60f293dcb82
|
||||
EBUILD miniaudio-1.59.ebuild 691 BLAKE2B 8e430c89bc03c606f865f42c0776232a8cce34e86d9509a3a7e0876b7767cc21370f7bc4c52ca28c867c55589ccedffe3418ef5b2304970547bb4befec88891e SHA512 20bbd388c4760b2927f0f7ab3d37bf26948c5df4f6d7590a2da383b05f30cf6ec5b068ed9beda0d93a6b579040ed19ef4829049ed5bd0d9527dfc5ba4c18edaa
|
||||
EBUILD miniaudio-1.61-r1.ebuild 707 BLAKE2B 224540bf1e209413437fd5de623c26432dc58a72f8eb89de9fb44c27de6d8b232afe43551c06f2aca1fa51ddc0bc7e18a6db0b2ea539c9e446000d55333e27a0 SHA512 f58cb21a0747aa50fa1e8d95cf7d6b8f27c6834efef053eda51f6ca136aed59b3edf2d31754cb6dc121e086041074c0a4212b2f75fa974456896c480f8965645
|
||||
EBUILD miniaudio-1.61.ebuild 691 BLAKE2B 8e430c89bc03c606f865f42c0776232a8cce34e86d9509a3a7e0876b7767cc21370f7bc4c52ca28c867c55589ccedffe3418ef5b2304970547bb4befec88891e SHA512 20bbd388c4760b2927f0f7ab3d37bf26948c5df4f6d7590a2da383b05f30cf6ec5b068ed9beda0d93a6b579040ed19ef4829049ed5bd0d9527dfc5ba4c18edaa
|
||||
MISC metadata.xml 513 BLAKE2B 4f0dde913b8a22239ce321977ba20f3c2c4a9dce783823eda127dc37b2b6c5c7c18d7ea3c81e429a37fbb7c4733ee0440312b625e00700c8e2cf9f974eac8cff SHA512 b42cba3c797aa8d5b1334968fe618788f207505d6c4b8bc7d759a7033208504a77480f428ac0f0ba62b39c67ede1b07cbfbfc40959b77c3488add1d08690e892
|
||||
|
||||
31
dev-python/miniaudio/miniaudio-1.61-r1.ebuild
Normal file
31
dev-python/miniaudio/miniaudio-1.61-r1.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
DESCRIPTION="python bindings for the miniaudio library and its decoders (mp3, flac, ogg vorbis, wav)"
|
||||
HOMEPAGE="https://github.com/irmen/pyminiaudio https://pypi.org/project/miniaudio/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/cffi-1.12.0[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -3,5 +3,6 @@ DIST pyatv-0.15.0.tar.gz 1684693 BLAKE2B ccb152ef63a65ad3286d8f883a838087ecec6af
|
||||
DIST pyatv-0.15.1.tar.gz 1685123 BLAKE2B 2f44a18d51233816b923a3414321fa05312b3ffbb6388e768b567b25c601c74fcb5308a63b68b6e44f6e6b31fb1e37714044e149953b2d821dc8ccc236cd3c61 SHA512 57457e2b25375a62c66414f34de3dbc2cf6664b9b9ad4f033ee117014db68c456df4f47f21f73d7ac4166ce422871a695b510c5de8ff4268d00eba46a31db61b
|
||||
EBUILD pyatv-0.14.3.ebuild 1386 BLAKE2B 10863113eeb866b19a5d9d34bd1d19fe1dce3d4cbaf95b2d95359d481bb6c156c607df4ef9d83d078cce8a9237b134c485c60f84355b9f9793b896dfd1ded49e SHA512 1615df8cdb67f12890e45469b4766deac05429bd21a1c93b55a23dcd061678666ac7ddb937b9d514a7875530309625274ee2b89f3150dd5f4e542f04c1c54a24
|
||||
EBUILD pyatv-0.15.0.ebuild 1220 BLAKE2B ca22720c9bd391c942fc97b135d2400fe861f32dfb5bad62d6c3e0a69ebb984efa34ac0afc67ffbdc784e71820d98c96fe730888302c513f6f83a1192c055734 SHA512 a4edd6f1e9aa6d9dfc810abbdf45805efab4bab0b61a06db4fa89c161f47057fb06d01f9c97e2068c05c539f28b9341d992ac708d120e87dee7fc4b814dec1d3
|
||||
EBUILD pyatv-0.15.1-r1.ebuild 1274 BLAKE2B e12f2ffaa2923d9fd44ab1d0226860b3ece624fb913cc21d5a7c42a94f1a1f9efe5594ce9b99e844a8a29adf5c4792d0297e74973183773d88310dd765d6601b SHA512 49a70d4049f56b4f132525ec6ec254d7cc7535cbea049b3c861d52523fcf7422e21fbe86579c12c43a7ff9e17530ed8fef6407dedcfd91d266a866af00569b9c
|
||||
EBUILD pyatv-0.15.1.ebuild 1220 BLAKE2B ca22720c9bd391c942fc97b135d2400fe861f32dfb5bad62d6c3e0a69ebb984efa34ac0afc67ffbdc784e71820d98c96fe730888302c513f6f83a1192c055734 SHA512 a4edd6f1e9aa6d9dfc810abbdf45805efab4bab0b61a06db4fa89c161f47057fb06d01f9c97e2068c05c539f28b9341d992ac708d120e87dee7fc4b814dec1d3
|
||||
MISC metadata.xml 510 BLAKE2B d7eb7fc5e0d2a4600212cd8cddd8687d94d3c567df67afe0874a9d32f33520d85039d5e04a1579b66dd98170390e6f23fc67a9061de4034b92070b31f575e88f SHA512 eb08647b94be3694b181dcfdf47386160d69343051eb8f17af01b4c06d72c130f82b0b00479c359d873aedcd7240f9bbe5953be40001a5cc0971163745d0b36f
|
||||
|
||||
39
dev-python/pyatv/pyatv-0.15.1-r1.ebuild
Normal file
39
dev-python/pyatv/pyatv-0.15.1-r1.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
DESCRIPTION="A client library for Apple TV and AirPlay devices"
|
||||
HOMEPAGE="https://github.com/postlund/pyatv/ https://pyatv.dev https://pypi.org/project/pyatv/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/aiohttp-3.8.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-43.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/chacha20poly1305-reuseable-0.13.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/mediafile-0.8.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/miniaudio-1.45[${PYTHON_USEDEP}]
|
||||
>=dev-python/protobuf-4.25.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pydantic-1.10.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.23.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/srptools-0.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/zeroconf-0.129.0[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,5 +1,7 @@
|
||||
DIST snitun-0.36.2.tar.gz 29979 BLAKE2B aa84bac599089d30f2f10ecd7eeed0ae32d3ea37860ec1cbce99b7efa7a7748e0f04dc84b84299dc0524289d71e92aeb2727d875133fef29065511daca9abe1d SHA512 50f76c0f71270f5264b80d77e69a3e41db5010229763fb4b8c26b2fa81e9b5fdb9ba8f612c01f7d4c4211531db14e599a8c29285acb3e619c0873a82c263d118
|
||||
DIST snitun-0.39.1.tar.gz 33073 BLAKE2B 713d93f1498d84b05be0c27cbccd80e19967db6b7f357ce5e8e0524614077becb5d63105fe0062f272aa6d76d634c629d5dfcbe67f2b0ac9b6abaf401fb673eb SHA512 20e7d162e7ee8c2c645b0f92d77eedc49bd34bef564648f1d44f972949c59cba74fea376d395afd1108161243c2f4f6908ffc14f6f4c58b9763798b05db8149a
|
||||
DIST snitun-0.40.0.tar.gz 33111 BLAKE2B d6be3ea8c9fc5c69d92e1c413fdd33b7b218bd712fe044c280f4f2d113f338151aa477b352ec39b0a2f04321e958da02a77c4d3ec81646bec4cf5d36f3432ea6 SHA512 5cd4046f7f9c26a5b66cc3097000bed241a684397999992c1e89b93e6ec77b36b188a6377df19801696721ef1d7bca6a819b773155bc0a0cc9effc905b45470c
|
||||
EBUILD snitun-0.36.2.ebuild 761 BLAKE2B c40a95415729785d48753f993fedfcdff79e22039bdb839bad75cca8920d0f57f1718473b4374046e8505f534053b5e60eec8e2686b98b402ce59ec681605e75 SHA512 8f803a3e0c4be651937ca0d06b84a6870813e7fdbbd19b98a82d8ac8150f697c43902a141a33fc1413f07c91668d25d7bae23e70a55cab92656877e2dec39cae
|
||||
EBUILD snitun-0.39.1.ebuild 653 BLAKE2B c55be20a9504e7cc487b534fde47244c61045a6c9fcbdf0bdb2baabb13024339ab60886eec1fa9ac47822287c25c27b1ef384b481fb209067ad9e98410a287af SHA512 981a6783f7b8fb0d3ed9f1039e42ab172bcee7e5f33c984e7e5f1717b32f7134b957d7363fdfc0b131dae094b4a0e5a2932a2c30979e8d32e4edc9bd28ebb6e5
|
||||
EBUILD snitun-0.40.0.ebuild 705 BLAKE2B 97a8edfaf2866f1aeabaf5dc2e17b476852aae9e5a040a6f451b5d3704907baaec4203d909dc55abdb9ef9b96af1bf7b83e21059250e8e5dff19d266c1673228 SHA512 6fa6e86baaac7c0f720c3750e614aa93c01e08d3e23c188da269c8efbaaf8fbec3d0a54adf5fcc6a64e94933e9ec3ac73a32ceb3ef75227dec055afdaace9d67
|
||||
MISC metadata.xml 520 BLAKE2B 8e49bc86b573ab81bdcf78f08a985d2434d6d1cf01d3e499a6c410fd10b29b19c06348920834f2f1edf38da7b105245189a4ef8b3c45cba7cf51e635a88e6308 SHA512 63724828c4c80949b40c06f205721165bd90b41283239eff852e4a2c1187706b4adbd8df886cf41dc9a91dda7cf8e57bffa933a51ef8d28442bbc03d26f2f78d
|
||||
|
||||
26
dev-python/snitun/snitun-0.40.0.ebuild
Normal file
26
dev-python/snitun/snitun-0.40.0.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="SNI proxy with TCP multiplexer"
|
||||
HOMEPAGE="https://github.com/NabuCasa/snitun/ https://www.nabucasa.com/ https://pypi.org/project/snitun/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/aiohttp-3.9.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/attrs-18.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.5[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,3 +1,5 @@
|
||||
DIST typing_inspect-0.7.1.tar.gz 11799 BLAKE2B a0f0fde9fe1b85897c8cac660a1fb9de2b9bc3b83c619ddb0642749cacb105bfc7d2f0e25a1da0e9c95a3cdd60e39eecd3be4aef32d0f47c53f107d681f43a39 SHA512 16aa279e5bcdcaa4ad28b68a5c5cedcefee32ec78f57c75b4285888ab6d634e3306eedc63445839cc57923ae956e9b2234cb2afcf71216b3f6ff6839cd48fc58
|
||||
DIST typing_inspect-0.9.0.tar.gz 13825 BLAKE2B 599ec6a99fd040ac5ee83ef20deee86a8255dd116c8d8defe67d99291088984efc3b639986a9d350b26200028a309cfe6590a3f75dc4b9e0306bdc13bb65641e SHA512 5d46e6632895fa0a59007779f49a5812beff09f59e359a81af93bfee7bb5f4c2025566efbd27422299a614baa4d9c22da2317377090b0ad1cdd89fca73e9ee5a
|
||||
EBUILD typing-inspect-0.7.1.ebuild 732 BLAKE2B ca3b6eeaaaaf156de44320d58866beb4e362e5b004116abd72d69b8b9b281d73448924ac3c86907bfb4b23282351dc13aa9952952ec3a839e371578d4b971c15 SHA512 9456aeea4a83c1d9fc6cf02c95ae9f48190b61477af112eea16b479b1a735331f9f29113e8bb7efe166f90ebd1de222c98d0d9bb4ae0423d35b94d763421e1d8
|
||||
EBUILD typing-inspect-0.9.0.ebuild 732 BLAKE2B be972dab88cde78ffc9425b8a743c5ee0658e491a856ceea3c44a12da1c2d4f814a045396e5aebd57691dd4e07e7030e5bc3684d15b735938379b7f490e62b4d SHA512 9c3e86864b4406b8877d2a6ebcd3791dba450b3f8ab3c0e8d3d36663c0a868e17a88c24a13c90b56c0a63b22398d708843457c16aa185c441f05401426f48883
|
||||
MISC metadata.xml 530 BLAKE2B 69b64cd6752f585c43e7a3f3f33630618fb71db54a5ce9bbf964d3e449a0ba2b16e314fad4dddab02f1d13dbcc541f3f25633d73dc94de9d381bd2302a649fc3 SHA512 7c7de7e6a59a890a629c1482eba63d8e5cbe7cc30f8efa8cb3ce45de70f5b37a2d6c324c6717fdaca4b404b5c721fb1c078946e8523676b5a4b9e4b932dc6c67
|
||||
|
||||
32
dev-python/typing-inspect/typing-inspect-0.9.0.ebuild
Normal file
32
dev-python/typing-inspect/typing-inspect-0.9.0.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Runtime inspection utilities for typing module."
|
||||
HOMEPAGE="https://github.com/ilevkivskyi/typing_inspect https://pypi.org/project/typing-inspect/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/mypy-extensions-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,3 +1,5 @@
|
||||
DIST webrtc_models-0.1.0.tar.gz 8896 BLAKE2B 1caa7392bcdf0711fc4f1791edb228dd81346df15a1c358adfb210fa53801c2c4712364d8128279c33bdbc52344a6ae0f8306c0b22642d1d7145b93c029e7b02 SHA512 f9a426397cdc1f57b3f3f1f55c2c3d688e8dd99ab65f4bd7fbc2ea04f94a07c0ae36f6e8ffe41363cecbbd979b1604c22b27d90aa155db1a883c33b121bbb7f0
|
||||
DIST webrtc_models-0.3.0.tar.gz 9411 BLAKE2B f67563d7659daa32b8a2b9cb17fef285a0f5cdd6d947da7f3e72505f59a61e38c79aa277330c780c712d83aa6d8f552d8fcb617a8b81ee3c21f24879a01ed467 SHA512 532dfc409c771746ddbc93966108e3101fe0a4e8a7b43c991301b5171df02ad1072ac847428245f1f88c50203212ff78afb27c13eba07c782604ac7e289830f2
|
||||
EBUILD webrtc-models-0.1.0.ebuild 606 BLAKE2B bb4dbf993db4a7f162bc6b01fe20dae1623c4b2f55e604c8638dafade024e8f30a5b23d392623f9036f7e4338a5dab49073cd2aa0b28e5dfe729b57104164b24 SHA512 546eff2998939de08514a02403de6232501c6f8cd37c99390eca2386a01fd196959ccc1daceae393b625e09167b67135e639acfa2602b3ce928413c8f5844958
|
||||
EBUILD webrtc-models-0.3.0.ebuild 606 BLAKE2B 0cae02df1d8aba953d5a658fde10ef7a38cf318cb494fe266dd7b81fe35307cbd7dd419b5a408badb9aee448f75efdb8184f85b6937399f0106702a3bf109e42 SHA512 131fae98bf7b9768f5de75b061e8b08825db560a36a1b5fd51f53eb12bcef95f3ba2d57d7acba4f1b1e16982d8321f23406294a647e0fe7730b1d64304adfcb4
|
||||
MISC metadata.xml 536 BLAKE2B aa8c655fb6155e119a2beee5b8ca943cf081557f983a70877fdc6e27a6b9d9ede7be2a6023e5b00c29f0c4a8140172f74ad8b18dedf24fd04ff734ff2d3e2c4f SHA512 1e2c1a7ec112f19f6e2f724c1fe72736d81a65bc1f83e66438afbda0b2ad3ddce7114652b2166d1257c3f37b3dc0380c690873335b11917fef40d4ef15c9f32b
|
||||
|
||||
24
dev-python/webrtc-models/webrtc-models-0.3.0.ebuild
Normal file
24
dev-python/webrtc-models/webrtc-models-0.3.0.ebuild
Normal file
@@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{12..13} )
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python WebRTC models"
|
||||
HOMEPAGE="https://github.com/home-assistant-libs/python-webrtc-models/ https://pypi.org/project/webrtc-models/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/mashumaro-3.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/orjson-3.10.7[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,5 +1,7 @@
|
||||
DIST zeroconf-0.132.2.tar.gz 170698 BLAKE2B 7c76e2a00571a19b23f288dc1183da6ce274ebdf3f64f323e282f444011f7cbf90a63e02a991936a2cfa2d227568b31444b8f61f1110588638d4e888dd8749a6 SHA512 686cdfd2f32c6bad03fb5fd287b1e22f2f0b5099a8971dcff1d9fca7e63bc8069b195feb97be710c20fae8c524ab92143e395cdfec26ede103295d1aa4d32a8f
|
||||
DIST zeroconf-0.133.0.tar.gz 171328 BLAKE2B 2a32186bf17120d2448383af252a4a47e83c5900187e841974fa7b1fc4ae70b1227cf5baf556f7d24650f75e6f27a6a4a5b4f2f797b47c55d5016d20a1263c1e SHA512 06ec5f4face3578a16a38ebd750c9f74cc38932e840c8615d597807a3b5781adf9bd5bf2f8b438df165993de4f429c45efe9f4751baf7d00b4ebabc348984b41
|
||||
DIST zeroconf-0.136.0.tar.gz 238635 BLAKE2B 265dac1aed041d86f81264b5449952695f316cdfd9ff8e594631cd5c5eebad917d32537920308ae62feee7927307a667fdfd3cfd5c182fff08120cba19bbc60e SHA512 835f1e22a92e62efaba055816c962fdea12b80e3a875883da28919e952363ce14dea6b60738a2c199d6e4718c016c00a7dfaa86ee4b20347c69a771515240be3
|
||||
EBUILD zeroconf-0.132.2.ebuild 1383 BLAKE2B 0850c4465bf048f6ee208b4a4d9d8495300885e4aa98664680e157c8e01951f23b72a83ed7fda5bc3baf61cba395f95f769ae96cebb7842931d7c6bb2ad65803 SHA512 7731b6a188430354b6da785c214e28870acec6616afb212cadba14db1c00ff9510b19d1327b00e135010e84f5391e0b2c29de26d59043b5be77197159496cc27
|
||||
EBUILD zeroconf-0.133.0.ebuild 1383 BLAKE2B 0850c4465bf048f6ee208b4a4d9d8495300885e4aa98664680e157c8e01951f23b72a83ed7fda5bc3baf61cba395f95f769ae96cebb7842931d7c6bb2ad65803 SHA512 7731b6a188430354b6da785c214e28870acec6616afb212cadba14db1c00ff9510b19d1327b00e135010e84f5391e0b2c29de26d59043b5be77197159496cc27
|
||||
EBUILD zeroconf-0.136.0.ebuild 1384 BLAKE2B 0a6416a4ecafa3f599c78d67b67ed4121a286268da8eec9e3dca855ea60729c12b4c9393f55b1159cfdb3b57a082745a1f32325d897b99df1680f47e42e25396 SHA512 cb84c5cd8393c8e458aa828d676c0aa545e34b43d8c36d73d25ffd8f911d9f327cdd6ca32054f91cc72274fef98197f2af41e52b818554c711c7015f67de2921
|
||||
MISC metadata.xml 395 BLAKE2B e1ce7a8fbd6d50fd59fbce671a535a3af2fde79dcc98f146c4e361759e61ce6d7e4e241866262fcd78744c673212d1946830c3d7628956b498a98d0af36d4c3d SHA512 544cb62da7212926b63c4e19467fc3e3f7c8210320a8096dc913a846d392e9a09c2b9860312f88effc8ad7a54e0329149a68012b08c674663af5779957e037f9
|
||||
|
||||
54
dev-python/zeroconf/zeroconf-0.136.0.ebuild
Normal file
54
dev-python/zeroconf/zeroconf-0.136.0.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
|
||||
HOMEPAGE="
|
||||
https://github.com/python-zeroconf/python-zeroconf/
|
||||
https://pypi.org/project/zeroconf/
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}]' python3_10)
|
||||
"
|
||||
# the build system uses custom build script that uses distutils to build
|
||||
# C extensions, sigh
|
||||
BDEPEND="
|
||||
>=dev-python/cython-3.0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export REQUIRE_CYTHON=1
|
||||
|
||||
python_test() {
|
||||
local -x SKIP_IPV6=1
|
||||
local EPYTEST_DESELECT=(
|
||||
# network
|
||||
tests/test_core.py::Framework::test_close_multiple_times
|
||||
tests/test_core.py::Framework::test_launch_and_close
|
||||
tests/test_core.py::Framework::test_launch_and_close_context_manager
|
||||
|
||||
# fragile to timeouts (?)
|
||||
tests/services/test_browser.py::test_service_browser_expire_callbacks
|
||||
tests/utils/test_asyncio.py::test_run_coro_with_timeout
|
||||
)
|
||||
|
||||
epytest -o addopts=
|
||||
}
|
||||
Reference in New Issue
Block a user