[arch-commits] Commit in pyopenssl/repos/staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Nov 3 12:24:37 UTC 2019
Date: Sunday, November 3, 2019 @ 12:24:37
Author: felixonmars
Revision: 366538
archrelease: copy trunk to staging-any
Added:
pyopenssl/repos/staging-any/PKGBUILD
(from rev 366537, pyopenssl/trunk/PKGBUILD)
Deleted:
pyopenssl/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-03 12:24:14 UTC (rev 366537)
+++ PKGBUILD 2019-11-03 12:24:37 UTC (rev 366538)
@@ -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.0.0
-pkgrel=2
-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=('beca6ac2e1c6a1679159cba00bc7e5a574bacd4b420b44ed1d47c965907f513fd32451aede8b29171718c25c783fe9678cfcedff04639f8b525db717d8e90475')
-
-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/staging-any/PKGBUILD (from rev 366537, pyopenssl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-03 12:24:37 UTC (rev 366538)
@@ -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=19.0.0
+pkgrel=3
+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=('beca6ac2e1c6a1679159cba00bc7e5a574bacd4b420b44ed1d47c965907f513fd32451aede8b29171718c25c783fe9678cfcedff04639f8b525db717d8e90475')
+
+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