summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/python2-paver/PKGBUILD
blob: 328f6df8bf4da7748100a7cb81f2d96430d76bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Sebastien Leduc <sebastien@sleduc.fr>
# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>

pkgname=python2-paver
pkgver=1.2.4
pkgrel=1
pkgdesc="Build, Distribute and Deploy Python Projects"
arch=('i686' 'x86_64')
url="http://www.blueskyonmars.com/projects/paver/"
license=('BSD')
depends=('python2')
source=("http://pypi.python.org/packages/source/P/Paver/Paver-${pkgver}.tar.gz")
md5sums=('dbb94faf8b004eb9920b632808c20560')

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
}