Date: Tuesday, May 27, 2014 @ 12:47:01 Author: fyan Revision: 111972 archrelease: copy trunk to community-any
Added: python-pytools/repos/community-any/PKGBUILD (from rev 111971, python-pytools/trunk/PKGBUILD) Deleted: python-pytools/repos/community-any/PKGBUILD ----------+ PKGBUILD | 89 ++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 51 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-05-27 10:46:11 UTC (rev 111971) +++ PKGBUILD 2014-05-27 10:47:01 UTC (rev 111972) @@ -1,38 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@gmail.com> -# Contributor: Stéphane Gaudreault <steph...@archlinux.org> - -pkgbase=python-pytools -pkgname=('python2-pytools' 'python-pytools') -pkgver=2014.1.2 -pkgrel=2 -pkgdesc="A collection of tools for Python" -arch=('any') -url="http://mathema.tician.de/software/pytools" -license=('MIT') -makedepends=('python2-setuptools' 'python-setuptools') -source=(http://pypi.python.org/packages/source/p/pytools/pytools-${pkgver}.tar.gz) - -build() { - cp -a pytools-${pkgver}{,-python2} - - cd "$srcdir/pytools-${pkgver}" - python setup.py build - - cd "${srcdir}/pytools-${pkgver}-python2" - python2 setup.py build -} - -package_python2-pytools() { - depends=('python2' 'python2-decorator') - cd "${srcdir}/pytools-${pkgver}-python2" - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 -} - -package_python-pytools(){ - depends=('python' 'python-decorator') - cd "${srcdir}/pytools-${pkgver}" - python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 -} - -sha512sums=('4c849518223a8257282a448554d38fee44b9583b1567b8f606a7903994d32274c5f67addfe629ea45a73587efaf9a826604c3688147b10914657d692ed9039e6') Copied: python-pytools/repos/community-any/PKGBUILD (from rev 111971, python-pytools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-05-27 10:47:01 UTC (rev 111972) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> + +pkgbase=python-pytools +pkgname=('python2-pytools' 'python-pytools') +pkgver=2014.2 +pkgrel=1 +pkgdesc="A collection of tools for Python" +arch=('any') +url="http://mathema.tician.de/software/pytools" +license=('MIT') +makedepends=('python-setuptools' 'python2-setuptools' 'python-decorator' 'python2-decorator') +checkdepends=('python-pytest' 'python2-pytest') +source=("http://pypi.python.org/packages/source/p/pytools/pytools-$pkgver.tar.gz") +sha512sums=('e11fb0608dfdaefce585ac7413e6676ed891810a771db23469227bec5f5d63e93261b13053d7cafff7dfb4eb0ec09acda0c0248811e4553009dd17c640224dcf') + +prepare() { + cp -a pytools-${pkgver}{,-python2} +} + +build() { + cd "$srcdir/pytools-$pkgver" + python setup.py build + + cd "$srcdir/pytools-$pkgver-python2" + python2 setup.py build +} + +check() { + # Need pytools installed for running tests + + cd "$srcdir/pytools-$pkgver" + #py.test + + cd "$srcdir/pytools-$pkgver-python2" + #py.test2 +} + +package_python2-pytools() { + depends=('python2' 'python2-decorator') + cd "$srcdir/pytools-$pkgver-python2" + python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 +} + +package_python-pytools(){ + depends=('python' 'python-decorator') + cd "$srcdir/pytools-$pkgver" + python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 +} +