diff options
author | Feakster | 2021-01-21 09:25:31 +0000 |
---|---|---|
committer | Feakster | 2021-01-21 09:25:31 +0000 |
commit | 639c6f819bb317a7900d0ee715233b366dc385f7 (patch) | |
tree | 99ae4f13b06bfaedf7ac3b989967a187e879db85 /PKGBUILD | |
parent | 46e1dc8e8058162db09a9375830cbaf9e664d07e (diff) | |
download | aur-639c6f819bb317a7900d0ee715233b366dc385f7.tar.gz |
Added a check function
- Added a .gitignore file.
- Added a check() function. This is commented out for now as there are tests failures.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -4,6 +4,7 @@ # - Repo: 'https://github.com/physimals/pyfab' # - Docs: 'https://pyfab.readthedocs.io/en/latest/' # - Fabber is provided by FSL, but can be installed as a standalone (https://github.com/physimals/fabber_core) +# - Currently triggers test failures ### Info ### pkgname=python-pyfab @@ -17,6 +18,7 @@ license=('custom:PYFAB license') depends=('fsl>=6.0.1' 'python' 'python-numpy' 'python-nibabel' 'python-six') optdepends=('fslpy: MVN functionality') makedepends=('git' 'python-setuptools') +# checkdepends=('python-pytest') source=("$pkgname::git+https://github.com/physimals/${_pkgname}.git#tag=v$pkgver") b2sums=('SKIP') @@ -29,6 +31,15 @@ build() { python setup.py build } +# ### Check ### +# check() { +# ## Change Directory ## +# cd "$srcdir/$pkgname" +# +# ## Test ## +# pytest +# } + ### Package ### package() { ## Change Directory ## @@ -43,4 +54,7 @@ package() { ## Install License ## install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + + ## Install Docs ## + install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md } |