Date: Friday, November 28, 2014 @ 05:44:28 Author: fyan Revision: 123236
archrelease: copy trunk to community-any Added: python-pytools/repos/community-any/PKGBUILD (from rev 123235, python-pytools/trunk/PKGBUILD) Deleted: python-pytools/repos/community-any/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-11-28 04:44:02 UTC (rev 123235) +++ PKGBUILD 2014-11-28 04:44:28 UTC (rev 123236) @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Stéphane Gaudreault <steph...@archlinux.org> - -pkgbase=python-pytools -pkgname=('python2-pytools' 'python-pytools') -pkgver=2014.3.4 -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=('3c56bf4e2e0153a09f10a21cf67dcf5717c244b3a09be8e805602e363c9715e0c181c900b9bf3291109ee8b7539725c53c8bac36ad8182983ffe296bb22181bb') - -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 -} - Copied: python-pytools/repos/community-any/PKGBUILD (from rev 123235, python-pytools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-11-28 04:44:28 UTC (rev 123236) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> + +pkgbase=python-pytools +pkgname=('python2-pytools' 'python-pytools') +pkgver=2014.3.5 +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=('94d2b51cdd87dd11263fdc7d04040979240dea0e0090da0ff325112df9770aacb0849e20812b90f807024ad3815313bc344307a30add8f6795a70e7ebd6adfaa') + +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 +} +