# Maintainer: Butui Hu _pkgname=pymodm pkgname=python-pymodm pkgver=0.4.3 pkgrel=7 pkgdesc='A Pythonic, object-oriented interface for working with MongoDB' arch=('any') url='https://github.com/mongodb/pymodm' license=('Apache-2.0') depends=( python-pymongo ) makedepends=( python-build python-installer python-setuptools python-wheel ) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mongodb/pymodm/archive/${pkgver}.tar.gz") sha512sums=('d79ee3c1087dea9670faa715fa2ce1a1d4b1f156293e153d6a374b84dcdbdb6eae048653d599323499add4f1c7fb5cfb8671c9f8bfe927822051d6fc59e45dd2') build() { cd "${_pkgname}-${pkgver}" python -m build --wheel --no-isolation } package() { cd "${_pkgname}-${pkgver}" python -m installer --destdir="${pkgdir}" dist/*.whl } # vim:set ts=2 sw=2 et: