aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-08-23 15:55:30 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-08-23 16:04:41 +0300
commita5c6c563bd75d09fee9d2579fca8ff469e2dad40 (patch)
tree32c9c633a758a7746a1717469c03e38635a66f75
parent5741cf990d59e786aee8074fc01db7655490bcfd (diff)
downloadydb-a5c6c563bd75d09fee9d2579fca8ff469e2dad40.tar.gz
Intermediate changes
-rw-r--r--contrib/libs/zstd/programs/zstd/ya.make2
-rw-r--r--contrib/tools/python3/Programs/python.c17
-rw-r--r--contrib/tools/python3/bin/ya.make16
3 files changed, 4 insertions, 31 deletions
diff --git a/contrib/libs/zstd/programs/zstd/ya.make b/contrib/libs/zstd/programs/zstd/ya.make
index 04ed958c69..f82a24a240 100644
--- a/contrib/libs/zstd/programs/zstd/ya.make
+++ b/contrib/libs/zstd/programs/zstd/ya.make
@@ -4,6 +4,8 @@ PROGRAM()
WITHOUT_LICENSE_TEXTS()
+VERSION(1.5.6)
+
PEERDIR(
contrib/libs/zstd
)
diff --git a/contrib/tools/python3/Programs/python.c b/contrib/tools/python3/Programs/python.c
deleted file mode 100644
index 84148f7767..0000000000
--- a/contrib/tools/python3/Programs/python.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Minimal main program -- everything is loaded from the library */
-
-#include "Python.h"
-
-#ifdef MS_WINDOWS
-int
-wmain(int argc, wchar_t **argv)
-{
- return Py_Main(argc, argv);
-}
-#else
-int
-main(int argc, char **argv)
-{
- return Py_BytesMain(argc, argv);
-}
-#endif
diff --git a/contrib/tools/python3/bin/ya.make b/contrib/tools/python3/bin/ya.make
index d6c1277fee..456673d4be 100644
--- a/contrib/tools/python3/bin/ya.make
+++ b/contrib/tools/python3/bin/ya.make
@@ -1,6 +1,6 @@
# Generated by devtools/yamaker.
-PROGRAM(python3)
+PY3_PROGRAM(python3)
VERSION(3.12.5)
@@ -8,18 +8,6 @@ ORIGINAL_SOURCE(https://github.com/python/cpython/archive/v3.12.5.tar.gz)
LICENSE(Python-2.0)
-USE_PYTHON3()
-
-PEERDIR(
- contrib/tools/python3/Modules/_sqlite
-)
-
-CFLAGS(
- -DPy_BUILD_CORE
-)
-
-SRCS(
- ../Programs/python.c
-)
+PY_MAIN(:main)
END()