mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +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
33 lines
942 B
Text
33 lines
942 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-josepy
|
|
_pkgname=josepy
|
|
pkgver=1.13.0
|
|
pkgrel=3
|
|
pkgdesc="JOSE protocol implementation in Python"
|
|
url="https://github.com/certbot/josepy"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="py3-cryptography py3-openssl py3-setuptools"
|
|
makedepends="libffi-dev python3-dev"
|
|
source="$_pkgname-$pkgver.tar.gz::https://github.com/certbot/josepy/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces=py-josepy # Backwards compatibility
|
|
provides=py-josepy=$pkgver-r$pkgrel # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py check
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
d521467a9366f9a3d580c2c438274533d65d7eeb35869d7c7c600df5dcce9391e7f88f497d5fe74dbbc10490718745df52ece3bd41996a23d025ad0f96f4bab5 josepy-1.13.0.tar.gz
|
|
"
|