[arch-commits] Commit in python-ecdsa/repos/community-any (4 files)

Felix Yan felixonmars at archlinux.org
Thu Mar 19 12:46:50 UTC 2020


    Date: Thursday, March 19, 2020 @ 12:46:46
  Author: felixonmars
Revision: 600879

archrelease: copy trunk to community-any

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

----------+
 LICENSE  |   48 ++++++++++++++++++-------------------
 PKGBUILD |   78 ++++++++++++++++++++++++++++++++-----------------------------
 2 files changed, 66 insertions(+), 60 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2020-03-19 12:46:33 UTC (rev 600878)
+++ LICENSE	2020-03-19 12:46:46 UTC (rev 600879)
@@ -1,24 +0,0 @@
-"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-any/LICENSE (from rev 600878, python-ecdsa/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2020-03-19 12:46:46 UTC (rev 600879)
@@ -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.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-19 12:46:33 UTC (rev 600878)
+++ PKGBUILD	2020-03-19 12:46:46 UTC (rev 600879)
@@ -1,36 +0,0 @@
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-ecdsa
-pkgname=('python-ecdsa' 'python2-ecdsa')
-pkgver=0.13.3
-pkgrel=3
-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=("https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz" "LICENSE")
-md5sums=('b1b33f7fe171eb1278de6f93eefc34f8'
-         '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"
-}

Copied: python-ecdsa/repos/community-any/PKGBUILD (from rev 600878, python-ecdsa/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-19 12:46:46 UTC (rev 600879)
@@ -0,0 +1,42 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-ecdsa
+pkgname=('python-ecdsa' 'python2-ecdsa')
+pkgver=0.14
+pkgrel=1
+pkgdesc="Implementation of ECDSA in Python"
+arch=('any')
+url="https://github.com/warner/python-ecdsa"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python-hypothesis')
+options=(!emptydirs)
+source=("https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz" "LICENSE")
+sha512sums=('3ba419e0e136cd94c3979bd8133276d0007fb40ec84faafa951b497792150a7b925738a49b1c740fadd8506ec09228db305f8ace09d27924de729fe2f18ffc44'
+            '5519af4e81ecb681e2ef1a26602efed1640d6e3bf100d8c492dd4bbce4dba75de6a5a308115ff78a8dcd5d428630a92dd88fe9abfaeed04cd066b3f4d288b219')
+
+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#' src/ecdsa/*.py
+}
+
+check() {
+  cd "$srcdir/ecdsa-$pkgver"
+  python -m pytest
+}
+
+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