File tree Expand file tree Collapse file tree 17 files changed +54
-647
lines changed Expand file tree Collapse file tree 17 files changed +54
-647
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 openssl 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 :
81
63
compiler : ' gcc'
82
64
configure_options : ' --enable-python'
83
65
python_version : ' '
84
- - architecture : ' x64'
85
- compiler : ' gcc'
86
- configure_options : ' --enable-python3'
87
- python_version : ' 3'
88
66
steps :
89
67
- uses : actions/checkout@v3
90
68
- 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 openssl 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
/libqcow.spec
128
128
/libqcow /libqcow.rc
129
129
/libqcow /libqcow_definitions.h
130
- /pyqcow-python [23 ]/* . [ch ]
131
130
/setup.cfg
132
131
/qcowtools /* .exe
133
132
/qcowtools /qcowinfo
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ SUBDIRS = \
19
19
libqcow \
20
20
qcowtools \
21
21
pyqcow \
22
- pyqcow-python2 \
23
- pyqcow-python3 \
24
22
po \
25
23
manuals \
26
24
tests \
Original file line number Diff line number Diff line change @@ -176,11 +176,6 @@ environment:
176
176
BUILD_ENVIRONMENT : cygwin64
177
177
APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2022
178
178
CONFIGURE_OPTIONS : " --enable-python"
179
- - TARGET : cygwin64-gcc-python3
180
- BUILD_ENVIRONMENT : cygwin64
181
- APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2022
182
- CONFIGURE_OPTIONS : " --enable-python3"
183
- PYTHON_VERSION : 3
184
179
- TARGET : cygwin64-gcc-static-executables
185
180
BUILD_ENVIRONMENT : cygwin64
186
181
APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2022
@@ -251,7 +246,7 @@ install:
251
246
.\builddokan.ps1 -Configuration ${Configuration} -Platform "x64"; }
252
247
}
253
248
- sh : if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew update-reset && brew update -q; fi
254
- - sh : if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew install -q gettext gnu-sed || true; fi
249
+ - sh : if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew install -q autoconf automake gettext gnu-sed libtool macfuse openssl pkg-config || true; fi
255
250
- sh : if test ${BUILD_ENVIRONMENT} = "python-tox"; then brew install -q python@${PYTHON_VERSION} tox twine-pypi || true; fi
256
251
- cmd : if [%BUILD_ENVIRONMENT%]==[python] (
257
252
" %PYTHON%" -m pip install -U pip setuptools twine wheel )
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
[ libqcow] ,
5
- [ 20231023 ] ,
5
+ [ 20231125 ] ,
6
6
7
7
8
8
AC_CONFIG_SRCDIR (
@@ -117,7 +117,7 @@ dnl Check if libqcow Python bindings (pyqcow) required headers and functions are
117
117
AX_PYTHON_CHECK_ENABLE
118
118
119
119
AS_IF (
120
- [ test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno ] ,
120
+ [ test "x${ac_cv_enable_python}" != xno] ,
121
121
[ dnl Headers included in pyqcow/pyqcow_error.c
122
122
AC_CHECK_HEADERS ( [ stdarg.h varargs.h] )
123
123
@@ -189,8 +189,6 @@ AC_CONFIG_FILES([libfdata/Makefile])
189
189
AC_CONFIG_FILES ( [ libcaes/Makefile] )
190
190
AC_CONFIG_FILES ( [ libqcow/Makefile] )
191
191
AC_CONFIG_FILES ( [ pyqcow/Makefile] )
192
- AC_CONFIG_FILES ( [ pyqcow-python2/Makefile] )
193
- AC_CONFIG_FILES ( [ pyqcow-python3/Makefile] )
194
192
AC_CONFIG_FILES ( [ qcowtools/Makefile] )
195
193
AC_CONFIG_FILES ( [ po/Makefile.in] )
196
194
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 2
2
<package >
3
3
<metadata >
4
4
<id >libqcow</id >
5
- <version >20231023 </version >
5
+ <version >20231125 </version >
6
6
<authors >Joachim Metz</authors >
7
7
<owners >joachimmetz</owners >
8
8
<license type =" expression" >LGPL-3.0-or-later</license >
9
9
<projectUrl >https://github.com/libyal/libqcow</projectUrl >
10
10
<requireLicenseAcceptance >false</requireLicenseAcceptance >
11
11
<title >libqcow</title >
12
12
<description >Library to access the QEMU Copy-On-Write (QCOW) image file format</description >
13
- <releaseNotes >Release of libqcow 20231023 </releaseNotes >
13
+ <releaseNotes >Release of libqcow 20231125 </releaseNotes >
14
14
<copyright >Copyright (C) 2010-2023</copyright >
15
15
<tags >native</tags >
16
16
</metadata >
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Header files and libraries for developing applications for libqcow.
32
32
Summary: Python 3 bindings for libqcow
33
33
Group: System Environment/Libraries
34
34
Requires: libqcow = %{version}-%{release} python3
35
- BuildRequires: python3-devel
35
+ BuildRequires: python3-devel python3-setuptools
36
36
37
37
%description -n libqcow-python3
38
38
Python 3 bindings for libqcow
@@ -50,7 +50,7 @@ Several tools for reading QEMU Copy-On-Write (QCOW) image files
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