Merge pull request #5821 from Johnnynator/guake

guake: update to 3.4.0.
This commit is contained in:
Helmut Pozimski 2018-12-13 22:40:03 +01:00 committed by GitHub
commit b38f50a408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 8 deletions

View file

@ -0,0 +1,14 @@
https://bugs.gentoo.org/667878
https://github.com/Guake/guake/issues/1436
--- guake/paths.py
+++ guake/paths.py
@@ -35,7 +35,7 @@
def get_data_files_dir():
- d = os.path.dirname(os.path.dirname(sys.modules["guake"].__file__))
+ d = os.path.dirname(sys.modules["guake"].__file__)
p = os.path.basename(os.path.abspath(os.path.join(d, "..")))
if p in ["site-packages", "dist-packages"]:
# current "guake" package has been installed in a prefix structure (/usr, /usr/local or

View file

@ -1,8 +1,7 @@
# Template file for 'guake'
pkgname=guake
reverts="3.4.0_1"
version=3.3.2
revision=3
version=3.4.0
revision=1
noarch=yes
build_style=python3-module
pycompile_module="guake"
@ -12,15 +11,19 @@ depends="desktop-file-utils libkeybinder3 libnotify python3-dbus python3-gobject
python3-pbr vte3"
checkdepends="python3-flake8 python3-pylint python3-pytest"
short_desc="Drop-down terminal for GNOME"
maintainer="John <johnz@posteo.net>"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="http://guake-project.org/"
distfiles="https://github.com/Guake/guake/archive/${version}.tar.gz"
checksum=d0a6c95a59df7f25e9f7a320ec11ffea3fd37d252768819ebdeb7608afaebd1f
checksum=54551c25b63612b73d176df5d222133b0b3b48d6ac5cfce33320f077b4702c49
post_extract() {
export PBR_VERSION=5.1.1
make generate-paths generate-mo
}
pre_build() {
export PBR_VERSION=4.0.4
make generate-paths generate-mo
export PBR_VERSION=5.1.1
}
do_check() {
@ -29,7 +32,7 @@ do_check() {
}
pre_install() {
export PBR_VERSION=4.0.4
export PBR_VERSION=5.1.1
make prefix=/usr DESTDIR=${DESTDIR} install-locale
}