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

Evangelos Foutras foutrelis at gemini.archlinux.org
Mon Nov 29 22:19:43 UTC 2021


    Date: Monday, November 29, 2021 @ 22:19:42
  Author: foutrelis
Revision: 429511

archrelease: copy trunk to staging-any

Added:
  pyopenssl/repos/staging-any/
  pyopenssl/repos/staging-any/PKGBUILD
    (from rev 429510, pyopenssl/trunk/PKGBUILD)

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

Copied: pyopenssl/repos/staging-any/PKGBUILD (from rev 429510, pyopenssl/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-11-29 22:19:42 UTC (rev 429511)
@@ -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=3
+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