Date: Monday, December 16, 2013 @ 23:19:33 Author: arodseth Revision: 102631
archrelease: copy trunk to community-any Added: python-mock/repos/community-any/PKGBUILD (from rev 102630, python-mock/trunk/PKGBUILD) Deleted: python-mock/repos/community-any/PKGBUILD ----------+ PKGBUILD | 78 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 40 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-12-16 22:19:27 UTC (rev 102630) +++ PKGBUILD 2013-12-16 22:19:33 UTC (rev 102631) @@ -1,38 +0,0 @@ -# Contributor: Felix Kaiser <felix.kai...@fxkr.net> - -pkgbase=python-mock -pkgname=(python2-mock python-mock) -pkgver=1.0.1 -pkgrel=1 -pkgdesc="A Python Mocking and Patching Library for Testing" -url='http://www.voidspace.org.uk/python/mock/' -makedepends=('python2' 'python') -license=('BSD') -arch=('any') -source=("http://pypi.python.org/packages/source/m/mock/mock-$pkgver.tar.gz") -md5sums=('c3971991738caa55ec7c356bbc154ee2') - -build() { - cd "$srcdir" - cp -rf "mock-$pkgver" "mock2-$pkgver" - - cd "$srcdir/mock-$pkgver" - python3 setup.py build - - cd "$srcdir/mock2-$pkgver" - python2 setup.py build -} - -package_python-mock() { -depends=('python') - cd "$srcdir/mock-$pkgver" - python3 setup.py install --optimize=1 --root="$pkgdir" - install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE -} - -package_python2-mock() { -depends=('python2') - cd "$srcdir/mock2-$pkgver" - python2 setup.py install --optimize=1 --root="$pkgdir" - install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE -} Copied: python-mock/repos/community-any/PKGBUILD (from rev 102630, python-mock/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-12-16 22:19:33 UTC (rev 102631) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: jelle van der Waa <je...@vdwaa.nl> +# Contributor: Felix Kaiser <felix.kai...@fxkr.net> + +pkgbase=python-mock +pkgname=(python2-mock python-mock) +pkgver=1.0.1 +pkgrel=2 +pkgdesc='Mocking and Patching Library for Testing' +url='http://www.voidspace.org.uk/python/mock/' +makedepends=('python2' 'python') +license=('BSD') +arch=('any') +source=("http://pypi.python.org/packages/source/m/mock/mock-$pkgver.tar.gz") +md5sums=('c3971991738caa55ec7c356bbc154ee2') + +build() { + cd "$srcdir" + cp -rf "mock-$pkgver" "mock2-$pkgver" + + cd "$srcdir/mock-$pkgver" + python3 setup.py build + + cd "$srcdir/mock2-$pkgver" + python2 setup.py build +} + +package_python-mock() { +depends=('python') + cd "$srcdir/mock-$pkgver" + python3 setup.py install --optimize=1 --root="$pkgdir" + install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_python2-mock() { +depends=('python2') + cd "$srcdir/mock2-$pkgver" + python2 setup.py install --optimize=1 --root="$pkgdir" + install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +}