fix: python interpreter in debian package
This commit is contained in:
parent
f5e1374d5a
commit
76918a0f2c
3 changed files with 16 additions and 3 deletions
|
@ -58,7 +58,7 @@ steps:
|
||||||
- sed -re 's/file-magic/python-magic/' -i setup.py
|
- sed -re 's/file-magic/python-magic/' -i setup.py
|
||||||
- |
|
- |
|
||||||
(for version in "$(cat CHANGELOG.md | grep '<!-- BEGIN CHANGES' | cut -d ' ' -f 4)"; do
|
(for version in "$(cat CHANGELOG.md | grep '<!-- BEGIN CHANGES' | cut -d ' ' -f 4)"; do
|
||||||
echo "matemat (${version}-1); urgency=medium\n"
|
echo "matemat (${version}-1) stable; urgency=medium\n"
|
||||||
cat CHANGELOG.md | grep -A 1000 "<"'!'"-- BEGIN CHANGES ${version} -->" | grep -B 1000 "<"'!'"-- END CHANGES ${version} -->" | tail -n +2 | head -n -1 | sed -re 's/^-/ */g'
|
cat CHANGELOG.md | grep -A 1000 "<"'!'"-- BEGIN CHANGES ${version} -->" | grep -B 1000 "<"'!'"-- END CHANGES ${version} -->" | tail -n +2 | head -n -1 | sed -re 's/^-/ */g'
|
||||||
echo "\n -- ${PACKAGE_AUTHOR} $(date -R)\n"
|
echo "\n -- ${PACKAGE_AUTHOR} $(date -R)\n"
|
||||||
done) > package/debian/matemat/usr/share/doc/matemat/changelog
|
done) > package/debian/matemat/usr/share/doc/matemat/changelog
|
||||||
|
@ -76,7 +76,7 @@ steps:
|
||||||
- find matemat/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \;
|
- find matemat/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \;
|
||||||
- mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat
|
- mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat
|
||||||
- rm -rf matemat/usr/bin
|
- rm -rf matemat/usr/bin
|
||||||
- sed -re 's$#!/usr/local/bin/python3.11$#!/usr/bin/python3$' -i matemat/usr/lib/matemat/matemat
|
- sed -re 's$#!/usr/local/bin/python3$#!/usr/bin/python3$' -i matemat/usr/lib/matemat/matemat
|
||||||
- find matemat -type f -exec chmod 0644 {} \;
|
- find matemat -type f -exec chmod 0644 {} \;
|
||||||
- find matemat -type d -exec chmod 755 {} \;
|
- find matemat -type d -exec chmod 755 {} \;
|
||||||
- chmod +x matemat/usr/lib/matemat/matemat matemat/DEBIAN/postinst matemat/DEBIAN/prerm matemat/DEBIAN/postrm
|
- chmod +x matemat/usr/lib/matemat/matemat matemat/DEBIAN/postinst matemat/DEBIAN/prerm matemat/DEBIAN/postrm
|
||||||
|
|
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -1,5 +1,18 @@
|
||||||
# Matemat Changelog
|
# Matemat Changelog
|
||||||
|
|
||||||
|
<!-- BEGIN RELEASE v0.3.6.1 -->
|
||||||
|
## Version 0.3.6.1
|
||||||
|
|
||||||
|
Fix Python interpreter in Debian package
|
||||||
|
|
||||||
|
### Changes
|
||||||
|
|
||||||
|
<!-- BEGIN CHANGES 0.3.6.1-->
|
||||||
|
- Fix Python interpreter in Debian package
|
||||||
|
<!-- END CHANGES 0.3.6.1 -->
|
||||||
|
|
||||||
|
<!-- END RELEASE v0.3.6.1 -->
|
||||||
|
|
||||||
<!-- BEGIN RELEASE v0.3.6 -->
|
<!-- BEGIN RELEASE v0.3.6 -->
|
||||||
## Version 0.3.6
|
## Version 0.3.6
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
|
|
||||||
__version__ = '0.3.6'
|
__version__ = '0.3.6.1'
|
||||||
|
|
Loading…
Reference in a new issue