blob: 19d5a3f79ad7adc4c492b9562008859220299a1b (
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
|
# Maintainer: Nicholas Dahm <(first).(last) at gmail>
# Update process
# Go to PyPI neo4j download page https://pypi.org/project/neo4j/#files
# Get latest URL to tar.gz, extract _pypidir and version
# Download and get sha256 checksum
# profit
pkgname=python-neo4j
_name=${pkgname#python-}
pkgver=5.27.0
pkgrel=1
pkgdesc="Neo4j Bolt driver for Python"
url="https://pypi.org/project/neo4j/"
arch=('any')
license=('GPLv3')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('f82ee807cd15b178898d83f41a66372e11719a25dd487fd7bea48fd4b7323765')
package() {
cd ${_name}-${pkgver}
# Note: As of 5.3.0-2 we removed -O1 as part of the switch from setup.py to python -m build/installer
python -m build
python -m installer --destdir="${pkgdir}" --prefix=/usr dist/*.whl
}
|