summaryrefslogtreecommitdiff
path: root/community/python2-m2crypto
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-29 03:30:04 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-29 03:30:04 +0000
commit0a521de4508e14363c59922ab2744ab699e30288 (patch)
tree22a9004955fd3ec5f7aa81f799bd9eabed325d15 /community/python2-m2crypto
parent462391357aa5e749dc9908c15f3baa0b4416f3d8 (diff)
Wed Jan 29 03:27:46 UTC 2014
Diffstat (limited to 'community/python2-m2crypto')
-rw-r--r--community/python2-m2crypto/LICENSE26
-rw-r--r--community/python2-m2crypto/PKGBUILD14
2 files changed, 34 insertions, 6 deletions
diff --git a/community/python2-m2crypto/LICENSE b/community/python2-m2crypto/LICENSE
new file mode 100644
index 000000000..d2f636fdd
--- /dev/null
+++ b/community/python2-m2crypto/LICENSE
@@ -0,0 +1,26 @@
+Copyright (c) 1999-2004 Ng Pheng Siong. All rights reserved.
+
+Portions copyright (c) 2004-2006 Open Source Applications Foundation.
+All rights reserved.
+
+Portions copyright (c) 2005-2006 Vrije Universiteit Amsterdam.
+All rights reserved.
+
+Copyright (c) 2008-2010 Heikki Toivonen. All rights reserved.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation.
+
+THE AUTHOR PROVIDES THIS SOFTWARE ``AS IS'' AND ANY EXPRESSED 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 AUTHOR 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/community/python2-m2crypto/PKGBUILD b/community/python2-m2crypto/PKGBUILD
index a68c5a35d..e3d68981f 100644
--- a/community/python2-m2crypto/PKGBUILD
+++ b/community/python2-m2crypto/PKGBUILD
@@ -4,16 +4,18 @@
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=python2-m2crypto
-pkgver=0.21.1
-pkgrel=2
+pkgver=0.22.3
+pkgrel=1
pkgdesc="A crypto and SSL toolkit for Python"
arch=('i686' 'x86_64')
url="http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto"
license=('BSD')
depends=('python2' 'openssl')
-makedepends=('swig')
-source=("http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${pkgver}.tar.gz")
-md5sums=('f93d8462ff7646397a9f77a2fe602d17')
+makedepends=('swig' 'python2-setuptools')
+source=("http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${pkgver}.tar.gz"
+ "LICENSE")
+md5sums=('573f21aaac7d5c9549798e72ffcefedd'
+ 'b0e1f0b7d0ce8a62c18b1287b991800e')
build() {
cd "${srcdir}/M2Crypto-${pkgver}"
@@ -23,5 +25,5 @@ build() {
package() {
cd "${srcdir}/M2Crypto-${pkgver}"
python2 setup.py install --root="${pkgdir}/" --optimize=1
- install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 $srcdir/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}