[arch-commits] Commit in python-ecdsa/repos (3 files)

Felix Yan fyan at nymeria.archlinux.org
Mon Mar 17 08:21:09 UTC 2014


    Date: Monday, March 17, 2014 @ 09:21:09
  Author: fyan
Revision: 107361

archrelease: copy trunk to community-staging-any

Added:
  python-ecdsa/repos/community-staging-any/
  python-ecdsa/repos/community-staging-any/LICENSE
    (from rev 107360, python-ecdsa/trunk/LICENSE)
  python-ecdsa/repos/community-staging-any/PKGBUILD
    (from rev 107360, python-ecdsa/trunk/PKGBUILD)

----------+
 LICENSE  |   24 ++++++++++++++++++++++++
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

Copied: python-ecdsa/repos/community-staging-any/LICENSE (from rev 107360, python-ecdsa/trunk/LICENSE)
===================================================================
--- community-staging-any/LICENSE	                        (rev 0)
+++ community-staging-any/LICENSE	2014-03-17 08:21:09 UTC (rev 107361)
@@ -0,0 +1,24 @@
+"python-ecdsa" Copyright (c) 2010 Brian Warner
+
+Portions written in 2005 by Peter Pearson and placed in the public domain.
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.

Copied: python-ecdsa/repos/community-staging-any/PKGBUILD (from rev 107360, python-ecdsa/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2014-03-17 08:21:09 UTC (rev 107361)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>  
+pkgbase=python-ecdsa
+pkgname=('python-ecdsa' 'python2-ecdsa')
+pkgver=0.11
+pkgrel=2
+pkgdesc="Implementation of ECDSA in Python"
+arch=('any')
+url="https://github.com/warner/python-ecdsa"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+options=(!emptydirs)
+source=("http://pypi.python.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz" "LICENSE")
+md5sums=('8ef586fe4dbb156697d756900cb41d7c'
+         '66ffc5e30f76cbb5358fe54b645e5a1d')
+
+build() {
+  cp -R "$srcdir/ecdsa-$pkgver" "$srcdir/ecdsa-$pkgver-py2"
+  cd "$srcdir/ecdsa-$pkgver-py2"
+  sed -ie 's#/usr/bin/env python#/usr/bin/env python2#' ecdsa/*.py
+}
+
+package_python-ecdsa() {
+  depends=('python')
+  cd "$srcdir/ecdsa-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-ecdsa() {
+  depends=('python2')
+  cd "$srcdir/ecdsa-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+  install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}




More information about the arch-commits mailing list