2015-01-02 03:22:20 +00:00
|
|
|
# Maintainer: Sebastien Leduc <sebastien@sleduc.fr>
|
|
|
|
# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
|
2014-11-04 17:50:35 +00:00
|
|
|
|
|
|
|
pkgname=python2-paver
|
2015-03-25 12:05:05 +00:00
|
|
|
pkgver=1.2.4
|
2014-11-04 17:50:35 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Build, Distribute and Deploy Python Projects"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.blueskyonmars.com/projects/paver/"
|
|
|
|
license=('BSD')
|
|
|
|
depends=('python2')
|
2015-01-02 03:22:20 +00:00
|
|
|
source=("http://pypi.python.org/packages/source/P/Paver/Paver-${pkgver}.tar.gz")
|
2015-03-25 12:05:05 +00:00
|
|
|
md5sums=('dbb94faf8b004eb9920b632808c20560')
|
2014-11-04 17:50:35 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/Paver-${pkgver}"
|
|
|
|
python2 setup.py install --prefix="${pkgdir}/usr"
|
|
|
|
install -D "${srcdir}/Paver-${pkgver}/LICENSE.txt" \
|
|
|
|
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
|
|
|
|
|
|
# fix python3 conflict
|
|
|
|
for _f in "$pkgdir"/usr/bin/*; do
|
|
|
|
mv -v "$_f" "${_f}2"
|
|
|
|
done
|
|
|
|
}
|