mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-02 01:11:31 +01: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
29 lines
767 B
Plaintext
29 lines
767 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=py3-pem
|
|
pkgver=21.2.0
|
|
pkgrel=3
|
|
pkgdesc="Easy PEM file parsing"
|
|
url="https://pem.readthedocs.io/en/stable/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-twisted"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-certifi py3-openssl py3-pretend"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/hynek/pem/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/pem-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/build/lib" py.test-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="7e6f6d46bd1c8ab5c84b0edee182fbec7ae3c37e2005854ff1bc6f43cb47490a1f3bb0ac97cbc9e8c0ff830d4f22fcddd52f68206452a16ba862354a75491b18 py3-pem-21.2.0.tar.gz"
|