libfmos-python 20240118__tar.gz → 20260520__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- libfmos_python-20260520/AUTHORS +4 -0
- {libfmos-20240118 → libfmos_python-20260520}/INSTALL +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/Makefile.am +11 -17
- {libfmos-20240118 → libfmos_python-20260520}/Makefile.in +18 -21
- libfmos_python-20260520/PKG-INFO +29 -0
- {libfmos-20240118 → libfmos_python-20260520}/README +1 -1
- libfmos_python-20260520/_build.py +275 -0
- {libfmos-20240118 → libfmos_python-20260520}/acinclude.m4 +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/Makefile.am +6 -7
- {libfmos-20240118 → libfmos_python-20260520}/common/Makefile.in +10 -8
- {libfmos-20240118 → libfmos_python-20260520}/common/byte_stream.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/common.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/config.h +4 -4
- {libfmos-20240118 → libfmos_python-20260520}/common/config_borlandc.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/config_msc.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/config_winapi.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/file_stream.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/memory.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/narrow_string.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/system_string.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/types.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/types.h.in +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/common/wide_string.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/config.guess +21 -41
- {libfmos-20240118 → libfmos_python-20260520}/config.sub +17 -34
- {libfmos-20240118 → libfmos_python-20260520}/configure +826 -843
- {libfmos-20240118 → libfmos_python-20260520}/configure.ac +14 -15
- libfmos_python-20260520/dpkg/changelog +5 -0
- {libfmos-20240118 → libfmos_python-20260520}/dpkg/copyright +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/include/Makefile.am +6 -8
- {libfmos-20240118 → libfmos_python-20260520}/include/Makefile.in +9 -9
- {libfmos-20240118 → libfmos_python-20260520}/include/libfmos/definitions.h +3 -3
- {libfmos-20240118 → libfmos_python-20260520}/include/libfmos/definitions.h.in +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/include/libfmos/error.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/include/libfmos/extern.h +6 -3
- {libfmos-20240118 → libfmos_python-20260520}/include/libfmos/features.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/include/libfmos/features.h.in +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/include/libfmos/types.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/include/libfmos/types.h.in +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/include/libfmos.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/include/libfmos.h.in +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/Makefile.am +4 -6
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/Makefile.in +10 -7
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/libcerror_definitions.h +3 -3
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/libcerror_error.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/libcerror_error.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/libcerror_extern.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/libcerror_support.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/libcerror_support.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/libcerror_system.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/libcerror_system.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/libcerror_types.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcerror/libcerror_unused.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/Makefile.am +4 -6
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/Makefile.in +11 -7
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_definitions.h +3 -3
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_extern.h +1 -7
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_libcerror.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_print.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_print.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_stream.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_stream.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_support.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_support.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_unused.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_verbose.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcnotify/libcnotify_verbose.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/Makefile.am +4 -6
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/Makefile.in +18 -7
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_condition.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_condition.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_definitions.h +3 -3
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_error.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_error.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_extern.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_libcerror.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_lock.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_lock.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_mutex.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_mutex.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_queue.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_queue.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_read_write_lock.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_read_write_lock.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_repeating_thread.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_repeating_thread.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_support.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_support.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_thread.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_thread.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_thread_attributes.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_thread_attributes.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_thread_pool.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_thread_pool.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_types.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libcthreads/libcthreads_unused.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/Makefile.am +6 -8
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/Makefile.in +18 -9
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos.rc +3 -3
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos.rc.in +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_adc.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_adc.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_definitions.h +3 -3
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_definitions.h.in +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_error.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_error.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_extern.h +1 -7
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_libcerror.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_libcnotify.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_lzfse.c +32 -11
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_lzfse.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_lzfse_bit_stream.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_lzfse_bit_stream.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_lzfse_decoder.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_lzfse_decoder.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_lzvn.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_lzvn.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_notify.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_notify.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_support.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_support.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_types.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos/libfmos_unused.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/libfmos.spec +2 -2
- {libfmos-20240118 → libfmos_python-20260520}/ltmain.sh +45 -38
- {libfmos-20240118 → libfmos_python-20260520}/m4/common.m4 +137 -81
- {libfmos-20240118 → libfmos_python-20260520}/m4/libcerror.m4 +22 -70
- {libfmos-20240118 → libfmos_python-20260520}/m4/libcnotify.m4 +21 -67
- libfmos_python-20260520/m4/libcthreads.m4 +214 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/libtool.m4 +40 -16
- {libfmos-20240118 → libfmos_python-20260520}/m4/ltoptions.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/ltsugar.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/ltversion.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/lt~obsolete.m4 +0 -0
- libfmos_python-20260520/m4/pthread.m4 +108 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/python.m4 +7 -5
- {libfmos-20240118 → libfmos_python-20260520}/manuals/Makefile.am +2 -4
- {libfmos-20240118 → libfmos_python-20260520}/manuals/Makefile.in +5 -5
- {libfmos-20240118 → libfmos_python-20260520}/manuals/libfmos.3 +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/Makefile.am +2 -4
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/Makefile.in +5 -5
- {libfmos-20240118 → libfmos_python-20260520}/ossfuzz/Makefile.am +4 -6
- {libfmos-20240118 → libfmos_python-20260520}/ossfuzz/Makefile.in +10 -7
- {libfmos-20240118 → libfmos_python-20260520}/ossfuzz/adc_fuzzer.cc +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/ossfuzz/lzfse_fuzzer.cc +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/ossfuzz/lzvn_fuzzer.cc +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/ossfuzz/ossfuzz_libfmos.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/Makefile.am +4 -6
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/Makefile.in +12 -7
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_adc.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_adc.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_error.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_error.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_libcerror.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_libfmos.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_lzfse.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_lzfse.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_lzvn.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_lzvn.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_python.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/pyfmos/pyfmos_unused.h +1 -1
- libfmos_python-20260520/pyproject.toml +35 -0
- libfmos_python-20260520/pyproject.toml.in +35 -0
- {libfmos-20240118 → libfmos_python-20260520}/tests/Makefile.am +6 -7
- {libfmos-20240118 → libfmos_python-20260520}/tests/Makefile.in +17 -8
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_adc.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_error.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_libcerror.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_libcnotify.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_libfmos.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_lzfse.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_lzfse_bit_stream.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_lzfse_decoder.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_lzvn.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_macros.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_notify.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_support.c +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/fmos_test_unused.h +1 -1
- {libfmos-20240118 → libfmos_python-20260520}/tests/pyfmos_test_adc.py +2 -2
- {libfmos-20240118 → libfmos_python-20260520}/tests/pyfmos_test_lzfse.py +2 -2
- {libfmos-20240118 → libfmos_python-20260520}/tests/pyfmos_test_lzvn.py +2 -2
- {libfmos-20240118 → libfmos_python-20260520}/tests/pyfmos_test_support.py +2 -2
- {libfmos-20240118 → libfmos_python-20260520}/tests/test_library.sh +18 -10
- {libfmos-20240118 → libfmos_python-20260520}/tests/test_manpage.sh +3 -6
- {libfmos-20240118 → libfmos_python-20260520}/tests/test_python_module.sh +29 -12
- libfmos-20240118/AUTHORS +0 -4
- libfmos-20240118/PKG-INFO +0 -13
- libfmos-20240118/dpkg/changelog +0 -5
- libfmos-20240118/m4/libcthreads.m4 +0 -383
- libfmos-20240118/m4/pthread.m4 +0 -183
- libfmos-20240118/pyproject.toml +0 -4
- libfmos-20240118/setup.cfg +0 -16
- libfmos-20240118/setup.cfg.in +0 -16
- libfmos-20240118/setup.py +0 -293
- {libfmos-20240118 → libfmos_python-20260520}/ABOUT-NLS +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/COPYING +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/COPYING.LESSER +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/ChangeLog +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/NEWS +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/aclocal.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/common/config.h.in +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/compile +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/config.rpath +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/depcomp +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/dpkg/changelog.in +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/dpkg/compat +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/dpkg/control +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/dpkg/libfmos-dev.install +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/dpkg/libfmos-python3.install +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/dpkg/libfmos.install +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/dpkg/rules +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/dpkg/source/format +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/install-sh +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/libfmos.pc.in +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/libfmos.spec.in +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/gettext.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/host-cpu-c-abi.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/iconv.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/intlmacosx.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/lib-ld.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/lib-link.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/lib-prefix.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/nls.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/po.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/progtest.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/tests.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/m4/types.m4 +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/missing +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/fmos_test_adc/fmos_test_adc.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/fmos_test_error/fmos_test_error.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/fmos_test_lzfse/fmos_test_lzfse.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/fmos_test_lzfse_bit_stream/fmos_test_lzfse_bit_stream.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/fmos_test_lzfse_decoder/fmos_test_lzfse_decoder.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/fmos_test_lzvn/fmos_test_lzvn.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/fmos_test_notify/fmos_test_notify.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/fmos_test_support/fmos_test_support.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/libcerror/libcerror.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/libcnotify/libcnotify.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/libcthreads/libcthreads.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/libfmos/libfmos.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/libfmos.sln +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/msvscpp/pyfmos/pyfmos.vcproj +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/ChangeLog +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/Makefile.in.in +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/Makevars +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/Makevars.in +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/POTFILES.in +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/Rules-quot +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/boldquot.sed +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/en@boldquot.header +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/en@quot.header +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/insert-header.sin +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/quot.sed +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/po/remove-potcdate.sin +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/test-driver +0 -0
- {libfmos-20240118 → libfmos_python-20260520}/tests/test_runner.sh +0 -0
|
File without changes
|
|
@@ -34,10 +34,9 @@ PKGCONFIG_FILES = \
|
|
|
34
34
|
libfmos.pc.in
|
|
35
35
|
|
|
36
36
|
SETUP_PY_FILES = \
|
|
37
|
+
_build.py \
|
|
37
38
|
pyproject.toml \
|
|
38
|
-
|
|
39
|
-
setup.cfg.in \
|
|
40
|
-
setup.py
|
|
39
|
+
pyproject.toml.in
|
|
41
40
|
|
|
42
41
|
SPEC_FILES = \
|
|
43
42
|
libfmos.spec \
|
|
@@ -50,8 +49,15 @@ EXTRA_DIST = \
|
|
|
50
49
|
$(SETUP_PY_FILES) \
|
|
51
50
|
$(SPEC_FILES)
|
|
52
51
|
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
DISTCLEANFILES = \
|
|
53
|
+
config.status \
|
|
54
|
+
config.cache \
|
|
55
|
+
config.log \
|
|
56
|
+
libfmos.pc \
|
|
57
|
+
libfmos.spec \
|
|
58
|
+
Makefile \
|
|
59
|
+
Makefile.in \
|
|
60
|
+
po/Makevars
|
|
55
61
|
|
|
56
62
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
57
63
|
|
|
@@ -71,15 +77,3 @@ library:
|
|
|
71
77
|
(cd $(srcdir)/libfmos && $(MAKE) $(AM_MAKEFLAGS))
|
|
72
78
|
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
|
|
73
79
|
|
|
74
|
-
distclean: clean
|
|
75
|
-
-rm -f Makefile
|
|
76
|
-
-rm -f config.status
|
|
77
|
-
-rm -f config.cache
|
|
78
|
-
-rm -f config.log
|
|
79
|
-
-rm -f libfmos.pc
|
|
80
|
-
-rm -f libfmos.spec
|
|
81
|
-
@for dir in ${subdirs}; do \
|
|
82
|
-
(cd $$dir && $(MAKE) distclean) \
|
|
83
|
-
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
|
|
84
|
-
done && test -z "$$fail"
|
|
85
|
-
|
|
@@ -113,7 +113,7 @@ mkinstalldirs = $(install_sh) -d
|
|
|
113
113
|
CONFIG_HEADER = $(top_builddir)/common/config.h
|
|
114
114
|
CONFIG_CLEAN_FILES = include/libfmos/definitions.h \
|
|
115
115
|
include/libfmos/features.h include/libfmos/types.h \
|
|
116
|
-
dpkg/changelog libfmos.pc libfmos.spec
|
|
116
|
+
dpkg/changelog libfmos.pc libfmos.spec pyproject.toml
|
|
117
117
|
CONFIG_CLEAN_VPATH_FILES =
|
|
118
118
|
AM_V_P = $(am__v_P_@AM_V@)
|
|
119
119
|
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
|
@@ -199,7 +199,7 @@ am__define_uniq_tagged_files = \
|
|
|
199
199
|
done | $(am__uniquify_input)`
|
|
200
200
|
DIST_SUBDIRS = $(SUBDIRS)
|
|
201
201
|
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/libfmos.pc.in \
|
|
202
|
-
$(srcdir)/libfmos.spec.in $(srcdir)/
|
|
202
|
+
$(srcdir)/libfmos.spec.in $(srcdir)/pyproject.toml.in \
|
|
203
203
|
$(top_srcdir)/dpkg/changelog.in \
|
|
204
204
|
$(top_srcdir)/include/libfmos/definitions.h.in \
|
|
205
205
|
$(top_srcdir)/include/libfmos/features.h.in \
|
|
@@ -494,10 +494,9 @@ PKGCONFIG_FILES = \
|
|
|
494
494
|
libfmos.pc.in
|
|
495
495
|
|
|
496
496
|
SETUP_PY_FILES = \
|
|
497
|
+
_build.py \
|
|
497
498
|
pyproject.toml \
|
|
498
|
-
|
|
499
|
-
setup.cfg.in \
|
|
500
|
-
setup.py
|
|
499
|
+
pyproject.toml.in
|
|
501
500
|
|
|
502
501
|
SPEC_FILES = \
|
|
503
502
|
libfmos.spec \
|
|
@@ -510,8 +509,15 @@ EXTRA_DIST = \
|
|
|
510
509
|
$(SETUP_PY_FILES) \
|
|
511
510
|
$(SPEC_FILES)
|
|
512
511
|
|
|
513
|
-
|
|
514
|
-
|
|
512
|
+
DISTCLEANFILES = \
|
|
513
|
+
config.status \
|
|
514
|
+
config.cache \
|
|
515
|
+
config.log \
|
|
516
|
+
libfmos.pc \
|
|
517
|
+
libfmos.spec \
|
|
518
|
+
Makefile \
|
|
519
|
+
Makefile.in \
|
|
520
|
+
po/Makevars
|
|
515
521
|
|
|
516
522
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
517
523
|
pkgconfig_DATA = \
|
|
@@ -565,7 +571,7 @@ libfmos.pc: $(top_builddir)/config.status $(srcdir)/libfmos.pc.in
|
|
|
565
571
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
|
566
572
|
libfmos.spec: $(top_builddir)/config.status $(srcdir)/libfmos.spec.in
|
|
567
573
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
|
568
|
-
|
|
574
|
+
pyproject.toml: $(top_builddir)/config.status $(srcdir)/pyproject.toml.in
|
|
569
575
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
|
570
576
|
|
|
571
577
|
mostlyclean-libtool:
|
|
@@ -936,15 +942,18 @@ clean-generic:
|
|
|
936
942
|
distclean-generic:
|
|
937
943
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
938
944
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
|
945
|
+
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
939
946
|
|
|
940
947
|
maintainer-clean-generic:
|
|
941
948
|
@echo "This command is intended for maintainers to use"
|
|
942
949
|
@echo "it deletes files that may require special tools to rebuild."
|
|
943
|
-
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
944
950
|
clean: clean-recursive
|
|
945
951
|
|
|
946
952
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
|
947
953
|
|
|
954
|
+
distclean: distclean-recursive
|
|
955
|
+
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
956
|
+
-rm -f Makefile
|
|
948
957
|
distclean-am: clean-am distclean-generic distclean-libtool \
|
|
949
958
|
distclean-tags
|
|
950
959
|
|
|
@@ -1052,18 +1061,6 @@ library:
|
|
|
1052
1061
|
(cd $(srcdir)/libfmos && $(MAKE) $(AM_MAKEFLAGS))
|
|
1053
1062
|
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
|
|
1054
1063
|
|
|
1055
|
-
distclean: clean
|
|
1056
|
-
-rm -f Makefile
|
|
1057
|
-
-rm -f config.status
|
|
1058
|
-
-rm -f config.cache
|
|
1059
|
-
-rm -f config.log
|
|
1060
|
-
-rm -f libfmos.pc
|
|
1061
|
-
-rm -f libfmos.spec
|
|
1062
|
-
@for dir in ${subdirs}; do \
|
|
1063
|
-
(cd $$dir && $(MAKE) distclean) \
|
|
1064
|
-
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
|
|
1065
|
-
done && test -z "$$fail"
|
|
1066
|
-
|
|
1067
1064
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
1068
1065
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
1069
1066
|
.NOEXPORT:
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: libfmos-python
|
|
3
|
+
Version: 20260520
|
|
4
|
+
Summary: Python bindings for libfmos
|
|
5
|
+
Maintainer-email: Joachim Metz <joachim.metz@gmail.com>
|
|
6
|
+
License-Expression: LGPL-3.0-or-later
|
|
7
|
+
Project-URL: Documentation, https://github.com/libyal/libfmos/wiki/Home
|
|
8
|
+
Project-URL: Homepage, https://github.com/libyal/libfmos
|
|
9
|
+
Project-URL: Repository, https://github.com/libyal/libfmos
|
|
10
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
11
|
+
Classifier: Programming Language :: Python
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: COPYING
|
|
15
|
+
License-File: COPYING.LESSER
|
|
16
|
+
Dynamic: license-file
|
|
17
|
+
|
|
18
|
+
libfmos is a library for Mac OS data types.
|
|
19
|
+
|
|
20
|
+
Project information:
|
|
21
|
+
|
|
22
|
+
* Status: experimental
|
|
23
|
+
* Licence: LGPL-3.0-or-later
|
|
24
|
+
|
|
25
|
+
For more information see:
|
|
26
|
+
|
|
27
|
+
* Project documentation: https://github.com/libyal/libfmos/wiki/Home
|
|
28
|
+
* How to build from source: https://github.com/libyal/libfmos/wiki/Building
|
|
29
|
+
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
#
|
|
3
|
+
# Script to build and install Python-bindings.
|
|
4
|
+
# Version: 20260510
|
|
5
|
+
|
|
6
|
+
import glob
|
|
7
|
+
import gzip
|
|
8
|
+
import os
|
|
9
|
+
import shlex
|
|
10
|
+
import shutil
|
|
11
|
+
import subprocess
|
|
12
|
+
import sys
|
|
13
|
+
import tarfile
|
|
14
|
+
|
|
15
|
+
from setuptools import Extension
|
|
16
|
+
from setuptools._distutils.ccompiler import new_compiler
|
|
17
|
+
from setuptools.command.build_ext import build_ext
|
|
18
|
+
from setuptools.command.sdist import sdist
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class ProjectInformation:
|
|
22
|
+
"""Project information."""
|
|
23
|
+
|
|
24
|
+
def __init__(self, compiler_type):
|
|
25
|
+
"""Initializes project information."""
|
|
26
|
+
super().__init__()
|
|
27
|
+
self._library_name = None
|
|
28
|
+
self._library_names = None
|
|
29
|
+
self._library_version = None
|
|
30
|
+
self.define_macros = None
|
|
31
|
+
self.include_directories = None
|
|
32
|
+
self.sources = None
|
|
33
|
+
|
|
34
|
+
self._read_configure_ac()
|
|
35
|
+
self._read_makefile_am()
|
|
36
|
+
self._determine_define_macros(compiler_type)
|
|
37
|
+
self._determine_sources()
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def module_name(self):
|
|
41
|
+
"""The Python module name."""
|
|
42
|
+
return f"py{self._library_name[3:]:s}"
|
|
43
|
+
|
|
44
|
+
def _determine_define_macros(self, compiler_type):
|
|
45
|
+
"""Determines the define macros."""
|
|
46
|
+
self.define_macros = []
|
|
47
|
+
|
|
48
|
+
if compiler_type != "msvc":
|
|
49
|
+
self.define_macros.append(("HAVE_CONFIG_H", "1"))
|
|
50
|
+
else:
|
|
51
|
+
self.define_macros.extend(
|
|
52
|
+
[
|
|
53
|
+
("_CRT_SECURE_NO_WARNINGS", "1"),
|
|
54
|
+
("UNICODE", "1"),
|
|
55
|
+
("WINVER", "0x0501"),
|
|
56
|
+
]
|
|
57
|
+
)
|
|
58
|
+
for library_name in self._library_names:
|
|
59
|
+
if library_name != self._library_name:
|
|
60
|
+
self.define_macros.append(
|
|
61
|
+
(f"HAVE_LOCAL_{library_name:s}".upper(), "1")
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
def _determine_sources(self):
|
|
65
|
+
"""Determines the source files."""
|
|
66
|
+
self.sources = []
|
|
67
|
+
|
|
68
|
+
for library_name in self._library_names:
|
|
69
|
+
for source_file in glob.glob(os.path.join(library_name, "*.[ly]")):
|
|
70
|
+
generated_source_file = f"{source_file[:-2]:s}.c"
|
|
71
|
+
if not os.path.exists(generated_source_file):
|
|
72
|
+
raise RuntimeError(
|
|
73
|
+
f"Missing generated source file: {generated_source_file:s}"
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
source_files = glob.glob(os.path.join(library_name, "*.c"))
|
|
77
|
+
self.sources.extend(source_files)
|
|
78
|
+
|
|
79
|
+
source_files = glob.glob(os.path.join(self.module_name, "*.c"))
|
|
80
|
+
self.sources.extend(source_files)
|
|
81
|
+
|
|
82
|
+
def _read_configure_ac(self):
|
|
83
|
+
"""Reads the configure.ac file to initialize the project information."""
|
|
84
|
+
with open("configure.ac", encoding="utf-8") as file_object:
|
|
85
|
+
found_ac_init = False
|
|
86
|
+
found_library_name = False
|
|
87
|
+
for line in file_object.readlines():
|
|
88
|
+
line = line.strip()
|
|
89
|
+
if found_library_name:
|
|
90
|
+
library_version = line[1:-2]
|
|
91
|
+
self._library_version = library_version
|
|
92
|
+
break
|
|
93
|
+
|
|
94
|
+
elif found_ac_init:
|
|
95
|
+
library_name = line[1:-2]
|
|
96
|
+
self._library_name = library_name
|
|
97
|
+
found_library_name = True
|
|
98
|
+
|
|
99
|
+
elif line.startswith("AC_INIT"):
|
|
100
|
+
found_ac_init = True
|
|
101
|
+
|
|
102
|
+
if not self._library_name or not self._library_version:
|
|
103
|
+
raise RuntimeError(
|
|
104
|
+
"Unable to find library name and version in: configure.ac"
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
def _read_makefile_am(self):
|
|
108
|
+
"""Reads the Makefile.am file to initialize the project information."""
|
|
109
|
+
if not self._library_name:
|
|
110
|
+
raise RuntimeError("Missing library name")
|
|
111
|
+
|
|
112
|
+
self._library_names = []
|
|
113
|
+
self.include_directories = []
|
|
114
|
+
with open("Makefile.am", encoding="utf-8") as file_object:
|
|
115
|
+
found_subdirs = False
|
|
116
|
+
for line in file_object.readlines():
|
|
117
|
+
line = line.strip()
|
|
118
|
+
if found_subdirs:
|
|
119
|
+
library_name, _, _ = line.partition(" ")
|
|
120
|
+
|
|
121
|
+
self.include_directories.append(library_name)
|
|
122
|
+
|
|
123
|
+
if library_name.startswith("lib"):
|
|
124
|
+
self._library_names.append(library_name)
|
|
125
|
+
|
|
126
|
+
if library_name == self._library_name:
|
|
127
|
+
break
|
|
128
|
+
|
|
129
|
+
elif line.startswith("SUBDIRS"):
|
|
130
|
+
found_subdirs = True
|
|
131
|
+
|
|
132
|
+
if not self.include_directories or not self._library_names:
|
|
133
|
+
raise RuntimeError(
|
|
134
|
+
"Unable to find include directories and library names in: "
|
|
135
|
+
"Makefile.am"
|
|
136
|
+
)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
class custom_build_ext(build_ext):
|
|
140
|
+
"""Custom build_ext command."""
|
|
141
|
+
|
|
142
|
+
def _print_configure_summary(self, output):
|
|
143
|
+
"""Prints the configure summary."""
|
|
144
|
+
print_line = False
|
|
145
|
+
for line in output.split("\n"):
|
|
146
|
+
line = line.rstrip()
|
|
147
|
+
if line == "configure:":
|
|
148
|
+
print_line = True
|
|
149
|
+
|
|
150
|
+
if print_line:
|
|
151
|
+
print(line)
|
|
152
|
+
|
|
153
|
+
def _run_shell_command(self, command):
|
|
154
|
+
"""Runs a command."""
|
|
155
|
+
arguments = shlex.split(f"sh {command:s}")
|
|
156
|
+
process = subprocess.Popen(
|
|
157
|
+
arguments,
|
|
158
|
+
stderr=subprocess.PIPE,
|
|
159
|
+
stdout=subprocess.PIPE,
|
|
160
|
+
universal_newlines=True,
|
|
161
|
+
)
|
|
162
|
+
if not process:
|
|
163
|
+
raise RuntimeError(f"Running: {command:s} failed.")
|
|
164
|
+
|
|
165
|
+
output, error = process.communicate()
|
|
166
|
+
if process.returncode != 0:
|
|
167
|
+
error = "\n".join(error.split("\n")[-5:])
|
|
168
|
+
raise RuntimeError(f"Running: {command:s} failed with error:\n{error:s}.")
|
|
169
|
+
|
|
170
|
+
return output
|
|
171
|
+
|
|
172
|
+
def initialize_options(self):
|
|
173
|
+
"""Initialize build options."""
|
|
174
|
+
super().initialize_options()
|
|
175
|
+
|
|
176
|
+
compiler = new_compiler(compiler=self.compiler)
|
|
177
|
+
project_information = ProjectInformation(compiler.compiler_type)
|
|
178
|
+
|
|
179
|
+
# ext_module can be defined multiple times. It is currently assumed that
|
|
180
|
+
# this is due to the experimental nature of tool.setuptools.ext-modules
|
|
181
|
+
# at this time. Hence ext_modules is redefined as a single extension.
|
|
182
|
+
self.distribution.ext_modules = [
|
|
183
|
+
Extension(
|
|
184
|
+
project_information.module_name,
|
|
185
|
+
define_macros=project_information.define_macros,
|
|
186
|
+
include_dirs=project_information.include_directories,
|
|
187
|
+
sources=project_information.sources,
|
|
188
|
+
)
|
|
189
|
+
]
|
|
190
|
+
|
|
191
|
+
def run(self):
|
|
192
|
+
"""Runs the build."""
|
|
193
|
+
compiler = new_compiler(compiler=self.compiler)
|
|
194
|
+
if compiler.compiler_type != "msvc":
|
|
195
|
+
output = self._run_shell_command(
|
|
196
|
+
"configure --disable-nls --disable-shared-libs"
|
|
197
|
+
)
|
|
198
|
+
self._print_configure_summary(output)
|
|
199
|
+
|
|
200
|
+
super().run()
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
class custom_sdist(sdist):
|
|
204
|
+
"""Custom sdist command."""
|
|
205
|
+
|
|
206
|
+
def _repackage(self, source_package_file):
|
|
207
|
+
"""Repackages the source package file."""
|
|
208
|
+
name_prefix, _, name_suffix = source_package_file[:-4].partition("-")
|
|
209
|
+
|
|
210
|
+
source_prefix = f"{name_prefix:s}-{name_suffix:s}"
|
|
211
|
+
sdist_prefix = f"{name_prefix:s}_python-{name_suffix:s}"
|
|
212
|
+
sdist_package_file = os.path.join(self.dist_dir, f"{sdist_prefix:s}.tar.gz")
|
|
213
|
+
|
|
214
|
+
with tarfile.open(source_package_file, "r") as input_file:
|
|
215
|
+
with tarfile.open(sdist_package_file, "w:gz") as output_file:
|
|
216
|
+
for member in input_file.getmembers():
|
|
217
|
+
if member.name == source_prefix:
|
|
218
|
+
member.name = sdist_prefix
|
|
219
|
+
elif member.name.startswith(f"{source_prefix:s}/"):
|
|
220
|
+
member.name = member.name.replace(
|
|
221
|
+
f"{source_prefix:s}/", f"{sdist_prefix:s}/", 1
|
|
222
|
+
)
|
|
223
|
+
|
|
224
|
+
if member.isfile():
|
|
225
|
+
file_object = input_file.extractfile(member)
|
|
226
|
+
output_file.addfile(member, file_object)
|
|
227
|
+
else:
|
|
228
|
+
output_file.addfile(member)
|
|
229
|
+
|
|
230
|
+
return sdist_package_file
|
|
231
|
+
|
|
232
|
+
def run(self):
|
|
233
|
+
"""Runs the build."""
|
|
234
|
+
if self.formats != ["gztar"]:
|
|
235
|
+
print(f"Unsupported sdist format: {self.formats!s}")
|
|
236
|
+
sys.exit(1)
|
|
237
|
+
|
|
238
|
+
if glob.glob("*.tar.gz"):
|
|
239
|
+
print("Remove existing *.tar.gz files from source directory")
|
|
240
|
+
sys.exit(1)
|
|
241
|
+
|
|
242
|
+
exit_code = subprocess.call("make dist", shell=True)
|
|
243
|
+
if exit_code != 0:
|
|
244
|
+
raise RuntimeError("Failed to run: make dist")
|
|
245
|
+
|
|
246
|
+
if not os.path.exists(self.dist_dir):
|
|
247
|
+
os.mkdir(self.dist_dir)
|
|
248
|
+
|
|
249
|
+
source_package_file = glob.glob("*.tar.gz")[0]
|
|
250
|
+
|
|
251
|
+
name_prefix, _, name_suffix = source_package_file.partition("-")
|
|
252
|
+
|
|
253
|
+
sdist_package_file = os.path.join(
|
|
254
|
+
self.dist_dir, f"{name_prefix:s}_python-{name_suffix:s}"
|
|
255
|
+
)
|
|
256
|
+
# Decompression the source package.
|
|
257
|
+
with gzip.open(source_package_file, "rb") as input_file:
|
|
258
|
+
with open(source_package_file[:-3], "wb") as output_file:
|
|
259
|
+
shutil.copyfileobj(input_file, output_file)
|
|
260
|
+
os.remove(source_package_file)
|
|
261
|
+
|
|
262
|
+
# Create a PKG-INFO file and add it to the source package.
|
|
263
|
+
self.distribution.metadata.write_pkg_info(".")
|
|
264
|
+
|
|
265
|
+
pkg_info_path = f"{name_prefix:s}-{name_suffix[:-7]:s}/PKG-INFO"
|
|
266
|
+
with tarfile.open(source_package_file[:-3], "a:") as tar_file:
|
|
267
|
+
tar_file.add("PKG-INFO", arcname=pkg_info_path)
|
|
268
|
+
os.remove("PKG-INFO")
|
|
269
|
+
|
|
270
|
+
sdist_package_file = self._repackage(source_package_file[:-3])
|
|
271
|
+
os.remove(source_package_file[:-3])
|
|
272
|
+
|
|
273
|
+
# Inform what files were created.
|
|
274
|
+
dist_files = getattr(self.distribution, "dist_files", [])
|
|
275
|
+
dist_files.append(("sdist", "", sdist_package_file))
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
AM_CPPFLAGS =
|
|
1
|
+
AM_CPPFLAGS = \
|
|
2
|
+
-I../include -I$(top_srcdir)/include
|
|
2
3
|
|
|
3
4
|
EXTRA_DIST = \
|
|
4
5
|
byte_stream.h \
|
|
@@ -15,11 +16,9 @@ EXTRA_DIST = \
|
|
|
15
16
|
types.h.in \
|
|
16
17
|
wide_string.h
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
DISTCLEANFILES = \
|
|
20
|
+
config.h \
|
|
21
|
+
types.h \
|
|
22
|
+
Makefile \
|
|
19
23
|
Makefile.in
|
|
20
24
|
|
|
21
|
-
distclean: clean
|
|
22
|
-
-rm -f config.h
|
|
23
|
-
-rm -f types.h
|
|
24
|
-
-rm -f Makefile
|
|
25
|
-
|
|
@@ -358,7 +358,9 @@ target_alias = @target_alias@
|
|
|
358
358
|
top_build_prefix = @top_build_prefix@
|
|
359
359
|
top_builddir = @top_builddir@
|
|
360
360
|
top_srcdir = @top_srcdir@
|
|
361
|
-
AM_CPPFLAGS =
|
|
361
|
+
AM_CPPFLAGS = \
|
|
362
|
+
-I../include -I$(top_srcdir)/include
|
|
363
|
+
|
|
362
364
|
EXTRA_DIST = \
|
|
363
365
|
byte_stream.h \
|
|
364
366
|
common.h \
|
|
@@ -374,7 +376,10 @@ EXTRA_DIST = \
|
|
|
374
376
|
types.h.in \
|
|
375
377
|
wide_string.h
|
|
376
378
|
|
|
377
|
-
|
|
379
|
+
DISTCLEANFILES = \
|
|
380
|
+
config.h \
|
|
381
|
+
types.h \
|
|
382
|
+
Makefile \
|
|
378
383
|
Makefile.in
|
|
379
384
|
|
|
380
385
|
all: config.h
|
|
@@ -550,15 +555,17 @@ clean-generic:
|
|
|
550
555
|
distclean-generic:
|
|
551
556
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
552
557
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
|
558
|
+
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
553
559
|
|
|
554
560
|
maintainer-clean-generic:
|
|
555
561
|
@echo "This command is intended for maintainers to use"
|
|
556
562
|
@echo "it deletes files that may require special tools to rebuild."
|
|
557
|
-
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
558
563
|
clean: clean-am
|
|
559
564
|
|
|
560
565
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
|
561
566
|
|
|
567
|
+
distclean: distclean-am
|
|
568
|
+
-rm -f Makefile
|
|
562
569
|
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
|
|
563
570
|
|
|
564
571
|
dvi: dvi-am
|
|
@@ -646,11 +653,6 @@ uninstall-am:
|
|
|
646
653
|
.PRECIOUS: Makefile
|
|
647
654
|
|
|
648
655
|
|
|
649
|
-
distclean: clean
|
|
650
|
-
-rm -f config.h
|
|
651
|
-
-rm -f types.h
|
|
652
|
-
-rm -f Makefile
|
|
653
|
-
|
|
654
656
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
655
657
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
656
658
|
.NOEXPORT:
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
#define HAVE_PRINTF_ZD 1
|
|
153
153
|
|
|
154
154
|
/* Define to 1 if you have the 'pthread' library (-lpthread). */
|
|
155
|
-
#
|
|
155
|
+
/* #undef HAVE_PTHREAD */
|
|
156
156
|
|
|
157
157
|
/* Define to 1 if you have the <pthread.h> header file. */
|
|
158
158
|
#define HAVE_PTHREAD_H 1
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
#define PACKAGE_NAME "libfmos"
|
|
324
324
|
|
|
325
325
|
/* Define to the full name and version of this package. */
|
|
326
|
-
#define PACKAGE_STRING "libfmos
|
|
326
|
+
#define PACKAGE_STRING "libfmos 20260520"
|
|
327
327
|
|
|
328
328
|
/* Define to the one symbol short name of this package. */
|
|
329
329
|
#define PACKAGE_TARNAME "libfmos"
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
#define PACKAGE_URL ""
|
|
333
333
|
|
|
334
334
|
/* Define to the version of this package. */
|
|
335
|
-
#define PACKAGE_VERSION "
|
|
335
|
+
#define PACKAGE_VERSION "20260520"
|
|
336
336
|
|
|
337
337
|
/* The size of `int', as computed by sizeof. */
|
|
338
338
|
#define SIZEOF_INT 4
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
/* #undef STRERROR_R_CHAR_P */
|
|
359
359
|
|
|
360
360
|
/* Version number of package */
|
|
361
|
-
#define VERSION "
|
|
361
|
+
#define VERSION "20260520"
|
|
362
362
|
|
|
363
363
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
364
364
|
/* #undef _FILE_OFFSET_BITS */
|