Add 'python-certipy/' from commit '39bd2ea996d24b7d034f3ce25e96d8369945f383'

git-subtree-dir: python-certipy
git-subtree-mainline: 9625adc488
git-subtree-split: 39bd2ea996
This commit is contained in:
Anthony Wang 2023-11-11 19:10:42 -05:00
commit 667f8d8639
2 changed files with 49 additions and 0 deletions

15
python-certipy/.SRCINFO Normal file
View file

@ -0,0 +1,15 @@
pkgbase = python-certipy
pkgdesc = A simple python tool for creating certificate authorities and certificates on the fly
pkgver = 0.1.3
pkgrel = 2
url = https://github.com/LLNL/certipy
arch = any
license = BSD
makedepends = python-pypandoc
makedepends = python-setuptools
depends = python
depends = python-pyopenssl
source = https://files.pythonhosted.org/packages/source/c/certipy/certipy-0.1.3.tar.gz
sha256sums = 695704b7716b033375c9a1324d0d30f27110a28895c40151a90ec07ff1032859
pkgname = python-certipy

34
python-certipy/PKGBUILD Normal file
View file

@ -0,0 +1,34 @@
# 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
}