Date: Saturday, January 20, 2018 @ 19:25:36
  Author: bgyorgy
Revision: 284405

archrelease: copy trunk to community-any

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

------------------------------+
 PKGBUILD                     |   77 +++++++++++++++++++----------------------
 ignore_intltool_errors.patch |   12 ------
 2 files changed, 37 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-01-20 19:25:14 UTC (rev 284404)
+++ PKGBUILD    2018-01-20 19:25:36 UTC (rev 284405)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <[email protected]>
-# Maintainer: William Rea <[email protected]>
-# Contributor: Cory Farmer <[email protected]>
-# Contributor: György Balló <[email protected]>
-
-pkgname=gramps
-epoch=2
-pkgver=4.2.6
-pkgrel=1
-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')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/gramps-project/gramps/archive/v$pkgver.tar.gz";)
-sha256sums=('6f6f2afe745179e2e66f216f25ca2ba4bf4d5f6bd3b553bbb2946df0636a0bed')
-
-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-any/PKGBUILD (from rev 284404, 
gramps/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-01-20 19:25:36 UTC (rev 284405)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: William Rea <[email protected]>
+# Contributor: Cory Farmer <[email protected]>
+# Contributor: György Balló <[email protected]>
+
+pkgname=gramps
+pkgver=4.2.6
+pkgrel=2
+epoch=2
+pkgdesc="Genealogy program, which helps you track your family tree"
+arch=('any')
+url="https://gramps-project.org/";
+license=('GPL')
+depends=('gtk3' 'python-bsddb' 'python-cairo' 'python-gobject' 'xdg-utils')
+makedepends=('intltool')
+optdepends=('osm-gps-map: show maps in the geography view'
+            'graphviz: enable creation of graphs (required for tree reports)'
+            'python-pyicu: improves localised sorting'
+            '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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/gramps-project/$pkgname/archive/v$pkgver.tar.gz";)
+sha256sums=('6f6f2afe745179e2e66f216f25ca2ba4bf4d5f6bd3b553bbb2946df0636a0bed')
+
+build() {
+  cd $pkgname-$pkgver
+  python3 setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python3 setup.py install --root "$pkgdir" --optimize=1
+  echo -n '/usr/share' 
>"$pkgdir"/usr/lib/python*/site-packages/gramps/gen/utils/resource-path
+}

Deleted: ignore_intltool_errors.patch
===================================================================
--- ignore_intltool_errors.patch        2018-01-20 19:25:14 UTC (rev 284404)
+++ ignore_intltool_errors.patch        2018-01-20 19:25:36 UTC (rev 284405)
@@ -1,12 +0,0 @@
-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

Reply via email to