diff options
author | Erich Eckner <git@eckner.net> | 2019-01-24 11:14:12 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-24 11:14:12 +0100 |
commit | 8bfb9915a1569edd850c233c0d681cf7782ded86 (patch) | |
tree | 0b160c5932fb7358b4aa2616804bafeba3394752 /python-postpic | |
parent | 506bd50f48669609d67d0a205d3f09421663f23a (diff) | |
download | archlinuxewe.git.save-8bfb9915a1569edd850c233c0d681cf7782ded86.tar.xz |
python-postpic: vorerst gelöscht
Diffstat (limited to 'python-postpic')
-rw-r--r-- | python-postpic/PKGBUILD | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/python-postpic/PKGBUILD b/python-postpic/PKGBUILD deleted file mode 100644 index bd1ed2fa..00000000 --- a/python-postpic/PKGBUILD +++ /dev/null @@ -1,94 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> - -pkgbase=python-postpic -pkgname=(python-postpic python2-postpic) -pkgver=0.4 -pkgrel=1 -pkgdesc='The open source particle-in-cell post processor.' -url='https://github.com/skuschel/postpic' -arch=('i686' 'x86_64') -license=('GPL3') -_deppy2=( - 'python2>=2.7' - 'python2<2.8' -) -_deppy=( - 'python>=3.7' - 'python<3.8' -) -_depends=( - 'python-matplotlib' 'python-numpy>=1.7' 'python-scipy' 'python-future' 'python-urllib3' 'python-numexpr' -) -_makedepends=( - 'python-setuptools' - 'cython' - 'python-h5py' -) -_optdepends=( - 'python-h5py: h5 reader for openPMD support' - 'python-sdf: sdf support for EPOCH reader' -) -makedepends=( - "${_deppy[@]}" - "${_deppy2[@]}" - "${_depends[@]}" - "${_depends[@]/python/python2}" - "${_makedepends[@]}" - "${_makedepends[@]/ython/ython2}" -) -source=($pkgname-$pkgver.tar.gz::https://github.com/skuschel/postpic/archive/v$pkgver.tar.gz) -sha512sums=('4f3d9ed4ae70f0fb8ae4e2e690aa9dc683cb92c78b1daef2dd251ada9653b94d7b5bf688dae64e998f808ff812650c32d8a5570224a1d72d6b0123a803bb21ac') - -prepare() { - cp -a postpic-${pkgver}{,-py2} -} - -build() { - echo "Building python..." - (cd postpic-${pkgver} - python setup.py build - ) - echo "Building python2..." - (cd postpic-${pkgver}-py2 - python2 setup.py build - ) -} - -check() { - echo "Checking python..." - (cd postpic-${pkgver} - python setup.py test - ) - echo "Checking python2..." - (cd postpic-${pkgver}-py2 - python2 setup.py test - ) -} - -package_python-postpic() { - depends=( - "${_deppy[@]}" - "${_depends[@]}" - ) - optdepends=("${_optdepends[@]}") - - cd postpic-${pkgver} - python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build - install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname} - #install -Dm 644 CHANGES README -t "${pkgdir}"/usr/share/doc/${pkgname} -} - -package_python2-postpic() { - depends=( - "${_deppy2[@]}" - "${_depends[@]/python/python2}" - ) - optdepends=("${_optdepends[@]/python/python2}") - - cd postpic-${pkgver}-py2 - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build - install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname} - #install -Dm 644 CHANGES README -t "${pkgdir}"/usr/share/doc/${pkgname} -} - -# vim: ts=2 sw=2 et: |