diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-07-16 04:26:48 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-07-16 04:26:48 +0000 |
commit | 3c08b00fe60e6fb3e3fc90982fccedc0d37c826d (patch) | |
tree | 347a265e9420e7c8ab6a83244e53e3abc7d89407 /dev-util/gdbus-codegen/files | |
parent | Mask python targets that are not keyworded on amd64-fbsd. (diff) | |
download | gentoo-2-3c08b00fe60e6fb3e3fc90982fccedc0d37c826d.tar.gz gentoo-2-3c08b00fe60e6fb3e3fc90982fccedc0d37c826d.tar.bz2 gentoo-2-3c08b00fe60e6fb3e3fc90982fccedc0d37c826d.zip |
Version bump, now with python3 support. Drop old.
(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/gdbus-codegen/files')
-rw-r--r-- | dev-util/gdbus-codegen/files/gdbus-codegen-2.32.4-sitedir.patch | 21 | ||||
-rw-r--r-- | dev-util/gdbus-codegen/files/setup.py-2.32.4 | 6 |
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/gdbus-codegen/files/gdbus-codegen-2.32.4-sitedir.patch b/dev-util/gdbus-codegen/files/gdbus-codegen-2.32.4-sitedir.patch new file mode 100644 index 000000000000..84b91f4c6a1c --- /dev/null +++ b/dev-util/gdbus-codegen/files/gdbus-codegen-2.32.4-sitedir.patch @@ -0,0 +1,21 @@ +diff --git a/gio/gdbus-2.0/codegen/gdbus-codegen.in b/gio/gdbus-2.0/codegen/gdbus-codegen.in +index 217c755..8520bb8 100644 +--- a/gio/gdbus-2.0/codegen/gdbus-codegen.in ++++ b/gio/gdbus-2.0/codegen/gdbus-codegen.in +@@ -29,13 +29,9 @@ srcdir = os.getenv('UNINSTALLED_GLIB_SRCDIR', None) + + if srcdir is not None: + path = os.path.join(srcdir, 'gio', 'gdbus-2.0') +-elif os.name == 'nt': +- # Makes gdbus-codegen 'relocatable' at runtime on Windows. +- path = os.path.join(os.path.dirname(__file__), '..', 'lib', 'gdbus-2.0') ++ sys.path.insert(0, os.path.abspath(path)) ++ from codegen import codegen_main + else: +- path = os.path.join('@libdir@', 'gdbus-2.0') +- +-sys.path.insert(0, os.path.abspath(path)) +-from codegen import codegen_main ++ from gdbus_codegen import codegen_main + + sys.exit(codegen_main.codegen_main()) diff --git a/dev-util/gdbus-codegen/files/setup.py-2.32.4 b/dev-util/gdbus-codegen/files/setup.py-2.32.4 new file mode 100644 index 000000000000..c5318e30588b --- /dev/null +++ b/dev-util/gdbus-codegen/files/setup.py-2.32.4 @@ -0,0 +1,6 @@ +from distutils.core import setup +setup(name="gdbus_codegen", + version="@PV@", + packages=["gdbus_codegen"], + package_dir={"gdbus_codegen" : ""}, + scripts=["gdbus-codegen"]) |