[arch-commits] Commit in python-asn1crypto/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Mar 16 10:09:27 UTC 2017
Date: Thursday, March 16, 2017 @ 10:09:26
Author: felixonmars
Revision: 290921
archrelease: copy trunk to extra-any
Added:
python-asn1crypto/repos/extra-any/PKGBUILD
(from rev 290920, python-asn1crypto/trunk/PKGBUILD)
Deleted:
python-asn1crypto/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-16 10:08:44 UTC (rev 290920)
+++ PKGBUILD 2017-03-16 10:09:26 UTC (rev 290921)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Massimiliano Torromeo < massimiliano DOT torromeo AT gmail DOT com >
-
-pkgbase=python-asn1crypto
-pkgname=('python-asn1crypto' 'python2-asn1crypto')
-pkgver=0.21.1
-pkgrel=1
-arch=('any')
-license=('MIT')
-pkgdesc="Python ASN.1 library with a focus on performance and a pythonic API"
-url="https://github.com/wbond/asn1crypto"
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/wbond/asn1crypto.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a asn1crypto{,-py2}
-}
-
-build() {
- cd "$srcdir"/asn1crypto
- python setup.py build
-
- cd "$srcdir"/asn1crypto-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/asn1crypto
- python run.py tests
-
- cd "$srcdir"/asn1crypto-py2
- python2 run.py tests
-}
-
-package_python-asn1crypto() {
- depends=('python')
-
- cd asn1crypto
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python-asn1crypto/LICENSE
-}
-
-package_python2-asn1crypto() {
- depends=('python2')
-
- cd asn1crypto-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python2-asn1crypto/LICENSE
-}
Copied: python-asn1crypto/repos/extra-any/PKGBUILD (from rev 290920, python-asn1crypto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-03-16 10:09:26 UTC (rev 290921)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Massimiliano Torromeo < massimiliano DOT torromeo AT gmail DOT com >
+
+pkgbase=python-asn1crypto
+pkgname=('python-asn1crypto' 'python2-asn1crypto')
+pkgver=0.22.0
+pkgrel=1
+arch=('any')
+license=('MIT')
+pkgdesc="Python ASN.1 library with a focus on performance and a pythonic API"
+url="https://github.com/wbond/asn1crypto"
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/wbond/asn1crypto/archive/$pkgver.tar.gz")
+sha512sums=('d7d88e81323d4e70a32723967aa7df912671c4039b26801846ccf3337ef3015528f9b0d23a25988b0d823291f069323e6985c8ef25f681cc1edb85d64d42d0e5')
+
+prepare() {
+ cp -a asn1crypto-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/asn1crypto-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/asn1crypto-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/asn1crypto-$pkgver
+ python run.py tests
+
+ cd "$srcdir"/asn1crypto-$pkgver-py2
+ python2 run.py tests
+}
+
+package_python-asn1crypto() {
+ depends=('python')
+
+ cd asn1crypto-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python-asn1crypto/LICENSE
+}
+
+package_python2-asn1crypto() {
+ depends=('python2')
+
+ cd asn1crypto-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python2-asn1crypto/LICENSE
+}
More information about the arch-commits
mailing list