[arch-commits] Commit in python-pyasn1-modules/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Aug 2 16:39:30 UTC 2019


    Date: Friday, August 2, 2019 @ 16:39:29
  Author: felixonmars
Revision: 358893

archrelease: copy trunk to extra-any

Added:
  python-pyasn1-modules/repos/extra-any/PKGBUILD
    (from rev 358892, python-pyasn1-modules/trunk/PKGBUILD)
Deleted:
  python-pyasn1-modules/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  102 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 49 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-02 16:39:18 UTC (rev 358892)
+++ PKGBUILD	2019-08-02 16:39:29 UTC (rev 358893)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pyasn1-modules
-pkgname=('python-pyasn1-modules' 'python2-pyasn1-modules')
-pkgver=0.2.5
-pkgrel=1
-pkgdesc="A collection of ASN.1-based protocols modules"
-arch=('any')
-license=('BSD')
-url="http://pypi.python.org/pypi/pyasn1-modules"
-makedepends=('python-pyasn1' 'python2-pyasn1' 'python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/p/pyasn1-modules/pyasn1-modules-$pkgver.tar.gz"
-        https://github.com/etingof/pyasn1-modules/commit/89e36e97ee1e6fe588a18e47043f447a3061fb18.patch)
-sha512sums=('16b49e95b570e1e4c4185cfe596bc4614930030101ddb02080067ca1d94aa388a7932f807fe7b76eaad50ef135f6a0cdbe2a0b355fd7778364eb9d8df7610434'
-            'f3a82fc47bc7f580b051208e3639ad4359917f982509e3f1d752b81ae55f965fcfb76bb156b9b0b226ae364b26fa80ecc1583caca07cf77d07732676a0c11a4b')
-
-prepare() {
-  # Fix tests
-  patch -d pyasn1-modules-$pkgver -p1 -i ../89e36e97ee1e6fe588a18e47043f447a3061fb18.patch
-  cp -a pyasn1-modules-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pyasn1-modules-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pyasn1-modules-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/pyasn1-modules-$pkgver
-  PYTHONPATH=. python tests/__main__.py
-
-  cd "$srcdir"/pyasn1-modules-$pkgver-py2
-  PYTHONPATH=. python2 tests/__main__.py
-}
-
-package_python-pyasn1-modules() {
-  depends=('python-pyasn1')
-
-  cd pyasn1-modules-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-pyasn1-modules() {
-  depends=('python2-pyasn1')
-
-  cd pyasn1-modules-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-pyasn1-modules/repos/extra-any/PKGBUILD (from rev 358892, python-pyasn1-modules/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-02 16:39:29 UTC (rev 358893)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pyasn1-modules
+pkgname=('python-pyasn1-modules' 'python2-pyasn1-modules')
+pkgver=0.2.6
+pkgrel=1
+pkgdesc="A collection of ASN.1-based protocols modules"
+arch=('any')
+license=('BSD')
+url="https://pypi.python.org/pypi/pyasn1-modules"
+makedepends=('python-pyasn1' 'python2-pyasn1' 'python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/p/pyasn1-modules/pyasn1-modules-$pkgver.tar.gz")
+sha512sums=('6bf576146f59043bd708abcfdf6614c5a441e6e38c7bac2458491c5dddc42fe25210f0387ee12882391f6265a0e716ccbda547555ca38fbf3e2adf1587c95462')
+
+prepare() {
+  cp -a pyasn1-modules-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pyasn1-modules-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pyasn1-modules-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pyasn1-modules-$pkgver
+  PYTHONPATH=. python tests/__main__.py
+
+  cd "$srcdir"/pyasn1-modules-$pkgver-py2
+  PYTHONPATH=. python2 tests/__main__.py
+}
+
+package_python-pyasn1-modules() {
+  depends=('python-pyasn1')
+
+  cd pyasn1-modules-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-pyasn1-modules() {
+  depends=('python2-pyasn1')
+
+  cd pyasn1-modules-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}


More information about the arch-commits mailing list