Skip to content

Commit 602639b

Browse files
markmentovaijudaew
authored andcommitted
py-protobuf3: add py314 subport
1 parent f1b1c72 commit 602639b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

python/py-protobuf3/Portfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ compiler.cxx_standard \
5151
# error: constexpr constructor never produces a constant expression [-Winvalid-constexpr]
5252
compiler.blacklist {clang < 900}
5353

54-
python.versions 27 39 310 311 312 313
54+
python.versions 27 39 310 311 312 313 314
5555

5656
if {${name} ne ${subport}} {
5757
conflicts py${python.version}-protobuf
@@ -124,9 +124,11 @@ if {${name} ne ${subport}} {
124124

125125
if {${python.version} > 27} {
126126
test.run yes
127-
python.test_framework
128-
test.cmd "${python.bin} setup.py"
129-
test.target test --cpp_implementation
127+
if {!${python.pep517}} {
128+
python.test_framework
129+
test.cmd "${python.bin} setup.py"
130+
test.target test --cpp_implementation
131+
}
130132
}
131133
}
132134

0 commit comments

Comments
 (0)