[arch-commits] Commit in pyopenssl/repos/testing-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Nov 27 23:33:33 UTC 2020
Date: Friday, November 27, 2020 @ 23:33:33
Author: felixonmars
Revision: 402342
archrelease: copy trunk to testing-any
Added:
pyopenssl/repos/testing-any/PKGBUILD
(from rev 402341, pyopenssl/trunk/PKGBUILD)
Deleted:
pyopenssl/repos/testing-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-27 23:33:16 UTC (rev 402341)
+++ PKGBUILD 2020-11-27 23:33:33 UTC (rev 402342)
@@ -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=19.1.0
-pkgrel=4
-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=('ab92d428639f1b819457ca8c62d8ab45a107366aeac2ae1e70e9fba2ac2a627cd7e81f84c1e63b09c5176b4e4520e66fa41e19a10d1aeecb731cf5759435d483')
-
-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/testing-any/PKGBUILD (from rev 402341, pyopenssl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-27 23:33:33 UTC (rev 402342)
@@ -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.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:
More information about the arch-commits
mailing list