Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/planemo/conda_verify/const.py @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4f3585e2f14b |
---|---|
1 LICENSE_FAMILIES = set(""" | |
2 AGPL | |
3 GPL2 | |
4 GPL3 | |
5 LGPL | |
6 BSD | |
7 MIT | |
8 Apache | |
9 PSF | |
10 Public-Domain | |
11 Proprietary | |
12 Other | |
13 """.split()) | |
14 | |
15 FIELDS = { | |
16 'package': {'name', 'version'}, | |
17 'source': {'fn', 'url', 'md5', 'sha1', 'sha256', | |
18 'git_url', 'git_tag', 'git_branch', | |
19 'patches', 'hg_url', 'hg_tag'}, | |
20 'build': {'features', 'track_features', | |
21 'number', 'entry_points', 'osx_is_app', 'noarch', | |
22 'preserve_egg_dir', 'win_has_prefix', 'no_link', | |
23 'ignore_prefix_files', 'msvc_compiler', | |
24 'detect_binary_files_with_prefix', | |
25 'always_include_files'}, | |
26 'requirements': {'build', 'run'}, | |
27 'app': {'entry', 'icon', 'summary', 'type', 'cli_opts'}, | |
28 'test': {'requires', 'commands', 'files', 'imports'}, | |
29 'about': {'license', 'license_url', 'license_family', 'license_file', | |
30 'summary', 'description', 'home', 'doc_url', 'dev_url'}, | |
31 } | |
32 | |
33 MAGIC_HEADERS = { | |
34 '\xca\xfe\xba\xbe': 'MachO-universal', | |
35 '\xce\xfa\xed\xfe': 'MachO-i386', | |
36 '\xcf\xfa\xed\xfe': 'MachO-x86_64', | |
37 '\xfe\xed\xfa\xce': 'MachO-ppc', | |
38 '\xfe\xed\xfa\xcf': 'MachO-ppc64', | |
39 'MZ\x90\x00': 'DLL', | |
40 '\x7fELF': 'ELF', | |
41 } | |
42 | |
43 DLL_TYPES = { | |
44 0x0: 'UNKNOWN', 0x1d3: 'AM33', 0x8664: 'AMD64', 0x1c0: 'ARM', | |
45 0xebc: 'EBC', 0x14c: 'I386', 0x200: 'IA64', 0x9041: 'M32R', | |
46 0x266: 'MIPS16', 0x366: 'MIPSFPU', 0x466: 'MIPSFPU16', 0x1f0: 'POWERPC', | |
47 0x1f1: 'POWERPCFP', 0x166: 'R4000', 0x1a2: 'SH3', 0x1a3: 'SH3DSP', | |
48 0x1a6: 'SH4', 0x1a8: 'SH5', 0x1c2: 'THUMB', 0x169: 'WCEMIPSV2', | |
49 } |