mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
34 lines
947 B
Text
34 lines
947 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py3-openssl
|
|
_pkgname=pyOpenSSL
|
|
pkgver=23.0.0
|
|
pkgrel=0
|
|
pkgdesc="Python3 wrapper module around the OpenSSL library"
|
|
url="https://github.com/pyca/pyopenssl"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="python3 py3-cryptography"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
options="!check" # depends on flaky
|
|
|
|
replaces="py-openssl" # Backwards compatibility
|
|
provides="py-openssl=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
68c42de58305461606d9fb932a7711775cfcf1a7c5dbe900b2c7ba18eab546d4c37fcd3dd82ab2c18b15eb07bef126534473b5b29f8af4f46e0147d45ac9e64b pyOpenSSL-23.0.0.tar.gz
|
|
"
|