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

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 15:07:48 UTC 2020


    Date: Wednesday, November 11, 2020 @ 15:07:48
  Author: foutrelis
Revision: 400380

archrelease: copy trunk to staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 15:07:44 UTC (rev 400379)
+++ PKGBUILD	2020-11-11 15:07:48 UTC (rev 400380)
@@ -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.8
-pkgrel=2
-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=('fdfcaa065deffdd732deaa1fa30dec2fc4a90ffe15bd12de40636ce0212f447611096d2f4e652ed786b5c47544439e6a93721fabe121f3320f13965692a1ca5b')
-
-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
-}

Copied: python-pyasn1-modules/repos/staging-any/PKGBUILD (from rev 400379, python-pyasn1-modules/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 15:07:48 UTC (rev 400380)
@@ -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.8
+pkgrel=3
+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=('fdfcaa065deffdd732deaa1fa30dec2fc4a90ffe15bd12de40636ce0212f447611096d2f4e652ed786b5c47544439e6a93721fabe121f3320f13965692a1ca5b')
+
+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