[arch-commits] Commit in pyopenssl/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Dec 15 18:28:23 UTC 2020


    Date: Tuesday, December 15, 2020 @ 18:28:23
  Author: felixonmars
Revision: 404362

archrelease: copy trunk to extra-any

Added:
  pyopenssl/repos/extra-any/PKGBUILD
    (from rev 404361, pyopenssl/trunk/PKGBUILD)
Deleted:
  pyopenssl/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  120 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-15 18:28:12 UTC (rev 404361)
+++ PKGBUILD	2020-12-15 18:28:23 UTC (rev 404362)
@@ -1,60 +0,0 @@
-# Maintainer : Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgbase=pyopenssl
-pkgname=('python-pyopenssl' 'python2-pyopenssl')
-pkgver=20.0.0
-pkgrel=1
-arch=('any')
-pkgdesc="Python3 wrapper module around the OpenSSL library"
-url='https://github.com/pyca/pyopenssl'
-license=('Apache')
-makedepends=('openssl' 'python-setuptools' 'python2-setuptools' 'python-cryptography'
-             'python2-cryptography' 'python-six' 'python2-six')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend'
-              'python-flaky' 'python2-flaky')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/pyca/pyopenssl/archive/${pkgver}.tar.gz)
-sha512sums=('c5ec28c0ec3840afa19c6b5616c260a39fec5d7fe14573622a0362e5f3826582bf18df5047b2bb440a188804b3a3db2c324db296e30bc2b262c9574af5510d16')
-
-prepare() {
-  cp -a pyopenssl-$pkgver{,-py2}
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/pyopenssl-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pyopenssl-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  (
-    cd "$srcdir"/pyopenssl-$pkgver
-    python setup.py pytest
-
-    cd "$srcdir"/pyopenssl-$pkgver-py2
-    python2 setup.py pytest
-  ) || warning "Tests failed due to missing SSLv3_METHOD"
-}
-
-package_python-pyopenssl() {
-  depends=('openssl' 'python' 'python-six' 'python-cryptography')
-  replaces=('pyopenssl')
-  provides=('pyopenssl')
-  conflicts=('pyopenssl')
-
-  cd pyopenssl-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python2-pyopenssl() {
-  depends=('openssl' 'python2' 'python2-six' 'python2-cryptography')
-
-  cd pyopenssl-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-# vim: ts=2 sw=2 et:

Copied: pyopenssl/repos/extra-any/PKGBUILD (from rev 404361, pyopenssl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-15 18:28:23 UTC (rev 404362)
@@ -0,0 +1,60 @@
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgbase=pyopenssl
+pkgname=('python-pyopenssl' 'python2-pyopenssl')
+pkgver=20.0.1
+pkgrel=1
+arch=('any')
+pkgdesc="Python3 wrapper module around the OpenSSL library"
+url='https://github.com/pyca/pyopenssl'
+license=('Apache')
+makedepends=('openssl' 'python-setuptools' 'python2-setuptools' 'python-cryptography'
+             'python2-cryptography' 'python-six' 'python2-six')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend'
+              'python-flaky' 'python2-flaky')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/pyca/pyopenssl/archive/${pkgver}.tar.gz)
+sha512sums=('cfaea0ed9d98675ad263c71b0d3b1572224baecd69261653b78a1801203168f61025bce35c94606217354e3c93aea5dc77fda4410e6559fed022fec00982aac8')
+
+prepare() {
+  cp -a pyopenssl-$pkgver{,-py2}
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/pyopenssl-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pyopenssl-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  (
+    cd "$srcdir"/pyopenssl-$pkgver
+    python setup.py pytest
+
+    cd "$srcdir"/pyopenssl-$pkgver-py2
+    python2 setup.py pytest
+  ) || warning "Tests failed due to missing SSLv3_METHOD"
+}
+
+package_python-pyopenssl() {
+  depends=('openssl' 'python' 'python-six' 'python-cryptography')
+  replaces=('pyopenssl')
+  provides=('pyopenssl')
+  conflicts=('pyopenssl')
+
+  cd pyopenssl-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-pyopenssl() {
+  depends=('openssl' 'python2' 'python2-six' 'python2-cryptography')
+
+  cd pyopenssl-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list