initial import
This commit is contained in:
25
python-yaml/PKGBUILD
Normal file
25
python-yaml/PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=python-yaml
|
||||
pkgver=5.4.1.1
|
||||
pkgrel=2
|
||||
pkgdesc="Python bindings for YAML, using fast libYAML library"
|
||||
url='https://pyyaml.org/wiki/PyYAML'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('Expat')
|
||||
depends=('python' 'libyaml')
|
||||
makedepends=('python-setuptools' 'libyaml' 'python-cython')
|
||||
source=("pyyaml-${pkgver}.tar.gz::https://github.com/yaml/pyyaml/archive/${pkgver}.tar.gz")
|
||||
sha512sums=('bcbe911fbef7e6e8ef8a76293593d4d792dbbf0931a2d031cdeacddf7064b69f958484217bc60d1b7614dcc83ef56cd5c0cd48a0339ab9add623ef70cb2d0a20')
|
||||
|
||||
build() {
|
||||
cd pyyaml-$pkgver
|
||||
python setup.py --with-libyaml build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd pyyaml-$pkgver
|
||||
python setup.py --with-libyaml install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
|
||||
install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
|
||||
install -Dm644 CHANGES README -t "${pkgdir}"/usr/share/doc/${pkgname}
|
||||
}
|
||||
Reference in New Issue
Block a user