diff options
author | James Meyer <james.meyer@operamail.com> | 2010-09-21 04:33:07 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-09-21 04:33:07 (GMT) |
commit | 79b3ed9852a1d7614902ef746a9234336c9e014a (patch) | |
tree | b753166314e87ccd5143b3753360aa1cd6ecd9d7 /abs/core-testing/python-decorator | |
parent | e9a491c1691bb8f3497a2138f19c183555174ff3 (diff) | |
download | linhes_pkgbuild-79b3ed9852a1d7614902ef746a9234336c9e014a.zip linhes_pkgbuild-79b3ed9852a1d7614902ef746a9234336c9e014a.tar.gz linhes_pkgbuild-79b3ed9852a1d7614902ef746a9234336c9e014a.tar.bz2 |
pyparted,iplib,decorator: python modules arch sync
Diffstat (limited to 'abs/core-testing/python-decorator')
-rw-r--r-- | abs/core-testing/python-decorator/LICENSE.txt | 26 | ||||
-rw-r--r-- | abs/core-testing/python-decorator/PKGBUILD | 29 |
2 files changed, 55 insertions, 0 deletions
diff --git a/abs/core-testing/python-decorator/LICENSE.txt b/abs/core-testing/python-decorator/LICENSE.txt new file mode 100644 index 0000000..a6a4929 --- /dev/null +++ b/abs/core-testing/python-decorator/LICENSE.txt @@ -0,0 +1,26 @@ +Copyright (c) 2007, Michele Simionato +All rights reserved. + +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 bytecode 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. + + 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 + HOLDERS 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. diff --git a/abs/core-testing/python-decorator/PKGBUILD b/abs/core-testing/python-decorator/PKGBUILD new file mode 100644 index 0000000..a7cd692 --- /dev/null +++ b/abs/core-testing/python-decorator/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Pierre Chapuis <catwell at archlinux dot us> + +pkgname=python-decorator +pkgver=3.2.0 +pkgrel=1 +pkgdesc='Python Decorator module' +arch=('any') +url='http://pypi.python.org/pypi/decorator' +license=('BSD') +depends=('python') +source=("http://pypi.python.org/packages/source/d/decorator/decorator-${pkgver}.tar.gz" + 'LICENSE.txt') +md5sums=('6208cd51365083c168ab3a04426a646b' + '0ca76d2c707f09dbb04acc425ea1a08b') + +build() { + cd decorator-${pkgver} + + python setup.py build +} + +package() { + cd decorator-${pkgver} + + python setup.py install --root=${pkgdir} --optimize=1 + + install -D -m644 ${srcdir}/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |