Skip to content

Commit 383dc49

Browse files
committed
Explicitly include .po and exclude .mo in source distribution (#82)
1 parent e91bf6c commit 383dc49

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include AUTHORS
22
include COPYING
3-
include INSTALL
43
include README.md
4+
include po/*.po
5+
prune locale/*

build_package

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ app_ver_string="${APP_NAME} (${APP_VERSION}-${REVISION})"
4646
[[ ! -d "$DIST_ROOT_DIR" ]] || rm -rf "$DIST_ROOT_DIR" || err "Removing $DIST_ROOT_DIR failed"
4747

4848
# Run the setup script to create a source tarball
49-
python3 "$SETUP_SCRIPT" --quiet sdist --owner=root --group=root || err "Building source tarball failed"
49+
python3 "$SETUP_SCRIPT" sdist --owner=root --group=root || err "Building source tarball failed"
5050

5151
# Add '.orig' and change '-' to '_' before version in tarball's name
5252
TARBALL_NAME="${DIST_ROOT_DIR}/${APP_NAME}_${APP_VERSION}.orig.tar.gz"
@@ -79,4 +79,4 @@ if ((do_binary == 0)); then
7979
echo "Build succeeded. To upload issue the following command:"
8080
echo " dput ppa:yktooo/ppa \"$DIST_ROOT_DIR/${APP_NAME}_${APP_VERSION}-${REVISION}_source.changes\""
8181
echo "--------------------------------------------------------------------------------"
82-
fi
82+
fi

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
indicator-sound-switcher (2.3.2-1) eoan; urgency=low
2+
3+
* Explicitly include .po and exclude .mo in source distribution (#82)
4+
5+
-- Dmitry Kann <[email protected]> Mon, 25 May 2020 18:41:22 +0200
6+
17
indicator-sound-switcher (2.3.1-1) eoan; urgency=low
28

39
* Use directory of setup.py when looking for .po files (#82)

lib/indicator_sound_switcher/indicator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# Global definitions
2525
APP_ID = 'indicator-sound-switcher'
2626
APP_NAME = 'Sound Switcher Indicator'
27-
APP_VERSION = '2.3.1'
27+
APP_VERSION = '2.3.2'
2828
APP_LICENCE = """This program is free software: you can redistribute it and/or modify it
2929
under the terms of the GNU General Public License version 3, as published
3030
by the Free Software Foundation.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
APP_ID = 'indicator-sound-switcher'
9-
APP_VERSION = '2.3.1'
9+
APP_VERSION = '2.3.2'
1010

1111

1212
def compile_lang_files() -> list:

0 commit comments

Comments
 (0)