# Maintainer: Erich Eckner pkgname=python-pycifrw _pkgname='PyCifRW' pkgver=4.4.1 pkgrel=6 pkgdesc='Python library for interacting with Crystallographic Information Framework (CIF) files.' arch=('i686' 'pentium4' 'x86_64') url='https://bitbucket.org/jamesrhester/pycifrw/src/development/' license=('custom') _pinned_dependencies=( 'glibc>=2.31' ) depends=( "${_pinned_dependencies[@]}" 'python>=3.8' 'python<3.9') makedepends=( 'python-setuptools') source=("https://pypi.python.org/packages/b3/09/7578e066d81ba978b6eefe2330cc80940939ed4be423e1c8ef49181540ca/PyCifRW-${pkgver}.tar.gz") sha512sums=('41cc26a7d6026bb927d531b27e1228d89fe713f7ab9360b8e06b563449ee7b53afc9260d09bb199f4390b12a9d31573f8fa6bae14804239d4075b5d8dce01f54') build() { cd ${_pkgname}-${pkgver} python setup.py build } package_python-pycifrw() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build install -D 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }