From ea61ccf3c73bca9995ad0092522fdff98b3a1925 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sat, 15 Jul 2017 23:06:50 +0000 Subject: python2-paver: initial inclusion. dep of flexget --- abs/core/python_modules/python2-paver/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 abs/core/python_modules/python2-paver/PKGBUILD diff --git a/abs/core/python_modules/python2-paver/PKGBUILD b/abs/core/python_modules/python2-paver/PKGBUILD new file mode 100644 index 0000000..328f6df --- /dev/null +++ b/abs/core/python_modules/python2-paver/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Sebastien Leduc +# Contributor: ponsfoot + +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 +} -- cgit v0.12