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

Felix Yan felixonmars at gemini.archlinux.org
Mon Feb 14 13:50:07 UTC 2022


    Date: Monday, February 14, 2022 @ 13:50:06
  Author: felixonmars
Revision: 437189

archrelease: copy trunk to testing-any

Added:
  python-pyopenssl/repos/testing-any/
  python-pyopenssl/repos/testing-any/PKGBUILD
    (from rev 437188, python-pyopenssl/trunk/PKGBUILD)

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

Copied: python-pyopenssl/repos/testing-any/PKGBUILD (from rev 437188, python-pyopenssl/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2022-02-14 13:50:06 UTC (rev 437189)
@@ -0,0 +1,37 @@
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=python-pyopenssl
+pkgver=22.0.0
+pkgrel=1
+arch=('any')
+pkgdesc="Python3 wrapper module around the OpenSSL library"
+url='https://github.com/pyca/pyopenssl'
+license=('Apache')
+depends=('python-cryptography')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pretend' 'python-flaky')
+source=(https://github.com/pyca/pyopenssl/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('9e2aabdc4591662520320a22f75a3fa2d68576508f4c87a5a03ab1f14e02b099fbd054d72212ca6e780ee0146aae142365f7f79ec38557ceba0062ea72ee2178')
+
+prepare() {
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd pyopenssl-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pyopenssl-$pkgver
+  PYTHONPATH="$PWD"/build/lib pytest
+}
+
+package() {
+  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