Commit 2f722d9d authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Initial commit

parents
include:
- project: 'gitlab/gitlab-ci-package-template'
ref: master
file: '/packages.yml'
# Maintainer: Nigel Kukard <nkukard@LBSD.net>
pkgname=python-yaml-stubs
_pipname=types-PyYAML
pkgver=5.4.3
pkgrel=1
pkgdesc="Type stubs for PyYAML"
arch=(any)
url="https://github.com/python/typeshed"
license=('MIT')
depends=('python' 'python-yaml' 'python-typing-extensions')
makedepends=('python-setuptools')
source=("${_pipname}-${pkgver}.tar.gz::https://pypi.python.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
sha512sums=('7b233858561663c9fb7d19e06e83abb16a51ef3495a0e210b1f84534b3acbe83f724c8397c20e60e11021012ef0b8a9e92c81418cd5fd7040bd66875f69e5e36')
build() {
cd "${srcdir}/${_pipname}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_pipname}-${pkgver}"
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" PKG-INFO
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
[package python-pyaml-stubs]
set=idms
repo=idms-enterprise
path=.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment