Skip to content

Commit 616792b

Browse files
committed
Adapt desktop and appdata files to new spec
Signed-off-by: Sebastian Ramacher <sebastian@ramacher.at>
1 parent d4a28ef commit 616792b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

data/bpython.appdata.xml renamed to data/org.bpython-interpreter.bpython.appdata.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- Copyright 2014-2015 bpython authors -->
3-
4-
<component type="desktop">
5-
<id>bpython.desktop</id>
2+
<!-- Copyright 2014-2018 bpython authors -->
3+
<component type="desktop-application">
4+
<id>org.bpython-interpreter.bpython</id>
65
<metadata_license>CC0-1.0</metadata_license>
76
<project_license>MIT</project_license>
87
<name>bpython interpreter</name>
@@ -22,6 +21,7 @@
2221
<li>Auto-indentation.</li>
2322
</ul>
2423
</description>
24+
<launchable type="desktop-id">org.bpython-interpreter.bpython.desktop</launchable>
2525
<url type="homepage">http://www.bpython-interpreter.org/</url>
2626
<url type="bugtracker">https://github.com/bpython/bpython/issues</url>
2727
<screenshots>
File renamed without changes.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ def initialize_options(self):
197197

198198
data_files = [
199199
# desktop shortcut
200-
(os.path.join('share', 'applications'), ['data/bpython.desktop']),
200+
(os.path.join('share', 'applications'), ['data/org.bpython-interpreter.bpython.desktop']),
201201
# AppData
202-
(os.path.join('share', 'appinfo'), ['data/bpython.appdata.xml']),
202+
(os.path.join('share', 'appinfo'), ['data/org.bpython-interpreter.bpython.appdata.xml']),
203203
# icon
204204
(os.path.join('share', 'pixmaps'), ['data/bpython.png'])
205205
]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy