aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-12-12 22:27:01 +0100
committerKevin Daudt <kdaudt@alpinelinux.org>2021-07-26 16:17:42 +0000
commitfafd4f1bc0d31899042c1c0df8d2af708ed78b4b (patch)
tree1130bcc6c9bc63ded112875e1b4a4c28ad2ce3ad
parentd264cb27f61177643d19c5497b3ff3e598cb1be0 (diff)
downloadaports-fafd4f1bc0d31899042c1c0df8d2af708ed78b4b.tar.gz
aports-fafd4f1bc0d31899042c1c0df8d2af708ed78b4b.tar.bz2
aports-fafd4f1bc0d31899042c1c0df8d2af708ed78b4b.tar.xz
community/breezy: add missing dependencies and remove launchpad plugin
-rw-r--r--community/breezy/APKBUILD21
1 files changed, 16 insertions, 5 deletions
diff --git a/community/breezy/APKBUILD b/community/breezy/APKBUILD
index f3ea81fe10..2648775a6d 100644
--- a/community/breezy/APKBUILD
+++ b/community/breezy/APKBUILD
@@ -1,22 +1,33 @@
# Maintainer: Pedro Filipe <xpecex@outlook.com>
pkgname=breezy
pkgver=3.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="Decentralized revision control system"
url="https://www.breezy-vcs.org/"
arch="all"
license="GPL-2.0-or-later"
-depends="py3-configobj py3-six"
-makedepends="python3-dev py3-dulwich py3-fastimport py3-gpgme py3-paramiko
- py3-setuptools gettext"
+depends="py3-configobj py3-six py3-dulwich py3-patiencediff"
+makedepends="python3-dev py3-fastimport py3-gpgme py3-inotify py3-paramiko
+ py3-setuptools cython gettext"
+checkdepends="py3-subunit py3-testtools"
+options="!check" # Requires unittest2
subpackages="$pkgname-doc"
-options="!check" # Suit test not work
source="https://launchpad.net/brz/${pkgver%.*}/$pkgver/+download/breezy-$pkgver.tar.gz"
+prepare() {
+ default_prepare
+ # Requires launchpadlib
+ rm -rf breezy/plugins/launchpad/
+}
+
build() {
python3 setup.py build
}
+check() {
+ python3 setup.py test
+}
+
package() {
python3 setup.py install --root="$pkgdir"
ln -s brz "$pkgdir"/usr/bin/bzr # backwards compatibility