python-pyyaml 6.0.1-1
This commit is contained in:
commit
99e06e916e
29
PKGBUILD
Normal file
29
PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||||
|
# then please put 'unknown'.
|
||||||
|
|
||||||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
|
pkgname=python-pyyaml
|
||||||
|
pkgver=6.0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Python bindings for YAML, using fast libYAML library"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/yaml/pyyaml"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('glibc' 'libyaml' 'python')
|
||||||
|
makedepends=('python-cython0' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
|
||||||
|
source=(https://github.com/yaml/pyyaml/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
|
||||||
|
sha256sums=(57314c984aaa84318eed00cf5a8365afc49f87954969e295efe2ba99f3b21f7a)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
|
python3 -m build --wheel --no-isolation --config-setting=--with-libyaml
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
|
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user