diff options
author | Dylan Delgado | 2020-12-09 01:57:21 -0500 |
---|---|---|
committer | Dylan Delgado | 2020-12-09 01:57:21 -0500 |
commit | 794e6e56c38fa4e814a50c6f50bbd88238b80f6b (patch) | |
tree | 4c85c8c5154d9a64b9851c8eac306b079dba14e6 /PKGBUILD | |
download | aur-python-sdf.tar.gz |
Initial commit, based on version 0.3.5
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9a210d10e9ae --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +#Maintainer: Dylan Delgado <dylan1496 at live dot com> + +pkgname=python-sdf +_pipname=SDF +pkgver=0.3.5 +pkgrel=1 +pkgdesc="Python library to work with the Scientific Data Format" +url="https://github.com/ScientificDataFormat/SDF-Python" +arch=('x86_64') +license=('custom:BSD 3-clause') +depends=('python-numpy' 'python-matplotlib' 'python-scipy' 'python-h5py') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/7e/0f/35fe015db93179c905795b84cc03fc79b5b40d0daf530e1e075b0f78aea2/${_pipname}-${pkgver}.tar.gz" +"LICENSE") +sha256sums=('7be0abd14f0cb742745b383436f7b26d883396610da045ba485f24cc5bbfd22f' +'SKIP') + +build() { + cd ${srcdir}/${_pipname}-${pkgver} + python setup.py build +} + +package() { + cd ${srcdir}/${_pipname}-${pkgver} + python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build + cd .. + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname} +}
\ No newline at end of file |