db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / python-merge3 / repos / community-any / PKGBUILD
blob3e7aae5e7f38ca9827648168c32bab7e7e1ed335
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.9
7 pkgrel=1
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=7c779b5d0baea11048c11253962a27182b851db4
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: