breezy: Update to 3.2.2
depends on fastbencode now
This commit is contained in:
36
python-fastbencode/PKGBUILD
Normal file
36
python-fastbencode/PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
|
||||
|
||||
pkgname=python-fastbencode
|
||||
pkgver=0.0.9
|
||||
pkgrel=1
|
||||
pkgdesc='Implementation of bencode with optional fast C extensions'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://github.com/breezy-team/fastbencode'
|
||||
license=(spdx:GPL-2.0-or-later)
|
||||
depends=(python)
|
||||
makedepends=(
|
||||
python-build
|
||||
python-installer
|
||||
python-setuptools
|
||||
python-wheel
|
||||
python-devel
|
||||
gcc
|
||||
)
|
||||
checkdepends=(python-pytest)
|
||||
source=(https://pypi.io/packages/source/f/fastbencode/fastbencode-$pkgver.tar.gz)
|
||||
sha256sums=('a508632c645f2e3ffbb4984cb544035c8946d6fec8cfe0aec5e556340773ce9c')
|
||||
|
||||
build() {
|
||||
cd fastbencode-$pkgver
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd fastbencode-$pkgver
|
||||
python -m pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
cd fastbencode-$pkgver
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
Reference in New Issue
Block a user