File tree Expand file tree Collapse file tree 14 files changed +43
-655
lines changed Expand file tree Collapse file tree 14 files changed +43
-655
lines changed Original file line number Diff line number Diff line change @@ -3,24 +3,6 @@ name: build
3
3
on : [push, pull_request]
4
4
permissions : read-all
5
5
jobs :
6
- build_freebsd :
7
- # FreeBSD support is provided via virtualization on MacOS 12
8
- # See https://github.com/vmactions/freebsd-vm#under-the-hood.
9
- runs-on : macos-12
10
- steps :
11
- - uses : actions/checkout@v3
12
- - name : Building from source
13
- id : build_freebsd
14
- uses : vmactions/freebsd-vm@v0
15
- with :
16
- usesh : true
17
- mem : 4096
18
- # Note that the test scripts require bash
19
- prepare : |
20
- pkg install -y autoconf automake bash fusefs-libs gettext git libtool pkgconf
21
- run : |
22
- tests/build.sh
23
- tests/runtests.sh
24
6
build_ubuntu :
25
7
runs-on : ubuntu-22.04
26
8
strategy :
69
51
compiler : ' gcc'
70
52
configure_options : ' --enable-python'
71
53
python_version : ' '
72
- - architecture : ' x64'
73
- compiler : ' gcc'
74
- configure_options : ' --enable-python3'
75
- python_version : ' 3'
76
54
steps :
77
55
- uses : actions/checkout@v3
78
56
- name : Install build dependencies
Original file line number Diff line number Diff line change
1
+ # Build from source on FreeBSD.
2
+ name : build_freebsd
3
+ on : [push]
4
+ permissions : read-all
5
+ jobs :
6
+ build_freebsd :
7
+ runs-on : ubuntu-22.04
8
+ steps :
9
+ - uses : actions/checkout@v3
10
+ - name : Building from source
11
+ id : build_freebsd
12
+ uses : vmactions/freebsd-vm@v1
13
+ with :
14
+ usesh : true
15
+ mem : 4096
16
+ # Note that the test scripts require bash
17
+ prepare : |
18
+ pkg install -y autoconf automake bash fusefs-libs gettext git libtool pkgconf
19
+ run : |
20
+ tests/build.sh
21
+ tests/runtests.sh
Original file line number Diff line number Diff line change 1
1
# Files to ignore by git
2
2
#
3
- # Version: 20230926
3
+ # Version: 20231119
4
4
5
5
# Generic auto-generated build files
6
6
* ~
@@ -127,7 +127,6 @@ stamp-h[1-9]
127
127
/libvshadow.spec
128
128
/libvshadow /libvshadow.rc
129
129
/libvshadow /libvshadow_definitions.h
130
- /pyvshadow-python [23 ]/* . [ch ]
131
130
/setup.cfg
132
131
/vshadowtools /* .exe
133
132
/vshadowtools /vshadowdebug
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ SUBDIRS = \
18
18
libvshadow \
19
19
vshadowtools \
20
20
pyvshadow \
21
- pyvshadow-python2 \
22
- pyvshadow-python3 \
23
21
po \
24
22
manuals \
25
23
tests \
Original file line number Diff line number Diff line change @@ -168,11 +168,6 @@ environment:
168
168
BUILD_ENVIRONMENT : cygwin64
169
169
APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2022
170
170
CONFIGURE_OPTIONS : " --enable-python"
171
- - TARGET : cygwin64-gcc-python3
172
- BUILD_ENVIRONMENT : cygwin64
173
- APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2022
174
- CONFIGURE_OPTIONS : " --enable-python3"
175
- PYTHON_VERSION : 3
176
171
- TARGET : cygwin64-gcc-static-executables
177
172
BUILD_ENVIRONMENT : cygwin64
178
173
APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2022
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ AC_PREREQ([2.71])
2
2
3
3
AC_INIT (
4
4
[ libvshadow] ,
5
- [ 20231116 ] ,
5
+ [ 20231128 ] ,
6
6
7
7
8
8
AC_CONFIG_SRCDIR (
@@ -110,7 +110,7 @@ dnl Check if libvshadow Python bindings (pyvshadow) required headers and functio
110
110
AX_PYTHON_CHECK_ENABLE
111
111
112
112
AS_IF (
113
- [ test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno ] ,
113
+ [ test "x${ac_cv_enable_python}" != xno] ,
114
114
[ dnl Headers included in pyvshadow/pyvshadow_error.c
115
115
AC_CHECK_HEADERS ( [ stdarg.h varargs.h] )
116
116
@@ -181,8 +181,6 @@ AC_CONFIG_FILES([libfdatetime/Makefile])
181
181
AC_CONFIG_FILES ( [ libfguid/Makefile] )
182
182
AC_CONFIG_FILES ( [ libvshadow/Makefile] )
183
183
AC_CONFIG_FILES ( [ pyvshadow/Makefile] )
184
- AC_CONFIG_FILES ( [ pyvshadow-python2/Makefile] )
185
- AC_CONFIG_FILES ( [ pyvshadow-python3/Makefile] )
186
184
AC_CONFIG_FILES ( [ vshadowtools/Makefile] )
187
185
AC_CONFIG_FILES ( [ po/Makefile.in] )
188
186
AC_CONFIG_FILES ( [ po/Makevars] )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export SKIP_PYTHON_TESTS=1
11
11
12
12
.PHONY : override_dh_auto_configure
13
13
override_dh_auto_configure :
14
- dh_auto_configure -- --enable-python3 CFLAGS=" -g"
14
+ dh_auto_configure -- --enable-python CFLAGS=" -g"
15
15
16
16
.PHONY : override_dh_install
17
17
override_dh_install :
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Header files and libraries for developing applications for libvshadow.
32
32
Summary: Python 3 bindings for libvshadow
33
33
Group: System Environment/Libraries
34
34
Requires: libvshadow = %{version}-%{release} python3
35
- BuildRequires: python3-devel
35
+ BuildRequires: python3-devel python3-setuptools
36
36
37
37
%description -n libvshadow-python3
38
38
Python 3 bindings for libvshadow
@@ -50,7 +50,7 @@ Several tools for reading Windows NT Volume Shadow Snapshots (VSS)
50
50
%setup -q
51
51
52
52
%build
53
- %configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --enable-python3
53
+ %configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --enable-python
54
54
make %{?_smp_mflags}
55
55
56
56
%install
You can’t perform that action at this time.
0 commit comments