Files
binary-repo/dev/python/py3-cerberus/ympbuild
T
2024-07-08 19:08:05 +03:00

29 lines
677 B
Bash

#!/usr/bin/env bash
name='py3-cerberus'
release='2'
version='1.3.5'
url='http://python-cerberus.org/'
description='Lightweight, extensible data validation library for Python'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('ISC')
source=("https://github.com/pyeve/cerberus/archive/refs/tags/${version}.tar.gz")
depends=(python)
makedepends=(py3-setuptools py3-build py3-installer py3-wheel)
sha256sums=('f2ee895c33ee25a159166263ee799c1a8a810086b99cabd5b1c8abdd5b193cac')
group=(dev.python)
uses=()
arch=('x86_64')
cd "cerberus"-$version
build(){
python3 -m build --wheel --no-isolation
}
package(){
python3 -m installer --destdir="$DESTDIR" dist/*.whl
}