blob: 3ea5d0a7abc278ba6df629531c665cf350ec4e2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-pycifrw
_pkgname='PyCifRW'
pkgver=4.4.2
pkgrel=2
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'
)
makedepends=(
'python-setuptools')
depends=(
'python>=3.9'
'python<3.10')
source=("https://pypi.python.org/packages/36/92/ff9bab1b65aba9a80035b6d1c3b0c3e41c7aae64b30a3326d51836a3a66b/PyCifRW-${pkgver}.tar.gz")
sha512sums=('9fb9be4fcc2ebe5fac8b1d0b11820a041a3d0a00cd8be1dd46402797c3a7401487658e21ea24bbeeca0171b9521829b20bf99b255217125a67248afa39b273b8')
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"
}
|