diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 22 insertions, 16 deletions
@@ -1,36 +1,42 @@ -# Maintainer: Alexander Scharinger <e1028732 at student dot tuwien dot ac dot at> +# Maintainer: Jake <ja.ke@posteo.de> +# Contributor: Alexander Scharinger # Contributor: Tristan Webb <t2webb@ucsd.edu> # Contributor Sindwiller pkgname=pyspread -pkgver=1.0.3 +pkgver=1.1.1 pkgrel=1 pkgdesc="A cross-platform Python spreadsheet application. Python 2.7 version" arch=('any') url="https://manns.github.io/pyspread/" license=('GPL3') -depends=('python2>=2.7.0' 'python2-numpy>=1.1.0' 'wxpython' 'python2-matplotlib' - 'cairo>=1.8.8') -options=(!emptydirs) -source=('https://pypi.python.org/packages/f9/01/a3b4be117b4ea69d0d2c96fdfff47de9a4c61ba8295ed4f4a6ca5eb60306/pyspread-1.0.3.tar.gz') +depends=('python2-numpy>=1.1.0' + 'wxpython' # needs pycairo patch + 'python2-matplotlib' + 'python2-cairo' + 'python2-gnupg') +optdepends=('python2-gnupginterface: for opening files without approval' # in AUR + 'python2-xlrd: open Excel files' # in Community + 'python2-xlwt: save Excel files' # in Community + 'python2-jedi: TAB autocompletion and context help in the entry line' # in Community + 'python2-basemap: for the weather example' # in Community + 'python2-pyenchant: for spell checking') # in Community # The pyspread website lists another optional dependency: pyrsvg>=2.32, for # displaying SVG files in cells. But pyrsvg is included in cairo (from the # mandatory dependencies). # See: https://manns.github.io/pyspread/download.html and on this site follow # link to pyrsvg. -optdepends=('python2-gnupginterface: for opening files without approval' # in AUR - 'python2-xlrd: open Excel files' # in Community - 'python2-xlwt: save Excel files' # in Community - 'python2-jedi: TAB autocompletion and context help in the entry line' # in Community - 'python2-basemap: for the weather example' ) # in Community -# To update the md5sum use the following command. -# $ makepkg -g >> PKGBUILD -md5sums=('b240c8fb57ce7354334982266fae47b5') +options=(!emptydirs) +source=("https://github.com/manns/pyspread/archive/v${pkgver}.tar.gz" + "$pkgname.desktop") +sha512sums=('46fc9e487876c1e903b4f25c7f29423901ce9580bb3916f60fac8358d76cfcd78b4315de191aaf41745331eac899422693e3b1fb259df79ba6d8c02f53553ff6' + '9411c1c4c9c68132bdc05fc028b4a3d1dade65502a21c64bcd093f94fe7ed6e7dee3f34a2a423da263f73dd5f20c1fcbfb0734ec60e5789057296dd8d48895d2') -package() { +package() { cd "${srcdir}/${pkgname}-${pkgver}" python2 setup.py install --root=$pkgdir/ --optimize=1 mv $pkgdir/usr/lib/python2.7/site-packages/{changelog,README} \ $pkgdir/usr/lib/python2.7/site-packages/pyspread/ + install -D "$pkgdir/usr/lib/python2.7/site-packages/pyspread/share/icons/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" + install -D -m644 "${srcdir}/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" } -# vim:set ts=2 sw=2 et: |