Date: Monday, January 25, 2016 @ 18:40:57 Author: anthraxx Revision: 158892
upgpkg: python2-unittest2 1.1.0-3 Added: python2-unittest2/ python2-unittest2/repos/ python2-unittest2/trunk/ python2-unittest2/trunk/LICENSE python2-unittest2/trunk/PKGBUILD ----------+ LICENSE | 32 ++++++++++++++++++++++++++++++++ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) Added: python2-unittest2/trunk/LICENSE =================================================================== --- python2-unittest2/trunk/LICENSE (rev 0) +++ python2-unittest2/trunk/LICENSE 2016-01-25 17:40:57 UTC (rev 158892) @@ -0,0 +1,32 @@ +Copyright (c) 2003-2010, Michael Foord +All rights reserved. +E-mail : fuzzyman AT voidspace DOT org DOT uk + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of Michael Foord nor the name of Voidspace + may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Added: python2-unittest2/trunk/PKGBUILD =================================================================== --- python2-unittest2/trunk/PKGBUILD (rev 0) +++ python2-unittest2/trunk/PKGBUILD 2016-01-25 17:40:57 UTC (rev 158892) @@ -0,0 +1,31 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Carl George < arch at cgtx dot us > + +pkgname=python2-unittest2 +_pkgname=unittest2 +pkgver=1.1.0 +pkgrel=3 +pkgdesc="New features in unittest for Python 2" +url="http://www.voidspace.org.uk/python/articles/unittest2.shtml" +arch=('any') +license=('BSD') +depends=('python2-six' 'python2-traceback2') +makedepends=('python2-distribute') +source=(${pkgname}-${pkgver}.tar.gz::https://hg.python.org/unittest2/archive/${pkgver}.tar.gz + LICENSE) +sha512sums=('ccd701194994623422d5c0bdd88d89b279cbbc67cd96b3cfee7f48e1c32f87c154a3378771e2909afa89d9c13692173ccbd692312b1ad7b9d05cf8c115fcc14b' + '85242ed21eb191fa0bab16f3e390957f1c8b7bc3b79aefbea2d925feaa8248f33d6e22afaa7d1c07c5fcb5e800910aa2a1cb52d892c104337bbdb57a380373a2') + +build() { + cd ${_pkgname}-${pkgver} + python2 setup.py build +} + +package() { + cd ${_pkgname}-${pkgver} + python2 setup.py install --skip-build -O1 --root="${pkgdir}" + install -Dm 644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm 644 README.txt "${pkgdir}/usr/share/doc/${pkgname}/README" +} + +# vim: ts=2 sw=2 et: