Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages /
breezy
Commits:
4eafaf7d by Maxime Gauduin at 2023-12-27T10:54:59+01:00
drop setup.py
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,19 +1,22 @@
pkgbase = breezy
pkgdesc = A decentralized revision control system with support for
Bazaar and Git file formats
pkgver = 3.3.4
- pkgrel = 1
+ pkgrel = 2
url = https://www.breezy-vcs.org/
arch = x86_64
license = GPL2
makedepends = cython
makedepends = git
+ makedepends = python-build
makedepends = python-fastimport
makedepends = python-gpgme
+ makedepends = python-installer
makedepends = python-packaging
makedepends = python-paramiko
makedepends = python-setuptools
makedepends = python-setuptools-gettext
makedepends = python-setuptools-rust
+ makedepends = python-wheel
depends = python-configobj
depends = python-dulwich
depends = python-fastbencode
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
pkgname=breezy
pkgver=3.3.4
-pkgrel=1
+pkgrel=2
pkgdesc='A decentralized revision control system with support for Bazaar and
Git file formats'
arch=(x86_64)
url=https://www.breezy-vcs.org/
@@ -20,13 +20,16 @@ depends=(
makedepends=(
cython
git
+ python-build
python-fastimport
python-gpgme
+ python-installer
python-packaging
python-paramiko
python-setuptools
python-setuptools-gettext
python-setuptools-rust
+ python-wheel
)
optdepends=(
'python-fastimport: Fastimport support'
@@ -47,12 +50,11 @@ pkgver() {
build() {
cd breezy
- python setup.py build
+ python -m build --wheel --no-isolation
}
package() {
- cd breezy
- python setup.py install --root="${pkgdir}" --install-data=usr/share
--optimize=1 --skip-build
+ python -m installer --destdir="${pkgdir}" breezy/dist/*.whl
ln -s brz "${pkgdir}"/usr/bin/bzr # backwards compatibility
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/breezy/-/commit/4eafaf7d09d65dc96e05244d6f4535e9a7f7935c
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/breezy/-/commit/4eafaf7d09d65dc96e05244d6f4535e9a7f7935c
You're receiving this email because of your account on gitlab.archlinux.org.