mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
23 lines
791 B
Text
23 lines
791 B
Text
# Maintainer: Austin Page <jaustinpage@gmail.com>
|
|
# Contributor: Austin Page <jaustinpage@gmail.com>
|
|
pkgname=py3-cassandra-driver
|
|
_pkgname="${pkgname/py3-/}"
|
|
pkgver=3.20.2
|
|
pkgrel=3
|
|
pkgdesc="Python driver for Apache Cassandra"
|
|
url="https://github.com/datastax/python-driver"
|
|
arch="all"
|
|
license="Apache-2.0"
|
|
makedepends="cython libev-dev py3-setuptools python3-dev"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="f04359887af276682e996f3262b5cb7f91255fc538b9d2bfd34a7a2f451d43ea663d61f35328f43e0f6b5410f3a8ef9f466a5827c2b91b2505c07246307a8af3 cassandra-driver-3.20.2.tar.gz"
|