[aur-general] Review request for 3 related PKGBUILDs
Leonid Bloch
leonid.bloch at esrf.fr
Tue Jan 3 08:14:26 UTC 2017
Hi,
I'd like to put 3 new packages in the AUR. They are a part of one
"kit", but are very different in functionality, therefore I think it
will be better to introduce 3 packages, instead of one, which contains
them all. You can see the details on: http://www.silx.org .
Essentially, these are 3 completely different packages, that just
happen to be used by the same community.
These PKGBUILDs were tested successfully on a minimally-installed VM.
Any feedback is welcome! :)
Thanks!
Leonid.
For silx:
~~~~~~~~~
# Package maintainer: Leonid B <leonid dot bloch at esrf dot fr>
# Upstream contact: silx at esrf dot fr
pkgname=python-silx
pkgver=0.3.0
pkgrel=1
pkgdesc="A collection of Python packages for data analysis at
synchrotron radiation facilities."
arch=('any')
url="http://www.silx.org"
license=('MIT' 'LGPL')
depends=('python-numpy' 'python-pyqt5' 'python-matplotlib' 'cython')
optdepends=('python-h5py: for HDF5 input/output'
'ipython: for interactive console'
'python-qtconsole: for GUI console'
'python-pyopencl: for sift - OpenCL implementation')
makedepends=('git')
source=("${pkgname}::git+https://github.com/silx-kit/${pkgname#*-}.git#tag=v${pkgver}")
md5sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname}"
python setup.py install --root="${pkgdir}/"
install -D copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
For FabIO:
~~~~~~~~~
# Package maintainer: Leonid B <leonid dot bloch at esrf dot fr>
# Upstream contact: silx at esrf dot fr
pkgname=python-fabio
pkgver=0.4.0
pkgrel=1
pkgdesc="I/O library for images produced by 2D X-ray detectors."
arch=('any')
url="http://www.silx.org"
license=('MIT' 'LGPL' 'Apache')
depends=('python-numpy' 'python-pillow' 'python-lxml')
optdepends=('python-pyqt4: for the fabio_viewer program')
makedepends=('git')
source=("${pkgname}::git+https://github.com/silx-kit/${pkgname#*-}.git#tag=v${pkgver}")
md5sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname}"
python setup.py install --root="${pkgdir}/"
install -D copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
For pyFAI:
~~~~~~~~~
# Package maintainer: Leonid B <leonid dot bloch at esrf dot fr>
# Upstream contact: silx at esrf dot fr
pkgname=python-pyfai
pkgver=0.13.0
pkgrel=1
pkgdesc="Fast Azimuthal Integration in Python."
arch=('any')
url="http://www.silx.org"
license=('GPLv3' 'BSD' 'MIT')
depends=('python-numpy' 'python-scipy' 'python-matplotlib' 'python-fabio'
'python-h5py' 'python-pyopencl' 'python-pyqt4' 'fftw' 'cython')
makedepends=('git')
source=("${pkgname}::git+https://github.com/silx-kit/pyFAI.git#tag=v${pkgver}")
md5sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname}"
python setup.py install --root="${pkgdir}/"
install -D LICENSES.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D copyright "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
}
More information about the aur-general
mailing list