aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Filipe <pedrofilipecerqueira@outlook.com>2020-07-21 12:21:12 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-07-22 11:58:38 -0300
commit3053c227236d540c3ef473a3142cb0096baa85bc (patch)
tree5a553693016e4de09caccf1602ed4a75101fd64c
parentf964279b0c533e847e28f81fff9db5490d6df959 (diff)
downloadaports-3053c227236d540c3ef473a3142cb0096baa85bc.tar.gz
aports-3053c227236d540c3ef473a3142cb0096baa85bc.tar.bz2
aports-3053c227236d540c3ef473a3142cb0096baa85bc.tar.xz
testing/breezy: new aport
Decentralized revision control system https://www.breezy-vcs.org/ Co-authored-by: Leo <thinkabit.ukim@gmail.com>
-rw-r--r--testing/breezy/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/breezy/APKBUILD b/testing/breezy/APKBUILD
new file mode 100644
index 0000000000..4b99d1a6aa
--- /dev/null
+++ b/testing/breezy/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Pedro Filipe <xpecex@outlook.com>
+pkgname=breezy
+pkgver=3.1.0
+pkgrel=0
+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"
+subpackages="$pkgname-doc"
+options="!check" # Suit test not work
+source="https://launchpad.net/brz/${pkgver%.*}/$pkgver/+download/breezy-$pkgver.tar.gz"
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --root="$pkgdir"
+ ln -s brz "$pkgdir"/usr/bin/bzr # backwards compatibility
+
+ find "$pkgdir"/usr/lib/python3*/site-packages -type d -name tests \
+ -exec rm -rf {} +
+}
+
+doc() {
+ mkdir -p "$subpkgdir"/usr/share
+ mv "$pkgdir"/usr/man "$subpkgdir"/usr/share
+ default_doc
+}
+
+sha512sums="40ea1ae364940ac8ff83d3f5da2437cc62fbda0ca98b3ae90a38dfad87555c3993b852ce186323454d7ab002ba4fbb3270e70953504e449c445efe147847204d breezy-3.1.0.tar.gz"