Ticket #54679: bzr-gtk-0.104.0.git.diff

File bzr-gtk-0.104.0.git.diff, 3.0 KB (added by raimue (Rainer Müller), 7 years ago)
  • devel/bzr-gtk/Portfile

    diff --git a/devel/bzr-gtk/Portfile b/devel/bzr-gtk/Portfile
    index 7916e352ce..3d8dadf621 100644
    a b PortSystem 1.0 
    22PortGroup     python 1.0
    33
    44name          bzr-gtk
    5 version       0.100.0
    6 revision      3
     5version       0.104.0
    76set branch    [join [lrange [split ${version} .] 0 1] .]
    87categories    devel python
    98platforms     darwin
    description Various GTK+ frontends for bzr 
    1514long_description  A bzr plugin that contains various GTK+ frontends to \
    1615    different bzr commands.
    1716
    18 homepage      http://bazaar-vcs.org/bzr-gtk
    19 master_sites  https://launchpad.net/bzr-gtk/gtk2/${version}/+download/
     17homepage      https://launchpad.net/bzr-gtk/
     18master_sites  https://launchpad.net/bzr-gtk/gtk3/${version}/+download/
    2019
    21 checksums     md5     a7c2f27072bcacdcf8983ca6a2426dbd \
    22               sha1    6f1a55a4011b6e8084783fdc3b07233c3f4fb77a \
    23               rmd160  783d099d9be700193c1523a8c6d54826ada49187
     20checksums     md5     5e6694b57662c338d5eb2d85d4cd2357 \
     21              sha1    0a3ab4c0ca4941c35efda18953fc682f71e740e6 \
     22              sha256  c6d378d5111ca3483de7c54ffd9f6c7264407f567c9556e76e802b9c55ff419b
    2423
    2524python.default_version  27
    2625
    2726depends_lib-append  port:bzr \
    28                     port:py${python.version}-pygtk
     27                    port:gtk3 \
     28                    port:py${python.version}-gobject3
     29
     30patchfiles          patch-missing-credits.diff
    2931
    3032post-destroot {
    3133    fs-traverse f "${destroot}${python.prefix}/share" {
    post-destroot { 
    3941}
    4042
    4143livecheck.type  regex
    42 livecheck.url   ${homepage}
     44livecheck.url   ${homepage}+download
    4345livecheck.regex {bzr-gtk-(\d+(?:\.\d+)*).tar.gz}
  • new file devel/bzr-gtk/files/patch-missing-credits.diff

    diff --git a/devel/bzr-gtk/files/patch-missing-credits.diff b/devel/bzr-gtk/files/patch-missing-credits.diff
    new file mode 100644
    index 0000000000..ad7fe5fa47
    - +  
     1Upstream: https://aur.archlinux.org/cgit/aur.git/tree/no_credits.patch?h=bzr-gtk&id=41a03eb96d301027705de5d95857d5dca040209d
     2
     3--- setup.py    2012-07-09 15:23:26 +0000
     4+++ setup.py    2015-06-15 16:57:40 +0000
     5@@ -104,12 +104,10 @@
     6 
     7 class BuildData(build):
     8     sub_commands = build.sub_commands[:]
     9-    sub_commands.append(('build_credits', is_versioned))
     10 
     11 
     12 class SourceDist(sdist):
     13     sub_commands = sdist.sub_commands[:]
     14-    sub_commands.append(('build_credits', is_versioned))
     15 
     16 
     17 class InstallData(install_data):
     18@@ -166,8 +164,7 @@
     19             "bzrlib.plugins.gtk.branchview",
     20             "bzrlib.plugins.gtk.preferences",
     21         ],
     22-        data_files=[('share/bzr-gtk', ['credits.pickle']),
     23-                    ('share/bzr-gtk/icons', ['icons/commit.png',
     24+        data_files=[('share/bzr-gtk/icons', ['icons/commit.png',
     25                                              'icons/commit16.png',
     26                                              'icons/diff.png',
     27                                              'icons/diff16.png',
     28