diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -3,27 +3,32 @@ _name=google-crc32c pkgname=python-google-crc32c -pkgver=1.0.0 +pkgver=1.1.2 pkgrel=1 pkgdesc="A python wrapper of the C library 'Google CRC32C'" arch=('any') url="https://pypi.org/project/google-crc32c/" license=('APACHE') depends=( - 'python>=3.5' + 'python>=3.6' 'python-cffi>=1.0.0' ) makedepends=('python-setuptools') +optdepends=( + 'google-crc32c: using the c extension instead of a pure python implementation' +) options=(!emptydirs) source=( "https://files.pythonhosted.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz" ) sha256sums=( - '9439b960b6ecd847557675d130fc3626d762bf535da595c20a6949a705fb3eae' + 'dff5bd1236737f66950999d25de7a78144548ebac7788d30ada8c1b6ead60b27' ) build() { - # Google CRC32C is complex to compile at the moment. So only the pure Python implementation is used currently. + # Google CRC32C package is now here https://aur.archlinux.org/packages/google-crc32c/ . + # But its install prefix is `/usr/local`. + # To use it you need to change its install prefix to `/usr`. cd "${srcdir}/${_name}-${pkgver}" python setup.py build |