db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / python-merge3 / trunk / PKGBUILD
blob8a56a2d017f13db0a1d8c3629c39204d17af869a
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Luis Martinez <luis.martinez@disroot.org>
3 # Contributor: Mark Wagie <mark.wagie@tutanota.com>
5 pkgname=python-merge3
6 pkgver=0.0.13
7 pkgrel=2
8 pkgdesc='Python implementation of 3-way merge'
9 arch=(any)
10 url=https://github.com/breezy-team/merge3
11 license=(GPL2)
12 depends=(python)
13 makedepends=(
14   git
15   python-setuptools
17 _tag=3c65769e219bc7c5efd68e2204b344d3504c854d
18 #source=(git+https://github.com/breezy-team/merge3.git?signed#tag=${_tag})
19 source=(git+https://github.com/breezy-team/merge3.git#tag=${_tag})
20 b2sums=(SKIP)
21 validpgpkeys=(DC837EE14A7E37347E87061700806F2BD729A457) # Jelmer Vernooij <jelmer@jelmer.uk>
23 pkgver() {
24   cd merge3
25   git describe --tags | sed 's/^v//'
28 build() {
29   cd merge3
30   python setup.py build
33 check() {
34   cd merge3
35   python -m unittest discover
38 package() {
39   cd merge3
40   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
43 # vim: ts=2 sw=2 et: