[arch-commits] Commit in python-m2crypto/repos (3 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:24:48 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:24:48
Author: felixonmars
Revision: 1058228
archrelease: copy trunk to community-staging-x86_64
Added:
python-m2crypto/repos/community-staging-x86_64/
python-m2crypto/repos/community-staging-x86_64/LICENSE
(from rev 1058226, python-m2crypto/trunk/LICENSE)
python-m2crypto/repos/community-staging-x86_64/PKGBUILD
(from rev 1058226, python-m2crypto/trunk/PKGBUILD)
----------+
LICENSE | 26 ++++++++++++++++++++++++++
PKGBUILD | 30 ++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
Copied: python-m2crypto/repos/community-staging-x86_64/LICENSE (from rev 1058226, python-m2crypto/trunk/LICENSE)
===================================================================
--- community-staging-x86_64/LICENSE (rev 0)
+++ community-staging-x86_64/LICENSE 2021-11-30 20:24:48 UTC (rev 1058228)
@@ -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.
Copied: python-m2crypto/repos/community-staging-x86_64/PKGBUILD (from rev 1058226, python-m2crypto/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-11-30 20:24:48 UTC (rev 1058228)
@@ -0,0 +1,30 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Sergej Pupykin <sergej at aur.archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=python-m2crypto
+pkgver=0.38.0
+pkgrel=2
+pkgdesc="A crypto and SSL toolkit for Python"
+arch=('x86_64')
+url="https://pypi.python.org/pypi/M2Crypto"
+license=('BSD')
+depends=('python' 'openssl')
+makedepends=('python-setuptools' 'swig')
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/m2crypto/m2crypto/-/archive/${pkgver}/${pkgname#python-}-${pkgver}.tar.gz"
+ "LICENSE")
+sha256sums=('ef0df09fd2db71e2470e62f4e588f633b05a4dc7395bfa67e81c65a8a959a719'
+ '4eca478396f4b2b020729a111fce3f096456d74500bfd8f2b0388c3c69f997c0')
+
+build(){
+ cd "m2crypto-$pkgver"
+ python setup.py build
+
+}
+
+package() {
+ cd "m2crypto-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+ install -D -m644 "$srcdir"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list