aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-11-23 06:07:24 +0000
committerpsykose <alice@ayaya.dev>2022-11-23 07:07:24 +0100
commitf0745bce22347e567fa37c6212145725b67b002f (patch)
tree93c67590e6b126315e1a803c27d1af023a67b6fd
parentd2c4069546fdc510d5201d64572542240b395589 (diff)
downloadaports-f0745bce22347e567fa37c6212145725b67b002f.tar.gz
aports-f0745bce22347e567fa37c6212145725b67b002f.tar.bz2
aports-f0745bce22347e567fa37c6212145725b67b002f.tar.xz
community/breezy: upgrade to 3.3.1
-rw-r--r--community/breezy/APKBUILD35
1 files changed, 20 insertions, 15 deletions
diff --git a/community/breezy/APKBUILD b/community/breezy/APKBUILD
index b940730df7b..1e1ae430d3b 100644
--- a/community/breezy/APKBUILD
+++ b/community/breezy/APKBUILD
@@ -1,17 +1,23 @@
# Maintainer: Pedro Filipe <xpecex@outlook.com>
pkgname=breezy
-pkgver=3.2.2
-pkgrel=1
+pkgver=3.3.1
+pkgrel=0
pkgdesc="Decentralized revision control system"
url="https://www.breezy-vcs.org/"
arch="all"
license="GPL-2.0-or-later"
depends="python3 py3-configobj py3-dulwich py3-patiencediff"
-makedepends="python3-dev py3-fastimport py3-gpgme py3-inotify py3-paramiko
- py3-setuptools cython gettext"
+makedepends="
+ cython
+ py3-gpep517
+ py3-setuptools
+ py3-setuptools-gettext
+ py3-setuptools-rust
+ py3-wheel
+ python3-dev
+ "
checkdepends="py3-subunit py3-testtools"
options="!check" # Requires unittest2
-subpackages="$pkgname-doc"
source="https://launchpad.net/brz/${pkgver%.*}/$pkgver/+download/breezy-$pkgver.tar.gz"
prepare() {
@@ -21,27 +27,26 @@ prepare() {
}
build() {
- python3 setup.py build
+ gpep517 build-wheel \
+ --wheel-dir dist \
+ --output-fd 1
}
check() {
- python3 setup.py test
+ python3 -m venv --system-site-packages testenv
+ testenv/bin/python3 -m installer dist/*.whl
+ testenv/bin/python3 -m pytest
}
package() {
- python3 setup.py install --root="$pkgdir"
+ python3 -m installer -d "$pkgdir" \
+ dist/*.whl
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="
-be77beee7b14c5ae0f3fb17c5c45802399b0c8a0b3ccff0c56545a2d7ff70bb2800f6d1bfc2c8047716f439fa3fb6beb9656b9af715021d8d8b222b9498323d7 breezy-3.2.2.tar.gz
+b45e9d1c72b380b832a95012f59ac2e1dec50cb4703d3130f0743eefe3347441bd3caf0cdd2a7897410f48235e1eb75b1e2c5894cabe518cf2a75ba830181043 breezy-3.3.1.tar.gz
"