Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / gramps
Commits: 7116f836 by Antonio Rojas at 2024-03-08T20:25:37+01:00 upgpkg: 2:5.2.0-1: Update to 5.2.0 - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,27 @@ +pkgbase = gramps + pkgdesc = Genealogy program, which helps you track your family tree + pkgver = 5.2.0 + pkgrel = 1 + epoch = 2 + url = https://gramps-project.org/ + arch = any + license = GPL + makedepends = intltool + makedepends = python-setuptools + depends = gtk3 + depends = python-bsddb + depends = python-cairo + depends = python-gobject + depends = xdg-utils + optdepends = osm-gps-map: show maps in the geography view + optdepends = graphviz: enable creation of graphs (required for tree reports) + optdepends = python-pyicu: improves localised sorting + optdepends = gtkspell3: enable spell checking in the notes + optdepends = rcs: manage multiple revisions of your family trees + optdepends = python-pillow: crop and convert images to JPG + optdepends = libgexiv2: manage Exif metadata embedded in your media + optdepends = geocode-glib: associate a geographical position to a place name + source = gramps-5.2.0.tar.gz::https://github.com/gramps-project/gramps/archive/v5.2.0.tar.gz + sha256sums = e368bbb9f5647eeb6dde8f5941b502d26f6969fba1e2fc5367d1cd4d9a725e91 + +pkgname = gramps ===================================== PKGBUILD ===================================== @@ -4,7 +4,7 @@ # Contributor: Cory Farmer <[email protected]> pkgname=gramps -pkgver=5.1.6 +pkgver=5.2.0 pkgrel=1 epoch=2 pkgdesc="Genealogy program, which helps you track your family tree" @@ -12,7 +12,7 @@ arch=('any') url="https://gramps-project.org/" license=('GPL') depends=('gtk3' 'python-bsddb' 'python-cairo' 'python-gobject' 'xdg-utils') -makedepends=('intltool') +makedepends=('intltool' 'python-setuptools') optdepends=('osm-gps-map: show maps in the geography view' 'graphviz: enable creation of graphs (required for tree reports)' 'python-pyicu: improves localised sorting' @@ -22,7 +22,7 @@ optdepends=('osm-gps-map: show maps in the geography view' 'libgexiv2: manage Exif metadata embedded in your media' 'geocode-glib: associate a geographical position to a place name') source=("$pkgname-$pkgver.tar.gz::https://github.com/gramps-project/$pkgname/archive/v$pkgver.tar.gz") -sha256sums=('bff0b5694e77e0f7075fb76481c4523d37646cc042c8dd9897ff2e0cd401fa3b') +sha256sums=('e368bbb9f5647eeb6dde8f5941b502d26f6969fba1e2fc5367d1cd4d9a725e91') build() { cd $pkgname-$pkgver @@ -32,5 +32,6 @@ build() { package() { cd $pkgname-$pkgver python3 setup.py install --no-compress-manpages --root="$pkgdir" --optimize=1 - echo -n '/usr/share' >"$pkgdir"/usr/lib/python*/site-packages/gramps/gen/utils/resource-path + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + echo -n '/usr/share' >"$pkgdir"${site_packages}/gramps/gen/utils/resource-path } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gramps/-/commit/7116f836b190a9050f80fbfea6c079d544c2d920 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gramps/-/commit/7116f836b190a9050f80fbfea6c079d544c2d920 You're receiving this email because of your account on gitlab.archlinux.org.
