packages/python-certipy/PKGBUILD
Anthony Wang 667f8d8639 Add 'python-certipy/' from commit '39bd2ea996d24b7d034f3ce25e96d8369945f383'
git-subtree-dir: python-certipy
git-subtree-mainline: 9625adc488
git-subtree-split: 39bd2ea996
2023-11-11 19:10:42 -05:00

34 lines
879 B
Bash

# Maintainer: Anthony Wang <ta180m@pm.me>
# Contributor: Tommy Li <ttoo74@gmail.com>
pkgname=python-certipy
_name=${pkgname#python-}
pkgver=0.1.3
pkgrel=2
pkgdesc="A simple python tool for creating certificate authorities and certificates on the fly"
arch=(any)
url="https://github.com/LLNL/certipy"
license=('BSD')
depends=("python" "python-pyopenssl")
makedepends=("python-pypandoc" "python-setuptools")
checkdepends=()
optdepends=()
options=()
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('695704b7716b033375c9a1324d0d30f27110a28895c40151a90ec07ff1032859')
prepare() {
# fix permission error
chmod -R u+rwX,go+rX,go-w "$_name-$pkgver"
}
build() {
cd "$_name-$pkgver"
python setup.py build
}
package() {
cd "$_name-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}