summaryrefslogtreecommitdiff
path: root/python-xraydb/PKGBUILD
blob: 38af4da641b43453e10ff193c6005689d9efd08d (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
# Maintainer: Erich Eckner <arch at eckner dot net>

pkgname='python-xraydb'
pkgver=4.4.2
pkgrel=1
arch=('any')
url='https://github.com/xraypy/XrayDB'
license=('Unlicense')
pkgdesc='X-ray Reference Data in SQLite library, including a Python interface'
source=("$pkgname-$pkgver.tar.gz::https://github.com/xraypy/XrayDB/archive/$pkgver.tar.gz")
sha512sums=('87c6f03c630f494dd66fa2c6113d8a4de63e3013c7ec80d5c8a15f4e51b675ba58218acfdbf1a4529d38da4deb9709408aea11cb29bc3f45f7142daaf41823b2')
depends=(
  'python>=3.8'
  'python<3.9'
)
makedepends=(
  'python-setuptools'
)

build() {
  cd "XrayDB-$pkgver/python"
  python setup.py build
}

package() {
  cd "XrayDB-$pkgver/python"
  python setup.py install --root="$pkgdir"
}