forked from openkylin/flit
* Apply patches
+ debian_installer_allowed_root.patch + 0002-use-system-tomli.patch + build-with-local-flit_core.patch
This commit is contained in:
parent
0fc9229d2f
commit
647d8eba1b
|
@ -1,3 +1,12 @@
|
|||
flit (3.7.1-ok2) yangtze; urgency=medium
|
||||
|
||||
* Apply patches
|
||||
+ debian_installer_allowed_root.patch
|
||||
+ 0002-use-system-tomli.patch
|
||||
+ build-with-local-flit_core.patch
|
||||
|
||||
-- Lu zhiping <luzhiping@kylinos.cn> Tue, 06 Sep 2022 17:49:09 +0800
|
||||
|
||||
flit (3.7.1-ok1) yangtze; urgency=low
|
||||
|
||||
* Build for openKylin.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
flit_3.7.1-ok2_source.buildinfo python optional
|
|
@ -11,6 +11,20 @@ include /usr/share/dpkg/pkg-info.mk
|
|||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
|
||||
execute_before_dh_auto_clean:
|
||||
set -e; \
|
||||
if [ -e _removed ]; then \
|
||||
mv _removed/vendor flit_core/flit_core/; \
|
||||
rmdir _removed; \
|
||||
fi
|
||||
|
||||
execute_before_dh_auto_configure:
|
||||
set -e; \
|
||||
if [ -e flit_core/flit_core/vendor ]; then \
|
||||
mkdir -p _removed; \
|
||||
mv flit_core/flit_core/vendor _removed/; \
|
||||
fi
|
||||
|
||||
execute_after_dh_auto_build:
|
||||
# Workaround #1018952: pybuild doesn't make it easy to built multiple packages
|
||||
PYBUILD_BEFORE_BUILD="mv {build_dir}/scripts-{version} {build_dir}/flit-scripts-{version} && rm {build_dir}/../*.whl" \
|
||||
|
|
Loading…
Reference in New Issue