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

Antonio Rojas arojas at gemini.archlinux.org
Mon Nov 29 19:24:06 UTC 2021


    Date: Monday, November 29, 2021 @ 19:24:05
  Author: arojas
Revision: 429473

archrelease: copy trunk to extra-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 19:23:52 UTC (rev 429472)
+++ PKGBUILD	2021-11-29 19:24:05 UTC (rev 429473)
@@ -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=21.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=('bad555b8b8faa60992aad779e9c9af27b132a894d4d3e59fb65f423770b31f278f5966127ca7cdcf42184cefe0c7d6fa94b84482d0e97089031e4e508d77c424')
-
-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 429472, pyopenssl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-29 19:24:05 UTC (rev 429473)
@@ -0,0 +1,41 @@
+# 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')
+pkgver=21.0.0
+pkgrel=2
+arch=('any')
+pkgdesc="Python3 wrapper module around the OpenSSL library"
+url='https://github.com/pyca/pyopenssl'
+license=('Apache')
+depends=('openssl' 'python' 'python-six' 'python-cryptography')
+replaces=('pyopenssl')
+provides=('pyopenssl')
+conflicts=('pyopenssl')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pretend' 'python-flaky')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/pyca/pyopenssl/archive/${pkgver}.tar.gz)
+sha512sums=('bad555b8b8faa60992aad779e9c9af27b132a894d4d3e59fb65f423770b31f278f5966127ca7cdcf42184cefe0c7d6fa94b84482d0e97089031e4e508d77c424')
+
+prepare() {
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/pyopenssl-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/pyopenssl-$pkgver
+  python setup.py pytest || warning "Tests failed due to missing SSLv3_METHOD"
+}
+
+package_python-pyopenssl() {
+  cd pyopenssl-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list