python-fastbencode 0.3.1-1
This commit is contained in:
parent
8241f102eb
commit
cf23b7149f
18
PKGBUILD
18
PKGBUILD
@ -5,25 +5,25 @@
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=python-fastbencode
|
||||
pkgver=0.2
|
||||
pkgver=0.3.1
|
||||
pkgrel=1
|
||||
pkgdesc="Implementation of bencode with optional fast C extensions"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/breezy-team/fastbencode"
|
||||
license=('GPL2')
|
||||
depends=('python')
|
||||
license=('GPL-2.0-or-later')
|
||||
depends=('glibc' 'python')
|
||||
makedepends=('python-build' 'python-installer' 'python-cython' 'python-setuptools' 'python-wheel')
|
||||
source=(https://pypi.io/packages/source/f/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz)
|
||||
sha256sums=(578eb9c4700d6705d71fbc8d7d57bca2cd987eca2cec1d9e77b9e0702db1e56f)
|
||||
source=(https://github.com/breezy-team/fastbencode/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
|
||||
sha256sums=(103c93fe84db0c7088de4e2944c70e619d674e8fe55161130aeb1492eec679f9)
|
||||
|
||||
build() {
|
||||
cd ${pkgname#*-}-${pkgver}
|
||||
cd ${pkgname#*-}-${pkgver}
|
||||
|
||||
python3 -m build --wheel --no-isolation
|
||||
python3 -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname#*-}-${pkgver}
|
||||
cd ${pkgname#*-}-${pkgver}
|
||||
|
||||
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
||||
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user