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

Felix Yan felixonmars at archlinux.org
Sun Jan 27 15:02:41 UTC 2019


    Date: Sunday, January 27, 2019 @ 15:02:40
  Author: felixonmars
Revision: 344876

archrelease: copy trunk to extra-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-27 15:02:19 UTC (rev 344875)
+++ PKGBUILD	2019-01-27 15:02:40 UTC (rev 344876)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pyasn1-modules
-pkgname=('python-pyasn1-modules' 'python2-pyasn1-modules')
-pkgver=0.2.3
-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")
-sha512sums=('12544fcecf9bed5797dc5d63376db2ee3bc269d509e94c9721dcd8a057b4520acbbfe1bae06d830fd487b3c403e35c97913b85a4529600d5d0d4548bd00e7878')
-
-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-pyopenssl' '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-pyopenssl' '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 344875, python-pyasn1-modules/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-27 15:02:40 UTC (rev 344876)
@@ -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.4
+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")
+sha512sums=('c9e16475629b9c62880ecc67317ed734953a8719089fec89b14ab81e7ef4504bc534aa777b1c25dead7867c483177423ee4a218c14470994017e30704e1cc1dc')
+
+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-pyopenssl' '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-pyopenssl' '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