[arch-commits] Commit in gramps/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Dec 26 10:01:26 UTC 2016


    Date: Monday, December 26, 2016 @ 10:01:26
  Author: foutrelis
Revision: 202675

archrelease: copy trunk to community-staging-any

Added:
  gramps/repos/community-staging-any/
  gramps/repos/community-staging-any/PKGBUILD
    (from rev 202674, gramps/trunk/PKGBUILD)
  gramps/repos/community-staging-any/ignore_intltool_errors.patch
    (from rev 202674, gramps/trunk/ignore_intltool_errors.patch)

------------------------------+
 PKGBUILD                     |   42 +++++++++++++++++++++++++++++++++++++++++
 ignore_intltool_errors.patch |   12 +++++++++++
 2 files changed, 54 insertions(+)

Copied: gramps/repos/community-staging-any/PKGBUILD (from rev 202674, gramps/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-26 10:01:26 UTC (rev 202675)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: William Rea <sillywilly at gmail.com>
+# Contributor: Cory Farmer <rbgkofi at ameritech.net>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=gramps
+epoch=2
+pkgver=4.2.5
+pkgrel=2
+pkgdesc="A genealogy program, which helps you track your family tree"
+arch=('any')
+url="http://gramps-project.org/"
+license=('GPL')
+depends=('goocanvas' 'gtk3' 'python-gobject' 'librsvg' 'xdg-utils' 
+	 'python-bsddb' 'desktop-file-utils'
+	 'shared-mime-info' 'python-cairo')
+makedepends=('intltool')
+optdepends=('graphviz: enable creation of graphs (required for tree reports)'
+	    'gtkspell3: enable spell checking in the notes'
+	    'rcs: manage multiple revisions of your family trees'
+	    'python-pillow: crop and convert images to JPG'
+	    'libgexiv2: manage Exif metadata embedded in your media'
+	    'python-pyicu: improves localised sorting'
+	    'osm-gps-map: Geography feature'
+	    'ttf-freefont: more font support in the reports')
+#	    'python-osmgpsmap: show maps in the geography view'
+#	    'webkitgtk: allows websites to be opened in Gramps'
+source=("$pkgname-$pkgver.tar.gz::https://github.com/gramps-project/gramps/archive/v$pkgver.tar.gz")
+sha256sums=('1de3007215b7d0b779ec8f086e14e7a75f2aa811ee37c6d0cff06bfc9458743d')
+
+build() {
+  cd "$srcdir/gramps-$pkgver"
+  python setup.py build
+}
+
+package() {
+_pyver=`pacman -Q python | cut -f2 -d' ' | cut -f1,2 -d.`
+  cd "$srcdir/gramps-$pkgver"
+  python setup.py install --root="$pkgdir"
+  echo -n '/usr/share' >"$pkgdir"/usr/lib/python${_pyver}/site-packages/gramps/gen/utils/resource-path
+}

Copied: gramps/repos/community-staging-any/ignore_intltool_errors.patch (from rev 202674, gramps/trunk/ignore_intltool_errors.patch)
===================================================================
--- community-staging-any/ignore_intltool_errors.patch	                        (rev 0)
+++ community-staging-any/ignore_intltool_errors.patch	2016-12-26 10:01:26 UTC (rev 202675)
@@ -0,0 +1,12 @@
+diff -aur gramps-4.2.0/setup.py gramps-4.2.0.new/setup.py
+--- gramps-4.2.0/setup.py	2015-07-29 20:53:06.000000000 +0200
++++ gramps-4.2.0.new/setup.py	2015-09-20 17:58:17.035215951 +0200
+@@ -91,7 +91,7 @@
+         except:
+             return (0,0,0)
+     else:
+-        cmd = 'intltool-update --version | head -1 | cut -d" " -f3'
++        cmd = 'intltool-update --version 2> /dev/null | head -1 | cut -d" " -f3'
+         retcode, version_str = subprocess.getstatusoutput(cmd)
+         if retcode != 0:
+             return None



More information about the arch-commits mailing list