aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/protobuf/py3/ya.make
blob: 18b4d2a00a5c8ddd3f147f8cf175225794d7fee6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Generated by devtools/yamaker from nixpkgs 22.05.

PY3_LIBRARY()

LICENSE(
    BSD-3-Clause AND
    Protobuf-License
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(3.18.1)

ORIGINAL_SOURCE(mirror://pypi/p/protobuf/protobuf-3.18.1.tar.gz)

PEERDIR(
    contrib/libs/protobuf
    contrib/libs/protobuf/builtin_proto/protos_from_protobuf
    contrib/libs/protobuf/builtin_proto/protos_from_protoc
    contrib/libs/python
)

ADDINCL(
    contrib/python/protobuf/py3
)

NO_COMPILER_WARNINGS()

NO_LINT()

CFLAGS(
    -DPYTHON_PROTO2_CPP_IMPL_V2
)

SRCS(
    google/protobuf/internal/api_implementation.cc
    google/protobuf/pyext/descriptor.cc
    google/protobuf/pyext/descriptor_containers.cc
    google/protobuf/pyext/descriptor_database.cc
    google/protobuf/pyext/descriptor_pool.cc
    google/protobuf/pyext/extension_dict.cc
    google/protobuf/pyext/field.cc
    google/protobuf/pyext/map_container.cc
    google/protobuf/pyext/message.cc
    google/protobuf/pyext/message_factory.cc
    google/protobuf/pyext/message_module.cc
    google/protobuf/pyext/repeated_composite_container.cc
    google/protobuf/pyext/repeated_scalar_container.cc
    google/protobuf/pyext/unknown_fields.cc
)

PY_REGISTER(
    google.protobuf.internal._api_implementation
    google.protobuf.pyext._message
)

PY_SRCS(
    TOP_LEVEL
    google/__init__.py
    google/protobuf/__init__.py
    google/protobuf/compiler/__init__.py
    google/protobuf/descriptor.py
    google/protobuf/descriptor_database.py
    google/protobuf/descriptor_pool.py
    google/protobuf/internal/__init__.py
    google/protobuf/internal/api_implementation.py
    google/protobuf/internal/containers.py
    google/protobuf/internal/decoder.py
    google/protobuf/internal/encoder.py
    google/protobuf/internal/enum_type_wrapper.py
    google/protobuf/internal/extension_dict.py
    google/protobuf/internal/message_listener.py
    google/protobuf/internal/python_message.py
    google/protobuf/internal/type_checkers.py
    google/protobuf/internal/well_known_types.py
    google/protobuf/internal/wire_format.py
    google/protobuf/json_format.py
    google/protobuf/message.py
    google/protobuf/message_factory.py
    google/protobuf/proto_builder.py
    google/protobuf/pyext/__init__.py
    google/protobuf/pyext/cpp_message.py
    google/protobuf/reflection.py
    google/protobuf/service.py
    google/protobuf/service_reflection.py
    google/protobuf/symbol_database.py
    google/protobuf/text_encoding.py
    google/protobuf/text_format.py
    google/protobuf/util/__init__.py
)

RESOURCE_FILES(
    PREFIX contrib/python/protobuf/py3/
    .dist-info/METADATA
    .dist-info/top_level.txt
)

END()