diff --git a/MANIFEST.in b/MANIFEST.in index f33f5ed..ee87e0d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,5 @@ include AUTHORS include COPYING -include INSTALL include README.md +include po/*.po +prune locale/* diff --git a/build_package b/build_package index d78bb7f..42bb659 100755 --- a/build_package +++ b/build_package @@ -46,7 +46,7 @@ app_ver_string="${APP_NAME} (${APP_VERSION}-${REVISION})" [[ ! -d "$DIST_ROOT_DIR" ]] || rm -rf "$DIST_ROOT_DIR" || err "Removing $DIST_ROOT_DIR failed" # Run the setup script to create a source tarball -python3 "$SETUP_SCRIPT" --quiet sdist --owner=root --group=root || err "Building source tarball failed" +python3 "$SETUP_SCRIPT" sdist --owner=root --group=root || err "Building source tarball failed" # Add '.orig' and change '-' to '_' before version in tarball's name TARBALL_NAME="${DIST_ROOT_DIR}/${APP_NAME}_${APP_VERSION}.orig.tar.gz" @@ -79,4 +79,4 @@ if ((do_binary == 0)); then echo "Build succeeded. To upload issue the following command:" echo " dput ppa:yktooo/ppa \"$DIST_ROOT_DIR/${APP_NAME}_${APP_VERSION}-${REVISION}_source.changes\"" echo "--------------------------------------------------------------------------------" -fi \ No newline at end of file +fi diff --git a/debian/changelog b/debian/changelog index e47f044..164acf6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +indicator-sound-switcher (2.3.2-1) eoan; urgency=low + + * Explicitly include .po and exclude .mo in source distribution (#82) + + -- Dmitry Kann Mon, 25 May 2020 18:41:22 +0200 + indicator-sound-switcher (2.3.1-1) eoan; urgency=low * Use directory of setup.py when looking for .po files (#82) diff --git a/lib/indicator_sound_switcher/indicator.py b/lib/indicator_sound_switcher/indicator.py index 5e0eaa4..29316b0 100644 --- a/lib/indicator_sound_switcher/indicator.py +++ b/lib/indicator_sound_switcher/indicator.py @@ -24,7 +24,7 @@ # Global definitions APP_ID = 'indicator-sound-switcher' APP_NAME = 'Sound Switcher Indicator' -APP_VERSION = '2.3.1' +APP_VERSION = '2.3.2' APP_LICENCE = """This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation. diff --git a/setup.py b/setup.py index 1beff0d..a4da26b 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ APP_ID = 'indicator-sound-switcher' -APP_VERSION = '2.3.1' +APP_VERSION = '2.3.2' def compile_lang_files() -> list: