Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / python-btrfs
Commits: 280f7a59 by Carl Smedstad at 2024-09-26T01:24:40+02:00 upgpkg: 14.1-1: Upstream release https://github.com/knorrie/python-btrfs/releases/tag/v14.1 https://github.com/knorrie/python-btrfs/releases/tag/v14 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,14 +1,17 @@ pkgbase = python-btrfs pkgdesc = Python Btrfs module, with useful scripts to inspect btrfs internals - pkgver = 13 - pkgrel = 5 + pkgver = 14.1 + pkgrel = 1 url = https://github.com/knorrie/python-btrfs arch = any - license = GPL2 + license = LGPL-3.0-or-later makedepends = git + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python - source = python-btrfs::git+https://github.com/knorrie/python-btrfs.git#tag=v13 - sha256sums = SKIP + source = python-btrfs::git+https://github.com/knorrie/python-btrfs.git#tag=v14.1 + sha256sums = 696f0496e507af773b7f1958b8a4015039d221855f5d827ab1d687c54284feb0 pkgname = python-btrfs ===================================== PKGBUILD ===================================== @@ -1,21 +1,31 @@ +# Maintainer: Carl Smedstad <car...@archlinux.org> # Maintainer: Jiachen YANG <farsee...@gmail.com> # AUR Maintainer: Timofey Titovets <nefelim...@gmail.com> pkgname=python-btrfs -pkgver=13 -pkgrel=5 +pkgver=14.1 +pkgrel=1 pkgdesc="Python Btrfs module, with useful scripts to inspect btrfs internals" -arch=('any') +arch=(any) url="https://github.com/knorrie/python-btrfs" -license=('GPL2') +license=('LGPL-3.0-or-later') depends=('python') -makedepends=('git' 'python-setuptools') -source=("$pkgname"::"git+https://github.com/knorrie/python-btrfs.git#tag=v${pkgver}") -sha256sums=('SKIP') +makedepends=( + 'git' + 'python-build' + 'python-installer' + 'python-setuptools' + 'python-wheel' +) +source=("$pkgname::git+$url.git#tag=v${pkgver}") +sha256sums=('696f0496e507af773b7f1958b8a4015039d221855f5d827ab1d687c54284feb0') + +build() { + cd $pkgname + python -m build --wheel --no-isolation +} package() { - cd "$srcdir/${pkgname}/" - python ./setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 - cd bin - install -Dm755 btrfs-* -t "$pkgdir/usr/bin/" + cd $pkgname + python -m installer --destdir="$pkgdir" dist/*.whl } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-btrfs/-/commit/280f7a59491f2ca797f48bfae407606713741062 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-btrfs/-/commit/280f7a59491f2ca797f48bfae407606713741062 You're receiving this email because of your account on gitlab.archlinux.org.