Skip to content

Commit

Permalink
Explicitly include .po and exclude .mo in source distribution (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
yktoo committed May 25, 2020
1 parent e91bf6c commit 383dc49
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include AUTHORS
include COPYING
include INSTALL
include README.md
include po/*.po
prune locale/*
4 changes: 2 additions & 2 deletions build_package
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
fi
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -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 <yktooo@gmail.com> 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)
Expand Down
2 changes: 1 addition & 1 deletion lib/indicator_sound_switcher/indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


APP_ID = 'indicator-sound-switcher'
APP_VERSION = '2.3.1'
APP_VERSION = '2.3.2'


def compile_lang_files() -> list:
Expand Down

0 comments on commit 383dc49

Please # to comment.