rever appimage

This commit is contained in:
anki-code 2020-05-03 01:04:23 +03:00
parent 4b65af2814
commit f4095b4da3
6 changed files with 54 additions and 1 deletions

1
appimage/entrypoint.sh Normal file
View file

@ -0,0 +1 @@
{{ python-executable }} -u "${APPDIR}/opt/python{{ python-version }}/bin/xonsh" "$@"

View file

@ -0,0 +1,2 @@
prompt_toolkit
Pygments

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>xonsh</id>
<metadata_license>MIT</metadata_license>
<project_license>Python-2.0</project_license>
<name>Xonsh</name>
<summary>Xonsh on Python {{ python-fullversion }}</summary>
<description>
<p> Python {{ python-fullversion }} + Xonsh bundled in an AppImage.
</p>
</description>
<launchable type="desktop-id">xonsh.desktop</launchable>
<url type="homepage">http://xon.sh</url>
<provides>
<binary>python{{ python-version }}</binary>
</provides>
</component>

8
appimage/xonsh.desktop Normal file
View file

@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Name=xonsh
Exec=xonsh
Comment=Xonsh on Python {{ python-fullversion }}
Icon=python
Categories=System;
Terminal=true

23
news/rever_appimage.rst Normal file
View file

@ -0,0 +1,23 @@
**Added:**
* Added xonsh AppImage to the GitHub release assets
**Changed:**
* <news item>
**Deprecated:**
* <news item>
**Removed:**
* <news item>
**Fixed:**
* <news item>
**Security:**
* <news item>

View file

@ -1,6 +1,6 @@
$PROJECT = $GITHUB_ORG = $GITHUB_REPO = 'xonsh' $PROJECT = $GITHUB_ORG = $GITHUB_REPO = 'xonsh'
$WEBSITE_URL = 'http://xon.sh' $WEBSITE_URL = 'http://xon.sh'
$ACTIVITIES = ['authors', 'version_bump', 'changelog', 'pytest', $ACTIVITIES = ['authors', 'version_bump', 'changelog', 'pytest', 'appimage'
'tag', 'push_tag', 'ghrelease', 'sphinx', 'tag', 'push_tag', 'ghrelease', 'sphinx',
'ghpages', 'pypi', 'conda_forge', 'ghpages', 'pypi', 'conda_forge',
] ]
@ -35,3 +35,5 @@ $DOCKER_INSTALL_COMMAND = ('rm -rf .cache/ __pycache__/ */__pycache__ */*/__pyca
'./setup.py install') './setup.py install')
$DOCKER_GIT_NAME = 'xonsh' $DOCKER_GIT_NAME = 'xonsh'
$DOCKER_GIT_EMAIL = 'xonsh@googlegroups.com' $DOCKER_GIT_EMAIL = 'xonsh@googlegroups.com'
$GHRELEASE_ASSETS = ['xonsh-x86_64.AppImage']